Files
macports-ports/tex/EqualX/files/patch-defines.h.diff

32 lines
1.1 KiB
Diff

--- include/defines.h.orig 2014-03-27 01:14:15.000000000 +0800
+++ include/defines.h 2024-01-02 01:10:35.000000000 +0800
@@ -23,7 +23,7 @@
#define APP_FULL_NAME "EqualX - The LaTeX Equation Editor"
#define APP_NAME "EqualX"
#define APP_VERSION "0.7.1"
-#define APP_SITE "http://equalx.sourceforge.net/"
+#define APP_SITE "https://equalx.sourceforge.net/"
#define AUTHOR_NAME "Mihai Niculescu"
#define AUTHOR_EMAIL "q.quark@gmail.com"
@@ -72,15 +72,15 @@
// LATEX
#ifdef UNIX_PLATFORM
-#define DEFAULT_PDFLATEX "/usr/bin/pdflatex"
+#define DEFAULT_PDFLATEX "@PREFIX@/bin/pdflatex"
#define DEFAULT_PDFLATEX_ARGS "-interaction=nonstopmode"
-#define DEFAULT_PDFCAIRO "/usr/bin/pdftocairo"
+#define DEFAULT_PDFCAIRO "@PREFIX@/bin/pdftocairo"
#define DEFAULT_PDFCAIRO_ARGS ""
-#define DEFAULT_GS "/usr/bin/gs"
+#define DEFAULT_GS "@PREFIX@/bin/gs"
#define DEFAULT_GS_ARGS ""
//where to look for symbols.ini and the actual symbols
-#define SYMBOLS_PATH "/usr/share/equalx/resources/symbols"
+#define SYMBOLS_PATH "@PREFIX@/share/equalx/resources/symbols"
#endif
#ifdef WIN_PLATFORM