summaryrefslogtreecommitdiff
path: root/audio/pd
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-10-05 20:02:48 +0000
committerwiz <wiz@pkgsrc.org>2011-10-05 20:02:48 +0000
commit70dce3b05a303f25f9957b65bd4fab873eab7a0f (patch)
tree4da0a6d990dedcac4fcf375269e3ae4ca20d92fd /audio/pd
parent098008a5a356c86745f39531ae772d3b0c0d9b88 (diff)
downloadpkgsrc-70dce3b05a303f25f9957b65bd4fab873eab7a0f.tar.gz
Sync with patches submitted upstream and add bug report URLs.
Diffstat (limited to 'audio/pd')
-rw-r--r--audio/pd/distinfo32
-rw-r--r--audio/pd/patches/patch-configure.ac16
-rw-r--r--audio/pd/patches/patch-extra_bonk~_bonk~.c15
-rw-r--r--audio/pd/patches/patch-extra_pd~_pd~.c3
-rw-r--r--audio/pd/patches/patch-extra_sigmund~_sigmund~.c15
-rw-r--r--audio/pd/patches/patch-src_configure3
-rw-r--r--audio/pd/patches/patch-src_configure.in16
-rw-r--r--audio/pd/patches/patch-src_d__array.c3
-rw-r--r--audio/pd/patches/patch-src_d__osc.c3
-rw-r--r--audio/pd/patches/patch-src_m__binbuf.c15
-rw-r--r--audio/pd/patches/patch-src_s__audio__oss.c3
-rw-r--r--audio/pd/patches/patch-src_s__file.c3
-rw-r--r--audio/pd/patches/patch-src_s__loader.c3
-rw-r--r--audio/pd/patches/patch-src_s__stuff.h3
-rw-r--r--audio/pd/patches/patch-src_s__utf8.c15
-rw-r--r--audio/pd/patches/patch-src_x__list.c15
-rw-r--r--audio/pd/patches/patch-src_x__misc.c3
17 files changed, 112 insertions, 54 deletions
diff --git a/audio/pd/distinfo b/audio/pd/distinfo
index 6489ed58269..d3279ebd83f 100644
--- a/audio/pd/distinfo
+++ b/audio/pd/distinfo
@@ -1,21 +1,23 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: distinfo,v 1.2 2011/10/05 20:02:48 wiz Exp $
SHA1 (pd-0.43-0.src.tar.gz) = 9bc4377fe25d034120bd393d63fe4180c7a500bc
RMD160 (pd-0.43-0.src.tar.gz) = 6c737e69430180187281747830e655401b803b55
Size (pd-0.43-0.src.tar.gz) = 2194131 bytes
SHA1 (patch-Makefile.am) = 7a8da5f1902dcfb8f49ef9c915ae96a1996bd83d
-SHA1 (patch-extra_bonk~_bonk~.c) = c394543ddc963c8398cd0cea4bdb60b23d5c6ca5
-SHA1 (patch-extra_pd~_pd~.c) = f4b6760b4434de25b34c499d9a8216c4ffe22ec8
-SHA1 (patch-extra_sigmund~_sigmund~.c) = e42d3fe3808dbff6b40aa8e0c59b929159113f03
+SHA1 (patch-configure.ac) = 31baa676afeea342e3634d6fc2e06b4f61ede9dd
+SHA1 (patch-extra_bonk~_bonk~.c) = 607bf2f103ec34c02c9743eb3ec29cf2f6faba53
+SHA1 (patch-extra_pd~_pd~.c) = e1c7e4f031dd5236083ba91a902e9551e1a47be0
+SHA1 (patch-extra_sigmund~_sigmund~.c) = a359a57c81ec749e161d698f5ffccac9531d1a2c
SHA1 (patch-src_Makefile.am) = a87c3380b0180a906c0496e743fbece772226da3
-SHA1 (patch-src_configure) = 6f86f1045081f56603cca030dfe0b501eaef7e6a
-SHA1 (patch-src_d__array.c) = 86dc633efa9f14e57cdfcfbf9a0a6bb7f36f6ca5
-SHA1 (patch-src_d__osc.c) = 82095c2b269368dde69202c6845b3103e0c00995
-SHA1 (patch-src_m__binbuf.c) = 6ee7b8b62fc8bbe4b9522e8c6323d1e0ad5f1638
-SHA1 (patch-src_s__audio__oss.c) = 6fad31cce878b2eefa19060cef3072bc6a49b70b
-SHA1 (patch-src_s__file.c) = 1577bcc0cd6fb252172410f5b52b1bac465a3779
-SHA1 (patch-src_s__loader.c) = 0bfcb810e450983775c1c7da9b95ed0e8e152316
-SHA1 (patch-src_s__stuff.h) = b0b93853e5c06d367788429d95085da941f3d25e
-SHA1 (patch-src_s__utf8.c) = d75ea717e611c01d1c00a8f99779ff1fc47a92f8
-SHA1 (patch-src_x__list.c) = 36135361c5a186a4352ed55d743683e4d6a18087
-SHA1 (patch-src_x__misc.c) = ca8704f4a8a6b904a04169577df29373665f3aa7
+SHA1 (patch-src_configure) = 19d9f53db01c426b23679fd3ad6fca3ef426b52b
+SHA1 (patch-src_configure.in) = 3fc4c5f1d241e233105783ecf40375ca4ad15a36
+SHA1 (patch-src_d__array.c) = 73f62c57d4712746c18ff1227351e2fd7136e3ca
+SHA1 (patch-src_d__osc.c) = 74c4180b228ece946e9f01964ce8ed7183c2968f
+SHA1 (patch-src_m__binbuf.c) = 858e4b1a217318181ce68186a3a634bc85c79f26
+SHA1 (patch-src_s__audio__oss.c) = 8cda1221b84e99ebb480b998ea8db7002c8129dc
+SHA1 (patch-src_s__file.c) = c7eddbd9c8aafffaf37490c9f7fa635f697086b3
+SHA1 (patch-src_s__loader.c) = 5a2c0820b408c7819c9433b167d617b365d096e8
+SHA1 (patch-src_s__stuff.h) = c5ad6525b0fd24420c91fe6146e3e75bb7664fb3
+SHA1 (patch-src_s__utf8.c) = 13d82a7e8a84372b0549c5f2646698a0cb3ccdf0
+SHA1 (patch-src_x__list.c) = 4a0890f67e784c948810178306942d2677dbd8f7
+SHA1 (patch-src_x__misc.c) = 7af3fb796ef64ca401c4a4546b7bc0315ec8cb6b
diff --git a/audio/pd/patches/patch-configure.ac b/audio/pd/patches/patch-configure.ac
new file mode 100644
index 00000000000..9f4006ba716
--- /dev/null
+++ b/audio/pd/patches/patch-configure.ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-configure.ac,v 1.1 2011/10/05 20:02:48 wiz Exp $
+
+alloca.h is not portable.
+https://sourceforge.net/tracker/?func=detail&aid=3411730&group_id=55736&atid=478072
+
+--- configure.ac.orig 2011-02-02 04:42:27.000000000 +0000
++++ configure.ac
+@@ -214,7 +214,7 @@ AM_CONDITIONAL(FFTW, test x$fftw = xyes)
+
+ # Checks for header files.
+ AC_FUNC_ALLOCA
+-AC_CHECK_HEADERS([fcntl.h limits.h malloc.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/soundcard.h sys/time.h sys/timeb.h unistd.h])
++AC_CHECK_HEADERS([alloca.h fcntl.h limits.h malloc.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/soundcard.h sys/time.h sys/timeb.h unistd.h])
+
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_TYPE_INT16_T
diff --git a/audio/pd/patches/patch-extra_bonk~_bonk~.c b/audio/pd/patches/patch-extra_bonk~_bonk~.c
index 5d89871d9d6..3ed8b90e3db 100644
--- a/audio/pd/patches/patch-extra_bonk~_bonk~.c
+++ b/audio/pd/patches/patch-extra_bonk~_bonk~.c
@@ -1,18 +1,21 @@
-$NetBSD: patch-extra_bonk~_bonk~.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-extra_bonk~_bonk~.c,v 1.2 2011/10/05 20:02:48 wiz Exp $
alloca.h is not portable.
+https://sourceforge.net/tracker/?func=detail&aid=3411730&group_id=55736&atid=478072
--- extra/bonk~/bonk~.c.orig 2010-08-19 01:37:00.000000000 +0000
+++ extra/bonk~/bonk~.c
-@@ -82,11 +82,7 @@ void *bonk_class;
+@@ -82,10 +82,10 @@ void *bonk_class;
static t_class *bonk_class;
#endif
-#ifdef _WIN32
- #include <malloc.h>
+-#include <malloc.h>
-#elif ! defined(_MSC_VER)
--#include <alloca.h>
--#endif
++#if defined(HAVE_ALLOCA_H)
+ #include <alloca.h>
++#elsif defined(HAVE_MALLOC_H)
++#include <malloc.h>
+ #endif
/* ------------------------ bonk~ ----------------------------- */
-
diff --git a/audio/pd/patches/patch-extra_pd~_pd~.c b/audio/pd/patches/patch-extra_pd~_pd~.c
index efaa2b1a246..9dd1eaa5b0f 100644
--- a/audio/pd/patches/patch-extra_pd~_pd~.c
+++ b/audio/pd/patches/patch-extra_pd~_pd~.c
@@ -1,7 +1,8 @@
-$NetBSD: patch-extra_pd~_pd~.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-extra_pd~_pd~.c,v 1.2 2011/10/05 20:02:48 wiz Exp $
Add missing include (for SIGPIPE).
Define extensions for NetBSD.
+https://sourceforge.net/tracker/?func=detail&aid=3411732&group_id=55736&atid=478072
--- extra/pd~/pd~.c.orig 2010-07-28 20:55:17.000000000 +0000
+++ extra/pd~/pd~.c
diff --git a/audio/pd/patches/patch-extra_sigmund~_sigmund~.c b/audio/pd/patches/patch-extra_sigmund~_sigmund~.c
index 6e2aa4b2e57..777687b0b13 100644
--- a/audio/pd/patches/patch-extra_sigmund~_sigmund~.c
+++ b/audio/pd/patches/patch-extra_sigmund~_sigmund~.c
@@ -1,18 +1,21 @@
-$NetBSD: patch-extra_sigmund~_sigmund~.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-extra_sigmund~_sigmund~.c,v 1.2 2011/10/05 20:02:48 wiz Exp $
alloca.h is not portable.
+https://sourceforge.net/tracker/?func=detail&aid=3411730&group_id=55736&atid=478072
--- extra/sigmund~/sigmund~.c.orig 2010-07-28 20:55:17.000000000 +0000
+++ extra/sigmund~/sigmund~.c
-@@ -26,11 +26,7 @@ for example, defines this in the file d_
+@@ -26,10 +26,10 @@ for example, defines this in the file d_
#include <math.h>
#include <stdio.h>
#include <string.h>
-#ifdef _WIN32
- #include <malloc.h>
+-#include <malloc.h>
-#elif ! defined(_MSC_VER)
--#include <alloca.h>
--#endif
++#if defined(HAVE_ALLOCA_H)
+ #include <alloca.h>
++#elsif defined(HAVE_MALLOC_H)
++#include <malloc.h>
+ #endif
#include <stdlib.h>
#ifdef _MSC_VER
- #pragma warning( disable : 4244 )
diff --git a/audio/pd/patches/patch-src_configure b/audio/pd/patches/patch-src_configure
index 3f7570350ac..8978d556a42 100644
--- a/audio/pd/patches/patch-src_configure
+++ b/audio/pd/patches/patch-src_configure
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_configure,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-src_configure,v 1.2 2011/10/05 20:02:48 wiz Exp $
Fix unportable test(1) construct.
+https://sourceforge.net/tracker/?func=detail&aid=3411735&group_id=55736&atid=478072
--- src/configure.orig 2011-03-21 01:41:34.000000000 +0000
+++ src/configure
diff --git a/audio/pd/patches/patch-src_configure.in b/audio/pd/patches/patch-src_configure.in
new file mode 100644
index 00000000000..0d2fa5befff
--- /dev/null
+++ b/audio/pd/patches/patch-src_configure.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_configure.in,v 1.1 2011/10/05 20:02:48 wiz Exp $
+
+Fix unportable test(1) construct.
+https://sourceforge.net/tracker/?func=detail&aid=3411735&group_id=55736&atid=478072
+
+--- src/configure.in.orig 2011-02-27 00:52:58.000000000 +0000
++++ src/configure.in
+@@ -292,7 +292,7 @@ then
+ then
+ fat="no"
+ fi
+- if test "x$fat" == "xyes";
++ if test "x$fat" = "xyes";
+ then
+ MORECFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk \
+ -arch i386 -arch ppc -Wno-error"
diff --git a/audio/pd/patches/patch-src_d__array.c b/audio/pd/patches/patch-src_d__array.c
index c2af6a1c64d..e11d9c56b45 100644
--- a/audio/pd/patches/patch-src_d__array.c
+++ b/audio/pd/patches/patch-src_d__array.c
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_d__array.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-src_d__array.c,v 1.2 2011/10/05 20:02:48 wiz Exp $
Detect endianness on NetBSD.
+https://sourceforge.net/tracker/?func=detail&aid=3411732&group_id=55736&atid=478072
--- src/d_array.c.orig 2010-07-28 20:55:17.000000000 +0000
+++ src/d_array.c
diff --git a/audio/pd/patches/patch-src_d__osc.c b/audio/pd/patches/patch-src_d__osc.c
index 069dbe40d47..3b336fc7624 100644
--- a/audio/pd/patches/patch-src_d__osc.c
+++ b/audio/pd/patches/patch-src_d__osc.c
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_d__osc.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-src_d__osc.c,v 1.2 2011/10/05 20:02:48 wiz Exp $
Detect endianness on NetBSD.
+https://sourceforge.net/tracker/?func=detail&aid=3411732&group_id=55736&atid=478072
--- src/d_osc.c.orig 2010-07-28 20:55:17.000000000 +0000
+++ src/d_osc.c
diff --git a/audio/pd/patches/patch-src_m__binbuf.c b/audio/pd/patches/patch-src_m__binbuf.c
index 396705df820..b07b0400a46 100644
--- a/audio/pd/patches/patch-src_m__binbuf.c
+++ b/audio/pd/patches/patch-src_m__binbuf.c
@@ -1,18 +1,21 @@
-$NetBSD: patch-src_m__binbuf.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-src_m__binbuf.c,v 1.2 2011/10/05 20:02:48 wiz Exp $
alloca.h is not portable.
+https://sourceforge.net/tracker/?func=detail&aid=3411730&group_id=55736&atid=478072
--- src/m_binbuf.c.orig 2011-03-10 06:02:41.000000000 +0000
+++ src/m_binbuf.c
-@@ -530,11 +530,7 @@ done:
+@@ -530,10 +530,10 @@ done:
#define SMALLMSG 5
#define HUGEMSG 1000
-#ifdef MSW
- #include <malloc.h>
+-#include <malloc.h>
-#else
--#include <alloca.h>
--#endif
++#if defined(HAVE_ALLOCA_H)
+ #include <alloca.h>
++#elsif defined(HAVE_MALLOC_H)
++#include <malloc.h>
+ #endif
#if HAVE_ALLOCA
#define ATOMS_ALLOCA(x, n) ((x) = (t_atom *)((n) < HUGEMSG ? \
- alloca((n) * sizeof(t_atom)) : getbytes((n) * sizeof(t_atom))))
diff --git a/audio/pd/patches/patch-src_s__audio__oss.c b/audio/pd/patches/patch-src_s__audio__oss.c
index 345e21bcd0f..b204d93a6be 100644
--- a/audio/pd/patches/patch-src_s__audio__oss.c
+++ b/audio/pd/patches/patch-src_s__audio__oss.c
@@ -1,7 +1,8 @@
-$NetBSD: patch-src_s__audio__oss.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-src_s__audio__oss.c,v 1.2 2011/10/05 20:02:48 wiz Exp $
Use proper soundcard.h include on NetBSD and add missing argument
to ioctl().
+https://sourceforge.net/tracker/?func=detail&aid=3411732&group_id=55736&atid=478072
--- src/s_audio_oss.c.orig 2011-03-07 01:33:39.000000000 +0000
+++ src/s_audio_oss.c
diff --git a/audio/pd/patches/patch-src_s__file.c b/audio/pd/patches/patch-src_s__file.c
index adbb3e32159..79ca0a001f0 100644
--- a/audio/pd/patches/patch-src_s__file.c
+++ b/audio/pd/patches/patch-src_s__file.c
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_s__file.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-src_s__file.c,v 1.2 2011/10/05 20:02:48 wiz Exp $
File handling under NetBSD is the same as under Linux.
+https://sourceforge.net/tracker/?func=detail&aid=3411732&group_id=55736&atid=478072
--- src/s_file.c.orig 2011-03-19 22:22:27.000000000 +0000
+++ src/s_file.c
diff --git a/audio/pd/patches/patch-src_s__loader.c b/audio/pd/patches/patch-src_s__loader.c
index 21f9da6287f..36b369adb5f 100644
--- a/audio/pd/patches/patch-src_s__loader.c
+++ b/audio/pd/patches/patch-src_s__loader.c
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_s__loader.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-src_s__loader.c,v 1.2 2011/10/05 20:02:48 wiz Exp $
Define extensions for NetBSD.
+https://sourceforge.net/tracker/?func=detail&aid=3411732&group_id=55736&atid=478072
--- src/s_loader.c.orig 2010-07-29 03:50:34.000000000 +0000
+++ src/s_loader.c
diff --git a/audio/pd/patches/patch-src_s__stuff.h b/audio/pd/patches/patch-src_s__stuff.h
index 175aa5fc555..5b004f0079d 100644
--- a/audio/pd/patches/patch-src_s__stuff.h
+++ b/audio/pd/patches/patch-src_s__stuff.h
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_s__stuff.h,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-src_s__stuff.h,v 1.2 2011/10/05 20:02:48 wiz Exp $
Use OSS on NetBSD.
+https://sourceforge.net/tracker/?func=detail&aid=3411732&group_id=55736&atid=478072
--- src/s_stuff.h.orig 2011-03-13 00:19:29.000000000 +0000
+++ src/s_stuff.h
diff --git a/audio/pd/patches/patch-src_s__utf8.c b/audio/pd/patches/patch-src_s__utf8.c
index 471c45b7c3c..d135cfb7f06 100644
--- a/audio/pd/patches/patch-src_s__utf8.c
+++ b/audio/pd/patches/patch-src_s__utf8.c
@@ -1,18 +1,21 @@
-$NetBSD: patch-src_s__utf8.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-src_s__utf8.c,v 1.2 2011/10/05 20:02:48 wiz Exp $
alloca.h is not portable.
+https://sourceforge.net/tracker/?func=detail&aid=3411730&group_id=55736&atid=478072
--- src/s_utf8.c.orig 2010-08-18 03:51:01.000000000 +0000
+++ src/s_utf8.c
-@@ -18,11 +18,7 @@
+@@ -18,10 +18,10 @@
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
-#ifdef WIN32
- #include <malloc.h>
+-#include <malloc.h>
-#else
--#include <alloca.h>
--#endif
++#if defined(HAVE_ALLOCA_H)
+ #include <alloca.h>
++#elsif defined(HAVE_MALLOC_H)
++#include <malloc.h>
+ #endif
#include "s_utf8.h"
-
diff --git a/audio/pd/patches/patch-src_x__list.c b/audio/pd/patches/patch-src_x__list.c
index ce4e28568ba..978be29fe03 100644
--- a/audio/pd/patches/patch-src_x__list.c
+++ b/audio/pd/patches/patch-src_x__list.c
@@ -1,18 +1,21 @@
-$NetBSD: patch-src_x__list.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-src_x__list.c,v 1.2 2011/10/05 20:02:48 wiz Exp $
alloca.h is not portable.
+https://sourceforge.net/tracker/?func=detail&aid=3411730&group_id=55736&atid=478072
--- src/x_list.c.orig 2010-07-21 18:37:47.000000000 +0000
+++ src/x_list.c
-@@ -4,11 +4,7 @@
+@@ -4,10 +4,10 @@
#include "m_pd.h"
/* #include <string.h> */
-#ifdef MSW
- #include <malloc.h>
+-#include <malloc.h>
-#else
--#include <alloca.h>
--#endif
++#if defined(HAVE_ALLOCA_H)
+ #include <alloca.h>
++#elsif defined(HAVE_MALLOC_H)
++#include <malloc.h>
+ #endif
extern t_pd *newest;
-
diff --git a/audio/pd/patches/patch-src_x__misc.c b/audio/pd/patches/patch-src_x__misc.c
index 56b94dd2133..8b909340224 100644
--- a/audio/pd/patches/patch-src_x__misc.c
+++ b/audio/pd/patches/patch-src_x__misc.c
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_x__misc.c,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
+$NetBSD: patch-src_x__misc.c,v 1.2 2011/10/05 20:02:48 wiz Exp $
Define missing symbol the same as on FreeBSD/Mac OS X.
+https://sourceforge.net/tracker/?func=detail&aid=3411732&group_id=55736&atid=478072
--- src/x_misc.c.orig 2010-07-28 20:55:17.000000000 +0000
+++ src/x_misc.c