[maxima/f18] wxmaxima_compat patch
Rex Dieter
rdieter at fedoraproject.org
Sun Dec 9 00:15:51 UTC 2012
commit df789c1810cf25415067d13d81a74c81ec5f3d56
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Sat Dec 8 18:15:52 2012 -0600
wxmaxima_compat patch
maxima-5.29.0-wxmaxima_compat.patch | 11 +++++++++++
maxima.spec | 9 ++++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/maxima-5.29.0-wxmaxima_compat.patch b/maxima-5.29.0-wxmaxima_compat.patch
new file mode 100644
index 0000000..1fd6a80
--- /dev/null
+++ b/maxima-5.29.0-wxmaxima_compat.patch
@@ -0,0 +1,11 @@
+diff -up maxima-5.29.0/src/displa.lisp.wxmaxima_compat maxima-5.29.0/src/displa.lisp
+--- maxima-5.29.0/src/displa.lisp.wxmaxima_compat 2012-12-03 01:20:18.000000000 -0600
++++ maxima-5.29.0/src/displa.lisp 2012-12-08 18:12:40.500994027 -0600
+@@ -1128,6 +1128,7 @@
+ (dimension-nary form result)))
+
+ (displa-def mlabel dim-mlabel 0 0)
++(setf (get 'mlabel 'wxxml) 'wxxml-mlable) ;; backwards-compatibility for wxMaxima
+
+ (defvar *display-labels-p* t)
+
diff --git a/maxima.spec b/maxima.spec
index 8d330fc..59a8a32 100644
--- a/maxima.spec
+++ b/maxima.spec
@@ -8,7 +8,7 @@ Summary: Symbolic Computation Program
Name: maxima
Version: 5.29.0
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2
Group: Applications/Engineering
URL: http://maxima.sourceforge.net/
@@ -22,6 +22,9 @@ ExclusiveArch: %{ix86} x86_64 ppc sparcv9
# https://sourceforge.net/tracker/?func=detail&aid=3539587&group_id=4933&atid=104933
Patch50: maxima-5.28.0-clisp-noreadline.patch
+## upstream patches
+Patch100: maxima-5.29.0-wxmaxima_compat.patch
+
%define maxima_ver %{version}%{?beta}
%define emacs_sitelisp %{_datadir}/emacs/site-lisp/
%define xemacs_sitelisp %{_datadir}/xemacs/site-packages/lisp/
@@ -214,6 +217,7 @@ Maxima compiled with Embeddable Common-Lisp (ecl).
%setup -q -n %{name}%{!?cvs:-%{version}%{?beta}}
%patch50 -p1 -b .clisp-noreadline
+%patch100 -p1 -b .wxmaxima_compat
# Extra docs
install -p -m644 %{SOURCE10} .
@@ -461,6 +465,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Dec 08 2012 Rex Dieter <rdieter at fedoraproject.org> 5.29.0-3
+- wxmaxima_compat patch
+
* Sat Dec 08 2012 Rex Dieter <rdieter at fedoraproject.org> 5.29.0-2
- rebuild (sbcl)
More information about the scm-commits
mailing list