Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/asymptote/files/
Date: Wed, 27 Dec 2017 18:40:56
Message-Id: 1514400040.3a1b2781c144b20e24b0915aaf7222660858d36c.soap@gentoo
1 commit: 3a1b2781c144b20e24b0915aaf7222660858d36c
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Dec 27 08:59:24 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 27 18:40:40 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a1b2781
7
8 media-gfx/asymtote: remove unused patches
9
10 Closes: https://github.com/gentoo/gentoo/pull/6654
11
12 .../files/asymptote-2.32-configure-ac.patch | 32 ----------------------
13 .../files/asymptote-2.32-ghostscript-9.15.patch | 24 ----------------
14 .../asymptote/files/asymptote-2.32-info.patch | 13 ---------
15 .../asymptote/files/asymptote-2.32-xdg-utils.patch | 23 ----------------
16 4 files changed, 92 deletions(-)
17
18 diff --git a/media-gfx/asymptote/files/asymptote-2.32-configure-ac.patch b/media-gfx/asymptote/files/asymptote-2.32-configure-ac.patch
19 deleted file mode 100644
20 index 597e915539b..00000000000
21 --- a/media-gfx/asymptote/files/asymptote-2.32-configure-ac.patch
22 +++ /dev/null
23 @@ -1,32 +0,0 @@
24 -Index: asymptote-2.32/configure.ac
25 -===================================================================
26 ---- asymptote-2.32.orig/configure.ac
27 -+++ asymptote-2.32/configure.ac
28 -@@ -158,7 +158,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then
29 - fi
30 - CPPFLAGS_SAVE=$CPPFLAGS
31 - CPPFLAGS=$CPPFLAGS" $INCL"
32 -- AC_CHECK_HEADER(gc.h,
33 -+ AC_CHECK_HEADER([gc/gc.h],
34 - AC_CHECK_LIB([gc],[GC_malloc],[
35 - LIBS=$LIBS"-lgc "
36 - AC_MSG_NOTICE([enabling system $GCNAME])],[
37 -@@ -232,7 +232,17 @@ AC_MSG_ERROR([*** Please install libm on
38 - AC_CHECK_LIB([z], [deflate],,
39 - AC_MSG_ERROR([*** Please install libz or zlib-devel on your system ***]))
40 - AX_PTHREAD
41 --AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler])
42 -+
43 -+AC_ARG_WITH(sigsegv,
44 -+ [ --with-sigsegv use libsigsegv],
45 -+ [with_sigsegv=$withval],
46 -+ [with_sigsegv="no"])
47 -+if test "$with_sigsegv" = "yes"; then
48 -+AC_CHECK_HEADER([sigsegv.h],
49 -+ AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]),
50 -+ AC_MSG_NOTICE([*** Header file sigsegv.h not found ***]))
51 -+fi
52 -+
53 - AC_CHECK_LIB([rt], [sched_yield])
54 -
55 - AC_ARG_ENABLE(readline,
56
57 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
58 deleted file mode 100644
59 index aa826c5c251..00000000000
60 --- a/media-gfx/asymptote/files/asymptote-2.32-ghostscript-9.15.patch
61 +++ /dev/null
62 @@ -1,24 +0,0 @@
63 -diff -r -U2 asymptote-2.32.orig/runlabel.in asymptote-2.32/runlabel.in
64 ---- asymptote-2.32.orig/runlabel.in 2014-05-22 23:11:47.000000000 +0700
65 -+++ asymptote-2.32/runlabel.in 2015-01-11 21:41:30.268889133 +0600
66 -@@ -112,5 +112,5 @@
67 - const string null="/dev/null";
68 - #endif
69 -- cmd.push_back("-sDEVICE=epswrite");
70 -+ cmd.push_back("-sDEVICE=eps2write");
71 - cmd.push_back("-sOutputFile="+null);
72 - cmd.push_back(stripDir(psname));
73 -@@ -310,5 +310,5 @@
74 - cmd.push_back("-dBATCH");
75 - if(safe) cmd.push_back("-dSAFER");
76 -- cmd.push_back("-sDEVICE=epswrite");
77 -+ cmd.push_back("-sDEVICE=eps2write");
78 - cmd.push_back("-sOutputFile=-");
79 - cmd.push_back(pdfname);
80 -@@ -399,5 +399,5 @@
81 - cmd2.push_back("-P");
82 - if(safe) cmd2.push_back("-dSAFER");
83 -- cmd2.push_back("-sDEVICE=epswrite");
84 -+ cmd2.push_back("-sDEVICE=eps2write");
85 - cmd2.push_back("-sOutputFile=-");
86 - cmd2.push_back("-");
87
88 diff --git a/media-gfx/asymptote/files/asymptote-2.32-info.patch b/media-gfx/asymptote/files/asymptote-2.32-info.patch
89 deleted file mode 100644
90 index 8a1e3f46423..00000000000
91 --- a/media-gfx/asymptote/files/asymptote-2.32-info.patch
92 +++ /dev/null
93 @@ -1,13 +0,0 @@
94 -Index: asymptote-2.32/doc/asymptote.texi
95 -===================================================================
96 ---- asymptote-2.32.orig/doc/asymptote.texi
97 -+++ asymptote-2.32/doc/asymptote.texi
98 -@@ -21,7 +21,7 @@ file LICENSE in the top-level source dir
99 -
100 - @dircategory Languages
101 - @direntry
102 --* asymptote: (asymptote/asymptote). Vector graphics language.
103 -+* asymptote: (asymptote). Vector graphics language.
104 - @end direntry
105 -
106 - @titlepage
107
108 diff --git a/media-gfx/asymptote/files/asymptote-2.32-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-2.32-xdg-utils.patch
109 deleted file mode 100644
110 index 2ac59e59f05..00000000000
111 --- a/media-gfx/asymptote/files/asymptote-2.32-xdg-utils.patch
112 +++ /dev/null
113 @@ -1,23 +0,0 @@
114 -Index: asymptote-2.32/settings.cc
115 -===================================================================
116 ---- asymptote-2.32.orig/settings.cc
117 -+++ asymptote-2.32/settings.cc
118 -@@ -90,15 +90,15 @@ bool msdos=false;
119 - string HOME="HOME";
120 - string docdir=ASYMPTOTE_DOCDIR;
121 - const char pathSeparator=':';
122 --string defaultPSViewer="gv";
123 -+string defaultPSViewer="xdg-open";
124 - #ifdef __APPLE__
125 - string defaultPDFViewer="open";
126 - #else
127 --string defaultPDFViewer="acroread";
128 -+string defaultPDFViewer="xdg-open";
129 - #endif
130 - string defaultGhostscript="gs";
131 - string defaultGhostscriptLibrary="/usr/lib/libgs.so";
132 --string defaultDisplay="display";
133 -+string defaultDisplay="xdg-open";
134 - string defaultAnimate="animate";
135 - void queryRegistry() {}
136 - const string dirsep="/";