Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.116 2013/06/04 22:16:38 tron Exp $
# $NetBSD: Makefile,v 1.119 2014/02/12 23:18:11 tron Exp $
DISTNAME= octave-${OCTAVE_VER}
PKGREVISION= 3
PKGREVISION= 5
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU:=octave/} \
ftp://ftp.octave.org/pub/octave/ \
@@ -22,7 +22,6 @@ OCTAVE_VER= 3.6.4
BROKEN= Internal compiler error occurs on arm32 (even with gcc-2.95.3)
.endif
USE_GNU_READLINE= yes
USE_LIBTOOL= yes
USE_TOOLS+= autoconf gsed gmake:run makeinfo perl pkg-config bison
GNU_CONFIGURE= yes

View File

@@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.14 2009/05/20 00:58:22 wiz Exp $
# $NetBSD: buildlink3.mk,v 1.15 2013/09/01 12:14:06 obache Exp $
BUILDLINK_TREE+= octave
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= octave
OCTAVE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.octave+= octave>=3.0.0
BUILDLINK_ABI_DEPENDS.octave+= octave>=3.0.5nb1
BUILDLINK_ABI_DEPENDS.octave+= octave>=3.6.4nb4
BUILDLINK_PKGSRCDIR.octave?= ../../math/octave
.include "../../mk/bsd.fast.prefs.mk"

View File

@@ -1,11 +1,29 @@
$NetBSD: distinfo,v 1.36 2013/02/23 13:11:06 asau Exp $
$NetBSD: distinfo,v 1.40 2014/03/06 23:09:04 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_stdio.in.h) = 20950b67577e0ff34e761b02ac15338c9cfc4cb9
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

View File

@@ -1,8 +1,8 @@
# $NetBSD: options.mk,v 1.5 2012/06/06 23:14:10 asau Exp $
# $NetBSD: options.mk,v 1.6 2013/08/01 18:44:06 riastradh Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.octave
PKG_SUPPORTED_OPTIONS= glpk graphicsmagick hdf5 qhull
PKG_SUGGESTED_OPTIONS= glpk hdf5 qhull
PKG_SUGGESTED_OPTIONS= hdf5 qhull
.include "../../mk/bsd.options.mk"

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-configure,v 1.1 2013/10/27 20:35:16 joerg Exp $
--- configure.orig 2013-10-27 16:08:37.000000000 +0000
+++ configure
@@ -33819,7 +33819,12 @@ else
fi
done
;;
- -[lLR]*)
+ -R*)
+ ac_arg="-Wl,$ac_arg"
+ shift
+ set X $ac_arg "$@"
+ ;;
+ -[lLR]*|-Wl*)
ac_exists=false
for ac_i in $ac_cv_f77_libs; do
if test x"$ac_arg" = x"$ac_i"; then

View File

@@ -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

View File

@@ -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.

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-libgnu_stdio.in.h,v 1.1 2014/03/06 23:09:04 jperkin Exp $
Do not re-define gets() on SunOS, incompatible prototype.
--- libgnu/stdio.in.h.orig 2013-02-21 20:21:19.000000000 +0000
+++ libgnu/stdio.in.h
@@ -704,10 +704,12 @@ _GL_WARN_ON_USE (getline, "getline is un
/* It is very rare that the developer ever has full control of stdin,
so any use of gets warrants an unconditional warning; besides, C11
removed it. */
+#ifndef __sun
#undef gets
#if HAVE_RAW_DECL_GETS
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#endif
+#endif
#if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@

View File

@@ -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}

View File

@@ -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.
##

View File

@@ -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

View File

@@ -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.
##

View File

@@ -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}

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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".

View File

@@ -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

View File

@@ -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}.

View File

@@ -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

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-src_DLD-FUNCTIONS_rand.cc,v 1.1 2013/09/15 12:30:55 joerg Exp $
--- src/DLD-FUNCTIONS/rand.cc.orig 2013-09-14 19:43:59.000000000 +0000
+++ src/DLD-FUNCTIONS/rand.cc
@@ -1032,10 +1032,10 @@ rand(). All permutations are equally lik
@end deftypefn")
{
-#ifdef USE_UNORDERED_MAP_WITH_TR1
-using std::tr1::unordered_map;
-#else
+#if defined (HAVE_UNORDERED_MAP)
using std::unordered_map;
+#else
+using std::tr1::unordered_map;
#endif
int nargin = args.length ();

View File

@@ -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\