summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-03-06 23:06:58 +0000
committerjperkin <jperkin@pkgsrc.org>2014-03-06 23:06:58 +0000
commitcf2615c97ccfcb2f4086464ab574035ebf287895 (patch)
treed90a5af57a764339a010dca6177b06a381567eff /math
parente4ab60999980f9b0f2dbe43ec58d677a6f8f8f5f (diff)
downloadpkgsrc-cf2615c97ccfcb2f4086464ab574035ebf287895.tar.gz
Pull in Texinfo 5.x compatibility fixes from upstream.
Diffstat (limited to 'math')
-rw-r--r--math/octave/distinfo17
-rw-r--r--math/octave/patches/patch-doc_interpreter_plot.txi25
-rw-r--r--math/octave/patches/patch-doc_liboctave_liboctave.texi21
-rw-r--r--math/octave/patches/patch-scripts_audio_wavread.m37
-rw-r--r--math/octave/patches/patch-scripts_io_strread.m15
-rw-r--r--math/octave/patches/patch-scripts_miscellaneous_getappdata.m21
-rw-r--r--math/octave/patches/patch-scripts_miscellaneous_license.m46
-rw-r--r--math/octave/patches/patch-scripts_miscellaneous_ver.m36
-rw-r--r--math/octave/patches/patch-scripts_plot_daspect.m43
-rw-r--r--math/octave/patches/patch-scripts_plot_legend.m24
-rw-r--r--math/octave/patches/patch-scripts_plot_pbaspect.m42
-rw-r--r--math/octave/patches/patch-scripts_plot_print.m20
-rw-r--r--math/octave/patches/patch-scripts_polynomial_polyval.m30
-rw-r--r--math/octave/patches/patch-scripts_set_union.m23
-rw-r--r--math/octave/patches/patch-scripts_signal_freqz.m37
-rw-r--r--math/octave/patches/patch-src_dirfns.cc18
16 files changed, 454 insertions, 1 deletions
diff --git a/math/octave/distinfo b/math/octave/distinfo
index 873848bf30b..0e37130c0ca 100644
--- a/math/octave/distinfo
+++ b/math/octave/distinfo
@@ -1,13 +1,28 @@
-$NetBSD: distinfo,v 1.38 2013/10/27 20:35:16 joerg Exp $
+$NetBSD: distinfo,v 1.39 2014/03/06 23:06:58 jperkin Exp $
SHA1 (octave-3.6.4.tar.bz2) = 3cc9366b6dbbd336eaf90fe70ad16e63705d82c4
RMD160 (octave-3.6.4.tar.bz2) = b0356f0c5d9366b8129d72ac58bbde837fee1a95
Size (octave-3.6.4.tar.bz2) = 15627315 bytes
SHA1 (patch-configure) = 627b8868d2cdd3c3a44e1485c8e7c47f481ca63e
+SHA1 (patch-doc_interpreter_plot.txi) = b205f704ce625694a25ab57f4fad4460d1fbc0e9
+SHA1 (patch-doc_liboctave_liboctave.texi) = c53484c70adea766ba1378a1f118942c924a88a5
SHA1 (patch-fflush-fpos_t.c) = 24ed7f95f8431b59bc5ee0dfb0e6624b8029f512
SHA1 (patch-fseeko-fpos_t.c) = ca846a014f9adfd47f7bbcf6557bf26a53f4a8e9
SHA1 (patch-libgnu_string.in.h) = 4af39b76faa3ac90454a9d664919b7a6cd45fa9d
SHA1 (patch-liboctave_oct-time.cc) = 40c21f509b6c95942e6ba43c52494d1d707ed515
+SHA1 (patch-scripts_audio_wavread.m) = e679a41cb49eeb32d98d44b81fd5e3d535dd2767
+SHA1 (patch-scripts_io_strread.m) = e1b6199e64354f3138f329dbaac831715ed41be5
+SHA1 (patch-scripts_miscellaneous_getappdata.m) = 55f9c9d5f30c85b3e8b5af82a271f1db90896fca
+SHA1 (patch-scripts_miscellaneous_license.m) = 79f0f590df09a1659aea7b157ed4735ec1be55c4
+SHA1 (patch-scripts_miscellaneous_ver.m) = 62a23545f808bdd5895ffbb107ed7ca58f157f98
SHA1 (patch-scripts_pkg_pkg.m) = e6fa838e3910d52164d7cb3ca084c748cd68abb9
+SHA1 (patch-scripts_plot_daspect.m) = 34281cae27ce447feb5ee9f1dc0d7a29e0c621a4
+SHA1 (patch-scripts_plot_legend.m) = 3932ce6e6d19c89e852be35809502afa05a6ac4c
+SHA1 (patch-scripts_plot_pbaspect.m) = 193f186be2c3e3ffc170cb0ed84900e14ab4e81b
+SHA1 (patch-scripts_plot_print.m) = dbcb7c3efbb0abee3b4afbc9c490dd8d27539efb
+SHA1 (patch-scripts_polynomial_polyval.m) = d6655d2b9d2755788a02720c2a28ecf2e11a45e2
+SHA1 (patch-scripts_set_union.m) = ff976eaa4aa76d19ad73144192aee81c8e60d8bc
+SHA1 (patch-scripts_signal_freqz.m) = cc9ba19c5b1b60af64f7c7ec0906ec7eedcea8d4
SHA1 (patch-src_DLD-FUNCTIONS_rand.cc) = 4992844f8ed53963e03e05adab2446397c2f4f02
+SHA1 (patch-src_dirfns.cc) = fad1c09d28e6b93a7d9c5de69b5b218b72d5c7c5
SHA1 (patch-src_oct-conf.h.in) = d3fa5166db289fbd9eba355911341e891fb6d822
diff --git a/math/octave/patches/patch-doc_interpreter_plot.txi b/math/octave/patches/patch-doc_interpreter_plot.txi
new file mode 100644
index 00000000000..b96c4fe89c5
--- /dev/null
+++ b/math/octave/patches/patch-doc_interpreter_plot.txi
@@ -0,0 +1,25 @@
+$NetBSD: patch-doc_interpreter_plot.txi,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- doc/interpreter/plot.txi.orig 2013-02-21 20:19:23.000000000 +0000
++++ doc/interpreter/plot.txi
+@@ -2545,15 +2545,15 @@ Marker styles are specified by the follo
+ A character indicating a plot marker to be place at each data point, or
+ @code{"none"}, meaning no markers should be displayed.
+
+-@itemx markeredgecolor
++@item markeredgecolor
+ The color of the edge around the marker, or @code{"auto"}, meaning that
+ the edge color is the same as the face color. @xref{Colors}.
+
+-@itemx markerfacecolor
++@item markerfacecolor
+ The color of the marker, or @code{"none"} to indicate that the marker
+ should not be filled. @xref{Colors}.
+
+-@itemx markersize
++@item markersize
+ A number specifying the size of the marker. The default is 1. A value
+ of 2 is twice as large as the default, etc.
+ @end table
diff --git a/math/octave/patches/patch-doc_liboctave_liboctave.texi b/math/octave/patches/patch-doc_liboctave_liboctave.texi
new file mode 100644
index 00000000000..c6da7729673
--- /dev/null
+++ b/math/octave/patches/patch-doc_liboctave_liboctave.texi
@@ -0,0 +1,21 @@
+$NetBSD: patch-doc_liboctave_liboctave.texi,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- doc/liboctave/liboctave.texi.orig 2013-02-21 20:19:23.000000000 +0000
++++ doc/liboctave/liboctave.texi
+@@ -80,10 +80,10 @@ modified versions.
+ @end ifnottex
+
+ @titlepage
+-@title{Octave C++ Classes}
+-@subtitle{Edition 1.0 for Octave version @value{VERSION}}
+-@subtitle{September 1993}
+-@author{John W. Eaton}
++@title Octave C++ Classes
++@subtitle Edition 1.0 for Octave version @value{VERSION}
++@subtitle September 1993
++@author John W. Eaton
+ @page
+ @vskip 0pt plus 1filll
+ Copyright @copyright{} 1996, 1997 John W. Eaton.
diff --git a/math/octave/patches/patch-scripts_audio_wavread.m b/math/octave/patches/patch-scripts_audio_wavread.m
new file mode 100644
index 00000000000..ba1bc405c80
--- /dev/null
+++ b/math/octave/patches/patch-scripts_audio_wavread.m
@@ -0,0 +1,37 @@
+$NetBSD: patch-scripts_audio_wavread.m,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- scripts/audio/wavread.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/audio/wavread.m
+@@ -18,21 +18,26 @@
+
+ ## -*- texinfo -*-
+ ## @deftypefn {Function File} {@var{y} =} wavread (@var{filename})
++## @deftypefnx {Function File} {[@var{y}, @var{Fs}, @var{bps}] =} wavread (@var{filename})
++## @deftypefnx {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n})
++## @deftypefnx {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n1} @var{n2})
++## @deftypefnx {Function File} {[@var{samples}, @var{channels}] =} wavread (@var{filename}, "size")
++##
+ ## Load the RIFF/WAVE sound file @var{filename}, and return the samples
+ ## in vector @var{y}. If the file contains multichannel data, then
+ ## @var{y} is a matrix with the channels represented as columns.
+ ##
+-## @deftypefnx {Function File} {[@var{y}, @var{Fs}, @var{bps}] =} wavread (@var{filename})
++## @code{[@var{y}, @var{Fs}, @var{bps}] = wavread (@var{filename})}
+ ## Additionally return the sample rate (@var{fs}) in Hz and the number of bits
+ ## per sample (@var{bps}).
+ ##
+-## @deftypefnx {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n})
++## @code{[@dots{}] = wavread (@var{filename}, @var{n})}
+ ## Read only the first @var{n} samples from each channel.
+ ##
+-## @deftypefnx {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n1} @var{n2})
++## @code{wavread (@var{filename}, @var{n1} @var{n2})}
+ ## Read only samples @var{n1} through @var{n2} from each channel.
+ ##
+-## @deftypefnx {Function File} {[@var{samples}, @var{channels}] =} wavread (@var{filename}, "size")
++## @code{[@var{samples}, @var{channels}] = wavread (@var{filename}, "size")}
+ ## Return the number of samples (@var{n}) and channels (@var{ch})
+ ## instead of the audio data.
+ ## @seealso{wavwrite}
diff --git a/math/octave/patches/patch-scripts_io_strread.m b/math/octave/patches/patch-scripts_io_strread.m
new file mode 100644
index 00000000000..6e183f29257
--- /dev/null
+++ b/math/octave/patches/patch-scripts_io_strread.m
@@ -0,0 +1,15 @@
+$NetBSD: patch-scripts_io_strread.m,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- scripts/io/strread.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/io/strread.m
+@@ -39,7 +39,7 @@
+ ## @item %s
+ ## The word is parsed as a string.
+ ##
+-## @itemx %f
++## @item %f
+ ## @itemx %n
+ ## The word is parsed as a number and converted to double.
+ ##
diff --git a/math/octave/patches/patch-scripts_miscellaneous_getappdata.m b/math/octave/patches/patch-scripts_miscellaneous_getappdata.m
new file mode 100644
index 00000000000..05f3e5b0c2a
--- /dev/null
+++ b/math/octave/patches/patch-scripts_miscellaneous_getappdata.m
@@ -0,0 +1,21 @@
+$NetBSD: patch-scripts_miscellaneous_getappdata.m,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- scripts/miscellaneous/getappdata.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/miscellaneous/getappdata.m
+@@ -16,10 +16,12 @@
+
+ ## -*- texinfo -*-
+ ## @deftypefn {Function File} {@var{value} =} getappdata (@var{h}, @var{name})
++## @deftypefnx {Function File} {@var{appdata} =} getappdata (@var{h})
++##
+ ## Return the @var{value} for named application data for the object(s) with
+ ## handle(s) @var{h}.
+-## @deftypefnx {Function File} {@var{appdata} =} getappdata (@var{h})
+-## Return a structure, @var{appdata}, whose fields correspond to the appdata
++##
++## @code{getappdata(@var{h})} returns a structure, @var{appdata}, whose fields correspond to the appdata
+ ## properties.
+ ## @end deftypefn
+
diff --git a/math/octave/patches/patch-scripts_miscellaneous_license.m b/math/octave/patches/patch-scripts_miscellaneous_license.m
new file mode 100644
index 00000000000..b6720e395be
--- /dev/null
+++ b/math/octave/patches/patch-scripts_miscellaneous_license.m
@@ -0,0 +1,46 @@
+$NetBSD: patch-scripts_miscellaneous_license.m,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- scripts/miscellaneous/license.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/miscellaneous/license.m
+@@ -18,20 +18,26 @@
+
+ ## -*- texinfo -*-
+ ## @deftypefn {Function File} {} license
++## @deftypefnx {Function File} {} license ("inuse")
++## @deftypefnx {Function File} {@var{retval} =} license ("inuse")
++## @deftypefnx {Function File} {@var{retval} =} license ("test", @var{feature})
++## @deftypefnx {Function File} {} license ("test", @var{feature}, @var{toggle})
++## @deftypefnx {Function File} {@var{retval} =} license ("checkout", @var{feature})
++##
+ ## Display the license of Octave.
+ ##
+-## @deftypefnx {Function File} {} license ("inuse")
++## @code{license ("inuse")}
+ ## Display a list of packages currently being used.
+ ##
+-## @deftypefnx {Function File} {@var{retval} =} license ("inuse")
++## @code{@var{retval} = license ("inuse")}
+ ## Return a structure containing the fields @code{feature} and @code{user}.
+ ##
+-## @deftypefnx {Function File} {@var{retval} =} license ("test", @var{feature})
++## @code{@var{retval} = license ("test", @var{feature})}
+ ## Return 1 if a license exists for the product identified by the string
+ ## @var{feature} and 0 otherwise. The argument @var{feature} is case
+ ## insensitive and only the first 27 characters are checked.
+ ##
+-## @deftypefnx {Function File} {} license ("test", @var{feature}, @var{toggle})
++## @code{license ("test", @var{feature}, @var{toggle})}
+ ## Enable or disable license testing for @var{feature}, depending on
+ ## @var{toggle}, which may be one of:
+ ##
+@@ -44,7 +50,7 @@
+ ## Future tests for the specified license of @var{feature} return 0.
+ ## @end table
+ ##
+-## @deftypefnx {Function File} {@var{retval} =} license ("checkout", @var{feature})
++## @code{@var{retval} = license ("checkout", @var{feature})}
+ ## Check out a license for @var{feature}, returning 1 on success and 0
+ ## on failure.
+ ##
diff --git a/math/octave/patches/patch-scripts_miscellaneous_ver.m b/math/octave/patches/patch-scripts_miscellaneous_ver.m
new file mode 100644
index 00000000000..7baf1517b04
--- /dev/null
+++ b/math/octave/patches/patch-scripts_miscellaneous_ver.m
@@ -0,0 +1,36 @@
+$NetBSD: patch-scripts_miscellaneous_ver.m,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- scripts/miscellaneous/ver.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/miscellaneous/ver.m
+@@ -18,11 +18,15 @@
+
+ ## -*- texinfo -*-
+ ## @deftypefn {Function File} {} ver ()
++## @deftypefnx {Function File} {v =} ver ()
++## @deftypefnx {Function File} {v =} ver ("Octave")
++## @deftypefnx {Function File} {v =} ver (@var{package})
++##
+ ## Display a header containing the current Octave version number, license
+ ## string and operating system, followed by the installed package names,
+ ## versions, and installation directories.
+ ##
+-## @deftypefnx {Function File} {v =} ver ()
++## @code{v = ver ()}
+ ## Return a vector of structures, respecting Octave and each installed package.
+ ## The structure includes the following fields.
+ ##
+@@ -40,10 +44,10 @@
+ ## Date respecting the version/revision.
+ ## @end table
+ ##
+-## @deftypefnx {Function File} {v =} ver ("Octave")
++## @code{v = ver ("Octave")}
+ ## Return version information for Octave only.
+ ##
+-## @deftypefnx {Function File} {v =} ver (@var{package})
++## @code{v = ver (@var{package})}
+ ## Return version information for @var{package}.
+ ##
+ ## @seealso{version, octave_config_info}
diff --git a/math/octave/patches/patch-scripts_plot_daspect.m b/math/octave/patches/patch-scripts_plot_daspect.m
new file mode 100644
index 00000000000..d426a45165d
--- /dev/null
+++ b/math/octave/patches/patch-scripts_plot_daspect.m
@@ -0,0 +1,43 @@
+$NetBSD: patch-scripts_plot_daspect.m,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- scripts/plot/daspect.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/plot/daspect.m
+@@ -18,22 +18,23 @@
+
+ ## -*- texinfo -*-
+ ## @deftypefn {Function File} {} daspect (@var{data_aspect_ratio})
+-## Set the data aspect ratio of the current axes. The aspect ratio is
+-## a normalized 3-element vector representing the span of the x, y, and
+-## z-axes limits.
+-##
+-## @deftypefnx {Function File} {@var{data_aspect_ratio} =} daspect ( )
+-## Return the data aspect ratio of the current axes.
+-##
++## @deftypefnx {Function File} {@var{data_aspect_ratio} =} daspect ()
+ ## @deftypefnx {Function File} {} daspect (@var{mode})
+-## Set the data aspect ratio mode of the current axes.
+-##
+ ## @deftypefnx {Function File} {@var{data_aspect_ratio_mode} =} daspect ("mode")
+-## Return the data aspect ratio mode of the current axes.
+-##
+ ## @deftypefnx {Function File} {} daspect (@var{hax}, @dots{})
+-## Use the axes, with handle @var{hax}, instead of the current axes.
+-##
++## @code{daspect} sets the data aspect ratio of the current axes. The aspect
++## ratio is a normalized 3-element vector representing the span of the x, y, and
++## z-axes limits.
++##
++## When called without any arguments it returns data aspect ratio of the current axes.
++##
++## @code{(daspect (@var{mode}))} sets the data aspect ratio mode of the current axes.
++##
++## @code{daspect ("mode")} returns the data aspect ratio mode of the current axes.
++##
++## @code{daspect (@var{hax}, @dots{})} uses the axes, with handle @var{hax},
++## instead of the current axes.
++##
+ ## @seealso{axis, pbaspect, xlim, ylim, zlim}
+ ## @end deftypefn
+
diff --git a/math/octave/patches/patch-scripts_plot_legend.m b/math/octave/patches/patch-scripts_plot_legend.m
new file mode 100644
index 00000000000..0dc10c0467a
--- /dev/null
+++ b/math/octave/patches/patch-scripts_plot_legend.m
@@ -0,0 +1,24 @@
+$NetBSD: patch-scripts_plot_legend.m,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- scripts/plot/legend.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/plot/legend.m
+@@ -86,7 +86,7 @@
+ ## @item "hide"
+ ## Hide legend on the plot
+ ##
+-## @itemx "toggle"
++## @item "toggle"
+ ## Toggles between "hide" and "show"
+ ##
+ ## @item "boxon"
+@@ -101,7 +101,7 @@
+ ## @item "right"
+ ## Place text to the right of the keys
+ ##
+-## @itemx "off"
++## @item "off"
+ ## Delete the legend object
+ ## @end table
+ ## @end deftypefn
diff --git a/math/octave/patches/patch-scripts_plot_pbaspect.m b/math/octave/patches/patch-scripts_plot_pbaspect.m
new file mode 100644
index 00000000000..4d0c8c04fa0
--- /dev/null
+++ b/math/octave/patches/patch-scripts_plot_pbaspect.m
@@ -0,0 +1,42 @@
+$NetBSD: patch-scripts_plot_pbaspect.m,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- scripts/plot/pbaspect.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/plot/pbaspect.m
+@@ -18,21 +18,24 @@
+
+ ## -*- texinfo -*-
+ ## @deftypefn {Function File} {} pbaspect (@var{plot_box_aspect_ratio})
+-## Set the plot box aspect ratio of the current axes. The aspect ratio
+-## is a normalized 3-element vector representing the rendered lengths of
+-## the x, y, and z-axes.
+-##
+ ## @deftypefnx {Function File} {@var{plot_box_aspect_ratio} =} pbaspect ( )
+-## Return the plot box aspect ratio of the current axes.
+-##
+ ## @deftypefnx {Function File} {} pbaspect (@var{mode})
+-## Set the plot box aspect ratio mode of the current axes.
+-##
+ ## @deftypefnx {Function File} {@var{plot_box_aspect_ratio_mode} =} pbaspect ("mode")
+-## Return the plot box aspect ratio mode of the current axes.
+-##
+ ## @deftypefnx {Function File} {} pbaspect (@var{hax}, @dots{})
+-## Use the axes, with handle @var{hax}, instead of the current axes.
++##
++## Set the plot box aspect ratio of the current axes. The aspect ratio
++## is a normalized 3-element vector representing the rendered lengths of
++## the x, y, and z-axes.
++##
++## When called without any arguments, returns the plot box aspect ratio of
++## the current axes.
++##
++## @code{pbaspect(@var{mode})} sets the plot box aspect ratio mode of the current axes.
++##
++## @code{pbaspect ("mode")} returns the plot box aspect ratio mode of the current axes.
++##
++## @code{pbaspect (@var{hax}, @dots{})} uses the axes, with handle @var{hax}, instead
++## of the current axes.
+ ##
+ ## @seealso{axis, daspect, xlim, ylim, zlim}
+ ## @end deftypefn
diff --git a/math/octave/patches/patch-scripts_plot_print.m b/math/octave/patches/patch-scripts_plot_print.m
new file mode 100644
index 00000000000..b3a1406aa43
--- /dev/null
+++ b/math/octave/patches/patch-scripts_plot_print.m
@@ -0,0 +1,20 @@
+$NetBSD: patch-scripts_plot_print.m,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- scripts/plot/print.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/plot/print.m
+@@ -184,11 +184,11 @@
+ ## is sent to a file the size is determined by the plot box defined by
+ ## the figure's "paperposition" property.
+ ##
+-## @itemx -append
++## @item -append
+ ## Appends the PS, or PDF output to a pre-existing file of the
+ ## same type.
+ ##
+-## @itemx -r@var{NUM}
++## @item -r@var{NUM}
+ ## Resolution of bitmaps in pixels per inch. For both metafiles and
+ ## SVG the default is the screen resolution, for other it is 150 dpi.
+ ## To specify screen resolution, use "-r0".
diff --git a/math/octave/patches/patch-scripts_polynomial_polyval.m b/math/octave/patches/patch-scripts_polynomial_polyval.m
new file mode 100644
index 00000000000..8a6dca94227
--- /dev/null
+++ b/math/octave/patches/patch-scripts_polynomial_polyval.m
@@ -0,0 +1,30 @@
+$NetBSD: patch-scripts_polynomial_polyval.m,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- scripts/polynomial/polyval.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/polynomial/polyval.m
+@@ -19,19 +19,21 @@
+ ## -*- texinfo -*-
+ ## @deftypefn {Function File} {@var{y} =} polyval (@var{p}, @var{x})
+ ## @deftypefnx {Function File} {@var{y} =} polyval (@var{p}, @var{x}, [], @var{mu})
++## @deftypefnx {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s})
++## @deftypefnx {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s}, @var{mu})
++##
+ ## Evaluate the polynomial @var{p} at the specified values of @var{x}. When
+ ## @var{mu} is present, evaluate the polynomial for
+ ## (@var{x}-@var{mu}(1))/@var{mu}(2).
+ ## If @var{x} is a vector or matrix, the polynomial is evaluated for each of
+ ## the elements of @var{x}.
+ ##
+-## @deftypefnx {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s})
+-## @deftypefnx {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s}, @var{mu})
+ ## In addition to evaluating the polynomial, the second output
+ ## represents the prediction interval, @var{y} +/- @var{dy}, which
+ ## contains at least 50% of the future predictions. To calculate the
+ ## prediction interval, the structured variable @var{s}, originating
+ ## from @code{polyfit}, must be supplied.
++##
+ ## @seealso{polyvalm, polyaffine, polyfit, roots, poly}
+ ## @end deftypefn
+
diff --git a/math/octave/patches/patch-scripts_set_union.m b/math/octave/patches/patch-scripts_set_union.m
new file mode 100644
index 00000000000..8e68b8b425a
--- /dev/null
+++ b/math/octave/patches/patch-scripts_set_union.m
@@ -0,0 +1,23 @@
+$NetBSD: patch-scripts_set_union.m,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- scripts/set/union.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/set/union.m
+@@ -20,6 +20,8 @@
+ ## -*- texinfo -*-
+ ## @deftypefn {Function File} {} union (@var{a}, @var{b})
+ ## @deftypefnx {Function File} {} union (@var{a}, @var{b}, "rows")
++## @deftypefnx {Function File} {[@var{c}, @var{ia}, @var{ib}] =} union (@var{a}, @var{b})
++##
+ ## Return the set of elements that are in either of the sets @var{a} and
+ ## @var{b}. @var{a}, @var{b} may be cell arrays of string(s).
+ ## For example:
+@@ -44,7 +46,6 @@
+ ## @end group
+ ## @end example
+ ##
+-## @deftypefnx {Function File} {[@var{c}, @var{ia}, @var{ib}] =} union (@var{a}, @var{b})
+ ##
+ ## Return index vectors @var{ia} and @var{ib} such that @code{a(ia)} and
+ ## @code{b(ib)} are disjoint sets whose union is @var{c}.
diff --git a/math/octave/patches/patch-scripts_signal_freqz.m b/math/octave/patches/patch-scripts_signal_freqz.m
new file mode 100644
index 00000000000..75d8fa309a2
--- /dev/null
+++ b/math/octave/patches/patch-scripts_signal_freqz.m
@@ -0,0 +1,37 @@
+$NetBSD: patch-scripts_signal_freqz.m,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- scripts/signal/freqz.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/signal/freqz.m
+@@ -18,6 +18,10 @@
+
+ ## -*- texinfo -*-
+ ## @deftypefn {Function File} {[@var{h}, @var{w}] =} freqz (@var{b}, @var{a}, @var{n}, "whole")
++## @deftypefnx {Function File} {@var{h} =} freqz (@var{b}, @var{a}, @var{w})
++## @deftypefnx {Function File} {[@dots{}] =} freqz (@dots{}, @var{Fs})
++## @deftypefnx {Function File} {} freqz (@dots{})
++##
+ ## Return the complex frequency response @var{h} of the rational IIR filter
+ ## whose numerator and denominator coefficients are @var{b} and @var{a},
+ ## respectively. The response is evaluated at @var{n} angular frequencies
+@@ -49,16 +53,16 @@
+ ## For fastest computation, @var{n} should factor into a small number of
+ ## small primes.
+ ##
+-## @deftypefnx {Function File} {@var{h} =} freqz (@var{b}, @var{a}, @var{w})
++## @code{freqz (@var{b}, @var{a}, @var{w})}
+ ## Evaluate the response at the specific frequencies in the vector @var{w}.
+ ## The values for @var{w} are measured in radians.
+ ##
+-## @deftypefnx {Function File} {[@dots{}] =} freqz (@dots{}, @var{Fs})
++## @code{[@dots{}] = freqz (@dots{}, @var{Fs})}
+ ## Return frequencies in Hz instead of radians assuming a sampling rate
+ ## @var{Fs}. If you are evaluating the response at specific frequencies
+ ## @var{w}, those frequencies should be requested in Hz rather than radians.
+ ##
+-## @deftypefnx {Function File} {} freqz (@dots{})
++## @code{freqz (@dots{})}
+ ## Plot the pass band, stop band and phase response of @var{h} rather
+ ## than returning them.
+ ## @end deftypefn
diff --git a/math/octave/patches/patch-src_dirfns.cc b/math/octave/patches/patch-src_dirfns.cc
new file mode 100644
index 00000000000..96d853a4449
--- /dev/null
+++ b/math/octave/patches/patch-src_dirfns.cc
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_dirfns.cc,v 1.1 2014/03/06 23:06:58 jperkin Exp $
+
+Texinfo 5.x compatibility.
+
+--- src/dirfns.cc.orig 2013-02-21 20:19:24.000000000 +0000
++++ src/dirfns.cc
+@@ -555,9 +555,9 @@ them, or an empty cell array if no patte
+ interpreted as filename globbing patterns (as they are used by Unix shells).\n\
+ Within a pattern\n\
+ @table @code\n\
+-@itemx *\n\
++@item *\n\
+ matches any string, including the null string,\n\
+-@itemx ?\n\
++@item ?\n\
+ matches any single character, and\n\
+ \n\
+ @item [@dots{}]\n\