summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2016-02-14 03:33:46 +0600
committerAndrey Grozin <grozin@gentoo.org>2016-02-14 03:33:46 +0600
commit400077d5778ecfb7926b35547d346b4df1ac0e14 (patch)
tree91aa067b1994118989e80a3ee06aab01cf994197 /media-gfx/asymptote/files
parentdev-libs/boehm-gc: workaround ia64 build failure #574566 (diff)
downloadgentoo-400077d5778ecfb7926b35547d346b4df1ac0e14.tar.gz
gentoo-400077d5778ecfb7926b35547d346b4df1ac0e14.tar.bz2
gentoo-400077d5778ecfb7926b35547d346b4df1ac0e14.zip
media-gfx/asymptote: version bump
Compatible with sci-libs/gsl-2.1 Bug: 574622 Package-Manager: portage-2.2.27
Diffstat (limited to 'media-gfx/asymptote/files')
-rw-r--r--media-gfx/asymptote/files/asymptote-2.36-configure-ac.patch32
-rw-r--r--media-gfx/asymptote/files/asymptote-2.36-info.patch13
-rw-r--r--media-gfx/asymptote/files/asymptote-2.36-xdg-utils.patch23
3 files changed, 68 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-2.36-configure-ac.patch b/media-gfx/asymptote/files/asymptote-2.36-configure-ac.patch
new file mode 100644
index 000000000000..ea8bc4525d22
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.36-configure-ac.patch
@@ -0,0 +1,32 @@
+Index: asymptote-2.36/configure.ac
+===================================================================
+--- asymptote-2.36.orig/configure.ac
++++ asymptote-2.36/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])],[
+@@ -231,7 +231,17 @@ AC_MSG_ERROR([*** Please install libm on
+ AC_CHECK_LIB([z], [deflate],,
+ AC_MSG_ERROR([*** Please install libz or zlib-devel on your system ***]))
+ AX_PTHREAD
+-AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler])
++
++AC_ARG_WITH(sigsegv,
++ [ --with-sigsegv use libsigsegv],
++ [with_sigsegv=$withval],
++ [with_sigsegv="no"])
++if test "$with_sigsegv" = "yes"; then
++AC_CHECK_HEADER([sigsegv.h],
++ AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]),
++ AC_MSG_NOTICE([*** Header file sigsegv.h not found ***]))
++fi
++
+ AC_CHECK_LIB([rt], [sched_yield])
+
+ AC_ARG_ENABLE(readline,
diff --git a/media-gfx/asymptote/files/asymptote-2.36-info.patch b/media-gfx/asymptote/files/asymptote-2.36-info.patch
new file mode 100644
index 000000000000..950732838e38
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.36-info.patch
@@ -0,0 +1,13 @@
+Index: asymptote-2.36/doc/asymptote.texi
+===================================================================
+--- asymptote-2.36.orig/doc/asymptote.texi
++++ asymptote-2.36/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.36-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.36-xdg-utils.patch
new file mode 100644
index 000000000000..4763a52084e5
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.36-xdg-utils.patch
@@ -0,0 +1,23 @@
+Index: asymptote-2.36/settings.cc
+===================================================================
+--- asymptote-2.36.orig/settings.cc
++++ asymptote-2.36/settings.cc
+@@ -90,15 +90,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="/";