From 3a1b2781c144b20e24b0915aaf7222660858d36c Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Wed, 27 Dec 2017 09:59:24 +0100 Subject: media-gfx/asymtote: remove unused patches Closes: https://github.com/gentoo/gentoo/pull/6654 --- .../files/asymptote-2.32-configure-ac.patch | 32 ---------------------- .../files/asymptote-2.32-ghostscript-9.15.patch | 24 ---------------- .../asymptote/files/asymptote-2.32-info.patch | 13 --------- .../asymptote/files/asymptote-2.32-xdg-utils.patch | 23 ---------------- 4 files changed, 92 deletions(-) delete mode 100644 media-gfx/asymptote/files/asymptote-2.32-configure-ac.patch delete mode 100644 media-gfx/asymptote/files/asymptote-2.32-ghostscript-9.15.patch delete mode 100644 media-gfx/asymptote/files/asymptote-2.32-info.patch delete mode 100644 media-gfx/asymptote/files/asymptote-2.32-xdg-utils.patch (limited to 'media-gfx/asymptote') diff --git a/media-gfx/asymptote/files/asymptote-2.32-configure-ac.patch b/media-gfx/asymptote/files/asymptote-2.32-configure-ac.patch deleted file mode 100644 index 597e915539be..000000000000 --- a/media-gfx/asymptote/files/asymptote-2.32-configure-ac.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: asymptote-2.32/configure.ac -=================================================================== ---- asymptote-2.32.orig/configure.ac -+++ asymptote-2.32/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.32-ghostscript-9.15.patch b/media-gfx/asymptote/files/asymptote-2.32-ghostscript-9.15.patch deleted file mode 100644 index aa826c5c251f..000000000000 --- a/media-gfx/asymptote/files/asymptote-2.32-ghostscript-9.15.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -r -U2 asymptote-2.32.orig/runlabel.in asymptote-2.32/runlabel.in ---- asymptote-2.32.orig/runlabel.in 2014-05-22 23:11:47.000000000 +0700 -+++ asymptote-2.32/runlabel.in 2015-01-11 21:41:30.268889133 +0600 -@@ -112,5 +112,5 @@ - const string null="/dev/null"; - #endif -- cmd.push_back("-sDEVICE=epswrite"); -+ cmd.push_back("-sDEVICE=eps2write"); - cmd.push_back("-sOutputFile="+null); - cmd.push_back(stripDir(psname)); -@@ -310,5 +310,5 @@ - cmd.push_back("-dBATCH"); - if(safe) cmd.push_back("-dSAFER"); -- cmd.push_back("-sDEVICE=epswrite"); -+ cmd.push_back("-sDEVICE=eps2write"); - cmd.push_back("-sOutputFile=-"); - cmd.push_back(pdfname); -@@ -399,5 +399,5 @@ - cmd2.push_back("-P"); - if(safe) cmd2.push_back("-dSAFER"); -- cmd2.push_back("-sDEVICE=epswrite"); -+ cmd2.push_back("-sDEVICE=eps2write"); - cmd2.push_back("-sOutputFile=-"); - cmd2.push_back("-"); diff --git a/media-gfx/asymptote/files/asymptote-2.32-info.patch b/media-gfx/asymptote/files/asymptote-2.32-info.patch deleted file mode 100644 index 8a1e3f464231..000000000000 --- a/media-gfx/asymptote/files/asymptote-2.32-info.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: asymptote-2.32/doc/asymptote.texi -=================================================================== ---- asymptote-2.32.orig/doc/asymptote.texi -+++ asymptote-2.32/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.32-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.32-xdg-utils.patch deleted file mode 100644 index 2ac59e59f058..000000000000 --- a/media-gfx/asymptote/files/asymptote-2.32-xdg-utils.patch +++ /dev/null @@ -1,23 +0,0 @@ -Index: asymptote-2.32/settings.cc -=================================================================== ---- asymptote-2.32.orig/settings.cc -+++ asymptote-2.32/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="/"; -- cgit v1.2.3