summaryrefslogtreecommitdiff
path: root/editors/TeXmacs/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-08-31 10:05:58 +0000
committerdrochner <drochner@pkgsrc.org>2007-08-31 10:05:58 +0000
commit7e78d5e82844fa0da578486bd3141e64a7d8f278 (patch)
tree7a96034d7fd3de7b636bd344c41a3875cc60f85b /editors/TeXmacs/patches
parent9afde69d0c1016e49ec57158b2c3588757bfc47c (diff)
downloadpkgsrc-7e78d5e82844fa0da578486bd3141e64a7d8f278.tar.gz
make the maxima plugin work with 5.13, bump PKGREVISION
Diffstat (limited to 'editors/TeXmacs/patches')
-rw-r--r--editors/TeXmacs/patches/patch-ai17
-rw-r--r--editors/TeXmacs/patches/patch-ak13
2 files changed, 28 insertions, 2 deletions
diff --git a/editors/TeXmacs/patches/patch-ai b/editors/TeXmacs/patches/patch-ai
index cbf8777cd03..b64a93b98e6 100644
--- a/editors/TeXmacs/patches/patch-ai
+++ b/editors/TeXmacs/patches/patch-ai
@@ -1,6 +1,6 @@
-$NetBSD: patch-ai,v 1.3 2006/08/11 18:05:12 drochner Exp $
+$NetBSD: patch-ai,v 1.4 2007/08/31 10:05:59 drochner Exp $
---- plugins/maxima/bin/maxima_detect.orig 2006-08-06 18:31:00.000000000 +0200
+--- plugins/maxima/bin/maxima_detect.orig 2007-05-15 19:54:34.000000000 +0200
+++ plugins/maxima/bin/maxima_detect
@@ -40,7 +40,7 @@ PATH="/cygdrive/c/Program Files/Maxima-5
PATH="/cygdrive/c/Program Files/Maxima-5.9.3/bin:$PATH"
@@ -11,3 +11,16 @@ $NetBSD: patch-ai,v 1.3 2006/08/11 18:05:12 drochner Exp $
if [ $? -eq 0 ]
then
if [ -f "/usr/bin/cygwin1.dll" ]
+@@ -64,9 +64,10 @@ version 5.9.2
+ version 5.9.3
+ version 5.10
+ version 5.11
+-version 5.12" >/dev/null
++version 5.12
++version 5.13" >/dev/null
+ then
+- # 5.9.1 or 5.9.2 or 5.9.3 or 5.10 or 5.11 or 5.12
++ # 5.9.1 or 5.9.2 or 5.9.3 or 5.10 or 5.11 or 5.12 or 5.13
+ maxima -d | grep -F 'maxima-htmldir=' | sed -e \
+ 's/maxima-htmldir=/"/' -e 's|$|/maxima_toc.html"|'
+ else
diff --git a/editors/TeXmacs/patches/patch-ak b/editors/TeXmacs/patches/patch-ak
new file mode 100644
index 00000000000..f9d2272b1bc
--- /dev/null
+++ b/editors/TeXmacs/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2007/08/31 10:05:59 drochner Exp $
+
+--- plugins/maxima/bin/tm_maxima.orig 2007-08-31 11:50:20.000000000 +0200
++++ plugins/maxima/bin/tm_maxima
+@@ -20,7 +20,7 @@ case $1 in
+ 5.9.1) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.9.1.lisp";;
+ 5.9.1.1* | 5.9.2* | 5.9.3*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.9.2.lisp";;
+ 5.10.*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.10.0.lisp";;
+- 5.11.* | 5.12.*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.11.0.lisp";;
++ 5.11.* | 5.12.* | 5.13.*) exec maxima -u $1 -l $2 -p "$TEXMACS_MAXIMA_PATH/texmacs-maxima-5.11.0.lisp";;
+ cygwin)
+ CYGWIN_ROOT="C:\cygwin"
+ CYGWIN_TEXMACS_HOME=`echo $TEXMACS_HOME_PATH | sed 's|/|\\\\|g'`