diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2011-12-19 18:59:17 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2011-12-19 18:59:17 +0000 |
commit | 204919eb78513cf00bce61e25e67ea945f0f59b0 (patch) | |
tree | 3fcabbb8eaf72106b4e49be562a38dfc6f26002d /math/maxima/files | |
parent | Update to 3.10.0 (diff) |
update to 5.26.0; replace some non-standard GNU extensions in sed(1)
calls in the Makefiles and scripts, which were corrupting some of the
html documents (reported by M. Talon)
Notes
Notes:
svn path=/head/; revision=287659
Diffstat (limited to 'math/maxima/files')
-rw-r--r-- | math/maxima/files/patch-doc__info__extract_categories.sh | 16 | ||||
-rw-r--r-- | math/maxima/files/patch-doc__info__extract_categories1.sed | 15 | ||||
-rw-r--r-- | math/maxima/files/patch-doc_info_Makefile.in | 4 |
3 files changed, 33 insertions, 2 deletions
diff --git a/math/maxima/files/patch-doc__info__extract_categories.sh b/math/maxima/files/patch-doc__info__extract_categories.sh new file mode 100644 index 000000000000..5083e06fb3b2 --- /dev/null +++ b/math/maxima/files/patch-doc__info__extract_categories.sh @@ -0,0 +1,16 @@ +--- doc/info/extract_categories.sh.orig 2011-08-01 00:39:51.000000000 -0400 ++++ doc/info/extract_categories.sh 2011-12-16 09:05:05.000000000 -0500 +@@ -17,9 +17,10 @@ + if [ $f = "maxima.texi" ] + then echo SKIP OVER $f + else +- sed 's/^@def\(fn\|vr\) *{[^}]*} *\([^[:blank:]]*\).*/@anchor{Item: \2}\ +-\0/; s/^@node *\([^,]*\).*/@anchor{Item: \1}\ +-\0/' "$f" > tmp.texi ++ sed 's/^@deffn *{[^}]*} *\([^[:blank:]]*\).*/@anchor{Item: \1}\ ++&/; s/^@defvr *{[^}]*} *\([^[:blank:]]*\).*/@anchor{Item: \1}\ ++&/; s/^@node *\([^,]*\).*/@anchor{Item: \1}\ ++&/' "$f" > tmp.texi + mv tmp.texi "$f" + fi + done diff --git a/math/maxima/files/patch-doc__info__extract_categories1.sed b/math/maxima/files/patch-doc__info__extract_categories1.sed new file mode 100644 index 000000000000..5eef7139239f --- /dev/null +++ b/math/maxima/files/patch-doc__info__extract_categories1.sed @@ -0,0 +1,15 @@ +--- doc/info/extract_categories1.sed.orig 2011-08-01 00:39:51.000000000 -0400 ++++ doc/info/extract_categories1.sed 2011-12-16 08:12:32.000000000 -0500 +@@ -1,6 +1,9 @@ +-s/^@def\(fn\|vr\) *{[^}]*} *\([^[:blank:]]*\).*/items = ["\2"]/ +-s/^@def\(fn\|vr\)x *{[^}]*} *\([^[:blank:]]*\).*/if not "\2" in items: items.append ("\2")/ +-s/^@end def\(fn\|vr\)/items = []/ ++s/^@deffn *{[^}]*} *\([^[:blank:]]*\).*/items = ["\1"]/ ++s/^@defvr *{[^}]*} *\([^[:blank:]]*\).*/items = ["\1"]/ ++s/^@deffnx *{[^}]*} *\([^[:blank:]]*\).*/if not "\1" in items: items.append ("\1")/ ++s/^@defvrx *{[^}]*} *\([^[:blank:]]*\).*/if not "\1" in items: items.append ("\1")/ ++s/^@end deffn/items = []/ ++s/^@end defvr/items = []/ + s/^@node *\([^,]*\).*/items = ["\1"] # extracted from node/ + s/@opencatbox// + s/@closecatbox// diff --git a/math/maxima/files/patch-doc_info_Makefile.in b/math/maxima/files/patch-doc_info_Makefile.in index 25d0eab08818..af7049a4ed47 100644 --- a/math/maxima/files/patch-doc_info_Makefile.in +++ b/math/maxima/files/patch-doc_info_Makefile.in @@ -1,5 +1,5 @@ ---- doc/info/Makefile.am.orig 2008-12-08 11:08:06.607586350 -0500 -+++ doc/info/Makefile.am 2008-12-08 11:10:05.539477973 -0500 +--- doc/info/Makefile.in.orig 2008-12-08 11:08:06.607586350 -0500 ++++ doc/info/Makefile.in 2008-12-08 11:10:05.539477973 -0500 @@ -202,24 +202,10 @@ check_crlf check_tab fix_crlf fix_tab build_index.pl |