summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2015-12-23 20:52:01 +0600
committerAndrey Grozin <grozin@gentoo.org>2015-12-23 20:54:31 +0600
commit60f2c8e147bdd35fa3bb50e94ce8736547e701fb (patch)
tree22a709883dce52a7c1185780ced5fc565b83c25f /media-gfx/asymptote/files
parentprofiles: Unmask sci-mathematics/maxima-5.37.3-r3. (diff)
downloadgentoo-60f2c8e147bdd35fa3bb50e94ce8736547e701fb.tar.gz
gentoo-60f2c8e147bdd35fa3bb50e94ce8736547e701fb.tar.bz2
gentoo-60f2c8e147bdd35fa3bb50e94ce8736547e701fb.zip
media-gfx/asymptote: bump to 2.35
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-gfx/asymptote/files')
-rw-r--r--media-gfx/asymptote/files/asymptote-2.35-configure-ac.patch32
-rw-r--r--media-gfx/asymptote/files/asymptote-2.35-info.patch13
-rw-r--r--media-gfx/asymptote/files/asymptote-2.35-xdg-utils.patch23
3 files changed, 68 insertions, 0 deletions
diff --git a/media-gfx/asymptote/files/asymptote-2.35-configure-ac.patch b/media-gfx/asymptote/files/asymptote-2.35-configure-ac.patch
new file mode 100644
index 000000000000..03040c7a58b9
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.35-configure-ac.patch
@@ -0,0 +1,32 @@
+Index: asymptote-2.35/configure.ac
+===================================================================
+--- asymptote-2.35.orig/configure.ac
++++ asymptote-2.35/configure.ac
+@@ -158,7 +158,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])],[
+@@ -232,7 +232,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.35-info.patch b/media-gfx/asymptote/files/asymptote-2.35-info.patch
new file mode 100644
index 000000000000..b3a3e9800fe9
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.35-info.patch
@@ -0,0 +1,13 @@
+Index: asymptote-2.35/doc/asymptote.texi
+===================================================================
+--- asymptote-2.35.orig/doc/asymptote.texi
++++ asymptote-2.35/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.35-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.35-xdg-utils.patch
new file mode 100644
index 000000000000..dbc4564c83d0
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-2.35-xdg-utils.patch
@@ -0,0 +1,23 @@
+Index: asymptote-2.35/settings.cc
+===================================================================
+--- asymptote-2.35.orig/settings.cc
++++ asymptote-2.35/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="/";