pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/rplay Fix 64-bit issue. PKGREVISION++ (to 6)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fec97124ae83
branches:  trunk
changeset: 559034:fec97124ae83
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon May 18 05:21:18 2009 +0000

description:
Fix 64-bit issue. PKGREVISION++ (to 6)

diffstat:

 audio/rplay/Makefile         |   4 ++--
 audio/rplay/distinfo         |   3 ++-
 audio/rplay/patches/patch-bc |  24 ++++++++++++++++++++++++
 3 files changed, 28 insertions(+), 3 deletions(-)

diffs (59 lines):

diff -r 1166bd818d13 -r fec97124ae83 audio/rplay/Makefile
--- a/audio/rplay/Makefile      Mon May 18 05:11:50 2009 +0000
+++ b/audio/rplay/Makefile      Mon May 18 05:21:18 2009 +0000
@@ -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 -r 1166bd818d13 -r fec97124ae83 audio/rplay/distinfo
--- a/audio/rplay/distinfo      Mon May 18 05:11:50 2009 +0000
+++ b/audio/rplay/distinfo      Mon May 18 05:21:18 2009 +0000
@@ -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-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 -r 1166bd818d13 -r fec97124ae83 audio/rplay/patches/patch-bc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/rplay/patches/patch-bc      Mon May 18 05:21:18 2009 +0000
@@ -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__ */
+ 



Home | Main Index | Thread Index | Old Index