summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2017-06-28 15:46:04 +0700
committerAndrey Grozin <grozin@gentoo.org>2017-06-28 15:46:04 +0700
commit59ccf69f735ee24b8f705d70c727fdb2ad08f50f (patch)
tree60212fbe6cb2099972d560aa982b9ed4d630f232 /media-gfx/asymptote/files
parentapp-crypt/eid-mw: version bump 4.2.8 (diff)
downloadgentoo-59ccf69f735ee24b8f705d70c727fdb2ad08f50f.tar.gz
gentoo-59ccf69f735ee24b8f705d70c727fdb2ad08f50f.tar.bz2
gentoo-59ccf69f735ee24b8f705d70c727fdb2ad08f50f.zip
media-gfx/asymptote: bump to 2.41
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-gfx/asymptote/files')
-rw-r--r--media-gfx/asymptote/files/asymptote-2.41-configure-ac.patch13
-rw-r--r--media-gfx/asymptote/files/asymptote-2.41-info.patch13
-rw-r--r--media-gfx/asymptote/files/asymptote-2.41-xdg-utils.patch23
3 files changed, 49 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-2.41-configure-ac.patch b/media-gfx/asymptote/files/asymptote-2.41-configure-ac.patch
new file mode 100644
index 000000000000..984ec7c2e951
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.41-configure-ac.patch
@@ -0,0 +1,13 @@
+Index: asymptote-2.41/configure.ac
+===================================================================
+--- asymptote-2.41.orig/configure.ac
++++ asymptote-2.41/configure.ac
+@@ -159,7 +159,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.41-info.patch b/media-gfx/asymptote/files/asymptote-2.41-info.patch
new file mode 100644
index 000000000000..f1dc4309aa8c
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.41-info.patch
@@ -0,0 +1,13 @@
+Index: asymptote-2.41/doc/asymptote.texi
+===================================================================
+--- asymptote-2.41.orig/doc/asymptote.texi
++++ asymptote-2.41/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.41-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.41-xdg-utils.patch
new file mode 100644
index 000000000000..7f9b33440352
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.41-xdg-utils.patch
@@ -0,0 +1,23 @@
+Index: asymptote-2.41/settings.cc
+===================================================================
+--- asymptote-2.41.orig/settings.cc
++++ asymptote-2.41/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="/";