commit:     101ebf24046c76fe8cb779a2b8de9ac2904b9598
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Thu Feb 25 17:35:35 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 15:36:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=101ebf24

sci-mathematics/maxima: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/19652
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sci-mathematics/maxima/files/ecls-2.patch      | 35 --------------------------
 sci-mathematics/maxima/files/texinfo-0.patch   | 12 ---------
 sci-mathematics/maxima/files/xdg-utils-0.patch | 35 --------------------------
 3 files changed, 82 deletions(-)

diff --git a/sci-mathematics/maxima/files/ecls-2.patch 
b/sci-mathematics/maxima/files/ecls-2.patch
deleted file mode 100644
index d9af8c373ca..00000000000
--- a/sci-mathematics/maxima/files/ecls-2.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -r -U1 maxima-5.37.1.orig/src/maxima.in maxima-5.37.1/src/maxima.in
---- maxima-5.37.1.orig/src/maxima.in   2015-05-22 04:40:03.000000000 +0600
-+++ maxima-5.37.1/src/maxima.in        2015-09-03 16:33:30.913866985 +0600
-@@ -188,3 +188,3 @@
- elif [ "$MAXIMA_LISP" = "ecl" ]; then
--   exec "$maxima_image_base"  $MAXIMA_LISP_OPTIONS -- "$@"
-+   exec "$maxima_image_base"  $MAXIMA_LISP_OPTIONS -norc -- "$@"
- 
-diff -r -U1 maxima-5.37.1.orig/src/maxima.system 
maxima-5.37.1/src/maxima.system
---- maxima-5.37.1.orig/src/maxima.system       2015-09-01 02:26:13.000000000 
+0600
-+++ maxima-5.37.1/src/maxima.system    2015-09-03 16:42:47.071843596 +0600
-@@ -61,2 +61,10 @@
- #+ecl
-+(defun split-ld-flags-for-ecl (string &aux space)
-+  (setf string (string-trim '(#\Space) string))
-+  (if (setf space (position #\Space string))
-+    (cons (subseq string 0 space)
-+      (split-ld-flags-for-ecl (subseq string (1+ space))))
-+    (cons string nil)))
-+
-+#+ecl
- (defun build-maxima-lib ()
-@@ -77,2 +85,7 @@
-                        files)))
-+      (c::build-fasl "binary-ecl/maxima" :lisp-files obj
-+                     :ld-flags
-+                       (let ((x (symbol-value (find-symbol 
"*AUTOCONF-LD-FLAGS*"
-+                                                           (find-package 
"MAXIMA")))))
-+                         (if (and x (not (string= x ""))) 
(split-ld-flags-for-ecl x))))
-       (c::build-program "binary-ecl/maxima" :lisp-files obj
-@@ -81,3 +94,3 @@
-                                                             (find-package 
"MAXIMA")))))
--                          (if (and x (not (string= x ""))) (list x)))
-+                          (if (and x (not (string= x ""))) 
(split-ld-flags-for-ecl x)))
-                         :epilogue-code '(progn (require :defsystem)

diff --git a/sci-mathematics/maxima/files/texinfo-0.patch 
b/sci-mathematics/maxima/files/texinfo-0.patch
deleted file mode 100644
index 9b8782dffce..00000000000
--- a/sci-mathematics/maxima/files/texinfo-0.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Fix build with texinfo-6.7.
-https://bugs.gentoo.org/697494
-
---- maxima-5.43.0.orig/interfaces/emacs/imaxima/imaxima.texi
-+++ maxima-5.43.0/interfaces/emacs/imaxima/imaxima.texi
-@@ -1,5 +1,6 @@
- \input texinfo                  @c -*-texinfo-*-
- @c %**start of header
-+@documentencoding ISO-8859-1
- @setfilename imaxima.info
- @settitle Imaxima Manual
- @paragraphindent 0

diff --git a/sci-mathematics/maxima/files/xdg-utils-0.patch 
b/sci-mathematics/maxima/files/xdg-utils-0.patch
deleted file mode 100644
index 876fe6fcd46..00000000000
--- a/sci-mathematics/maxima/files/xdg-utils-0.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- interfaces/emacs/misc/bookmode.el.orig     2008-02-07 12:42:18.008472937 
+0000
-+++ interfaces/emacs/misc/bookmode.el  2008-02-07 12:43:02.531010132 +0000
-@@ -680,7 +680,7 @@
-               
-                 (and tem
-                      (list (concat "View "(nth 1 tem))
--                           'call-process  "ghostview" nil nil nil
-+                           'call-process  "xdg-open" nil nil nil
-                            (expand-file-name(nth 1 tem))
-                            ))
-                 (list "Cancel")
-@@ -705,7 +705,7 @@
-                        (concat
-                         (cond ((looking-at "%PS") "")
-                               (t "gzip -dc | "))
--                        "ghostview -")
-+                        "xdg-open -")
-                        
-       )))
-        
---- interfaces/xmaxima/Tkmaxima/Constants.tcl.orig     2008-02-07 
12:42:47.294141832 +0000
-+++ interfaces/xmaxima/Tkmaxima/Constants.tcl  2008-02-07 12:43:02.539010587 
+0000
-@@ -143,9 +143,9 @@
-     image/gif  netmath
-     image/png  netmath
-     image/jpeg netmath
--    application/postscript "ghostview -safer %s"
--    application/pdf "acroread %s"
--    application/x-dvi "xdvi %s"
-+    application/postscript "xdg-open -safer %s"
-+    application/pdf "xdg-open %s"
-+    application/x-dvi "xdg-open %s"
- }
- set maxima_priv(imagecounter) 0
- 

Reply via email to