summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2009-05-18 05:21:18 +0000
committerdholland <dholland@pkgsrc.org>2009-05-18 05:21:18 +0000
commitbdd82080e5e62c39508aac508c222da5dae70c11 (patch)
treec02a1a9420763ade5ae228e9119ad69d0d2c1fd9 /audio
parent6a441534d1e47cd6c22e20d8a57173c3d58b0367 (diff)
downloadpkgsrc-bdd82080e5e62c39508aac508c222da5dae70c11.tar.gz
Fix 64-bit issue. PKGREVISION++ (to 6)
Diffstat (limited to 'audio')
-rw-r--r--audio/rplay/Makefile4
-rw-r--r--audio/rplay/distinfo3
-rw-r--r--audio/rplay/patches/patch-bc24
3 files changed, 28 insertions, 3 deletions
diff --git a/audio/rplay/Makefile b/audio/rplay/Makefile
index 5c6d08c637a..a66b3b727f6 100644
--- a/audio/rplay/Makefile
+++ b/audio/rplay/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.58 2009/02/03 06:11:12 obache Exp $
+# $NetBSD: Makefile,v 1.59 2009/05/18 05:21:18 dholland Exp $
#
DISTNAME= rplay-3.3.2
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= audio
MASTER_SITES= ftp://rplay.doit.org/pub/rplay/ \
http://rplay.doit.org/dist/
diff --git a/audio/rplay/distinfo b/audio/rplay/distinfo
index dc47f4adbae..631cb1c9a9d 100644
--- a/audio/rplay/distinfo
+++ b/audio/rplay/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2009/05/18 05:11:50 dholland Exp $
+$NetBSD: distinfo,v 1.14 2009/05/18 05:21:18 dholland Exp $
SHA1 (rplay-3.3.2.tar.gz) = 80b8001998a6f9837773f26285afffd609df2662
RMD160 (rplay-3.3.2.tar.gz) = e5c740eade2cc770ea78c8f53020fa6d78f59861
@@ -30,6 +30,7 @@ SHA1 (patch-ay) = eabf297f65a66174ce032bf7498bf6f324fe0d13
SHA1 (patch-az) = 8a55e0097ce509e169be02a127efb3db18aa395f
SHA1 (patch-ba) = 394dfa920f36a5e0f7e919de016fefac2a447322
SHA1 (patch-bb) = 6829e94a21eee04b58021e2d848a624b0c037b00
+SHA1 (patch-bc) = ea0d5d00cf71263f6f6cf2e54a8dd8b730aba8e8
SHA1 (patch-ca) = d5ffe7a8e0f2112adf0d11b5661d565e5a57dec8
SHA1 (patch-cb) = 24c810e43d6735c24908ba429ede32a49cff36e8
SHA1 (patch-cc) = 824d7c70282d24e489c7c041982018da13ac70ce
diff --git a/audio/rplay/patches/patch-bc b/audio/rplay/patches/patch-bc
new file mode 100644
index 00000000000..69be4c1ff00
--- /dev/null
+++ b/audio/rplay/patches/patch-bc
@@ -0,0 +1,24 @@
+$NetBSD: patch-bc,v 1.1 2009/05/18 05:21:18 dholland Exp $
+
+Fix quality non-64-bit GNU code.
+
+--- lib/getopt.c~ 1998-07-14 18:35:23.000000000 -0400
++++ lib/getopt.c 2009-05-18 01:17:34.000000000 -0400
+@@ -189,6 +189,7 @@ my_index (str, chr)
+
+ /* If using GCC, we can safely declare strlen this way.
+ If not using GCC, it is ok not to declare it. */
++/* ...as if */
+ #ifdef __GNUC__
+ /* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h.
+ That was relevant to code that was here before. */
+@@ -196,6 +197,9 @@ my_index (str, chr)
+ /* gcc with -traditional declares the built-in strlen to return int,
+ and has done so at least since version 2.4.5. -- rms. */
+ extern int strlen (const char *);
++#elif defined(_LP64)
++#include <stddef.h>
++size_t strlen();
+ #endif /* not __STDC__ */
+ #endif /* __GNUC__ */
+