diff options
Diffstat (limited to 'math/asymptote/files')
-rw-r--r-- | math/asymptote/files/patch-Makefile.in | 16 | ||||
-rw-r--r-- | math/asymptote/files/patch-runtime.in | 11 | ||||
-rw-r--r-- | math/asymptote/files/patch-settings.cc | 10 |
3 files changed, 13 insertions, 24 deletions
diff --git a/math/asymptote/files/patch-Makefile.in b/math/asymptote/files/patch-Makefile.in index 1da5ecf5299d..7c6f1856b867 100644 --- a/math/asymptote/files/patch-Makefile.in +++ b/math/asymptote/files/patch-Makefile.in @@ -1,18 +1,18 @@ ---- Makefile.in.orig 2016-03-14 05:33:18 UTC +--- Makefile.in.orig 2019-10-03 16:43:08 UTC +++ Makefile.in -@@ -88,7 +88,7 @@ datadir = $(DESTDIR)@datadir@ - asydir = $(datadir)/asymptote - GUIdir = $(asydir)/GUI +@@ -97,7 +97,7 @@ GUIdir = $(asydir)/GUI + shaderdir = $(asydir)/shaders + webgldir = $(asydir)/webgl docdir = $(DESTDIR)@docdir@ -exampledir = $(docdir)/examples +exampledir = $(datadir)/examples/asymptote animationsdir = $(exampledir)/animations latexdir = $(DESTDIR)@latexdir@ contextdir = $(DESTDIR)@contextdir@ -@@ -238,7 +238,7 @@ install-asy: asy sty - ${INSTALL} -p -m 644 base/*.asy $(addprefix base/,$(EXTRA)) \ - asy-keywords.el $(asydir) - ${INSTALL} -p -m 755 GUI/*.py $(GUIdir) +@@ -260,7 +260,7 @@ install-asy: asy sty + ${INSTALL} -p -m 644 GUI/configs/*.cson $(GUIdir)/configs + ${INSTALL} -p -m 644 GUI/res/icons.qrc $(GUIdir)/res + ${INSTALL} -p -m 644 GUI/res/icons/*.svg $(GUIdir)/res/icons - ln -sf @datadir@/asymptote/GUI/xasy.py $(bindir)/$(XNAME) + ln -sf ../share/asymptote/GUI/xasy.py $(bindir)/$(XNAME) ${INSTALL} -p -m 644 examples/*.asy $(addprefix examples/,$(EXEXTRA)) \ diff --git a/math/asymptote/files/patch-runtime.in b/math/asymptote/files/patch-runtime.in deleted file mode 100644 index cc77688859b0..000000000000 --- a/math/asymptote/files/patch-runtime.in +++ /dev/null @@ -1,11 +0,0 @@ ---- runtime.in.orig 2018-06-03 13:52:26 UTC -+++ runtime.in -@@ -85,7 +85,7 @@ stringarray2* => stringArray2() - #include "process.h" - #include "arrayop.h" - --#ifdef __APPLE__ -+#if defined(__APPLE__) || defined(__FreeBSD__) - extern "C" int isnan(double); - #endif - diff --git a/math/asymptote/files/patch-settings.cc b/math/asymptote/files/patch-settings.cc index 0746f38efa69..b14cf2fbc960 100644 --- a/math/asymptote/files/patch-settings.cc +++ b/math/asymptote/files/patch-settings.cc @@ -1,11 +1,11 @@ ---- settings.cc.orig 2016-03-14 05:33:18 UTC +--- settings.cc.orig 2019-10-03 16:43:08 UTC +++ settings.cc -@@ -95,7 +95,7 @@ string defaultPSViewer="gv"; - #ifdef __APPLE__ - string defaultPDFViewer="open"; +@@ -99,7 +99,7 @@ string defaultPDFViewer="open"; + string defaultHTMLViewer="open"; #else + string defaultPSViewer="gv"; -string defaultPDFViewer="acroread"; +string defaultPDFViewer="gv"; + string defaultHTMLViewer="google-chrome"; #endif string defaultGhostscript="gs"; - string defaultGhostscriptLibrary="/usr/lib/libgs.so"; |