diff options
Diffstat (limited to 'media-gfx/asymptote/files')
3 files changed, 49 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-2.38-configure-ac.patch b/media-gfx/asymptote/files/asymptote-2.38-configure-ac.patch new file mode 100644 index 00000000000..3acff863dad --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-2.38-configure-ac.patch @@ -0,0 +1,13 @@ +Index: asymptote-2.38/configure.ac +=================================================================== +--- asymptote-2.38.orig/configure.ac ++++ asymptote-2.38/configure.ac +@@ -156,7 +156,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then + fi + CPPFLAGS_SAVE=$CPPFLAGS + CPPFLAGS=$CPPFLAGS" $INCL" +- AC_CHECK_HEADER(gc.h, ++ AC_CHECK_HEADER([gc/gc.h], + AC_CHECK_LIB([gc],[GC_malloc],[ + LIBS=$LIBS"-lgc " + AC_MSG_NOTICE([enabling system $GCNAME])],[ diff --git a/media-gfx/asymptote/files/asymptote-2.38-info.patch b/media-gfx/asymptote/files/asymptote-2.38-info.patch new file mode 100644 index 00000000000..7005f152518 --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-2.38-info.patch @@ -0,0 +1,13 @@ +Index: asymptote-2.38/doc/asymptote.texi +=================================================================== +--- asymptote-2.38.orig/doc/asymptote.texi ++++ asymptote-2.38/doc/asymptote.texi +@@ -21,7 +21,7 @@ file LICENSE in the top-level source dir + + @dircategory Languages + @direntry +-* asymptote: (asymptote/asymptote). Vector graphics language. ++* asymptote: (asymptote). Vector graphics language. + @end direntry + + @titlepage diff --git a/media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch new file mode 100644 index 00000000000..044244e4008 --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-2.38-xdg-utils.patch @@ -0,0 +1,23 @@ +Index: asymptote-2.38/settings.cc +=================================================================== +--- asymptote-2.38.orig/settings.cc ++++ asymptote-2.38/settings.cc +@@ -91,15 +91,15 @@ bool msdos=false; + string HOME="HOME"; + string docdir=ASYMPTOTE_DOCDIR; + const char pathSeparator=':'; +-string defaultPSViewer="gv"; ++string defaultPSViewer="xdg-open"; + #ifdef __APPLE__ + string defaultPDFViewer="open"; + #else +-string defaultPDFViewer="acroread"; ++string defaultPDFViewer="xdg-open"; + #endif + string defaultGhostscript="gs"; + string defaultGhostscriptLibrary="/usr/lib/libgs.so"; +-string defaultDisplay="display"; ++string defaultDisplay="xdg-open"; + string defaultAnimate="animate"; + void queryRegistry() {} + const string dirsep="/"; |