diff options
Diffstat (limited to 'audio/xsidplay')
-rw-r--r-- | audio/xsidplay/Makefile | 5 | ||||
-rw-r--r-- | audio/xsidplay/distinfo | 3 | ||||
-rw-r--r-- | audio/xsidplay/patches/patch-ab | 13 |
3 files changed, 19 insertions, 2 deletions
diff --git a/audio/xsidplay/Makefile b/audio/xsidplay/Makefile index b5800d862d0..a98109cd152 100644 --- a/audio/xsidplay/Makefile +++ b/audio/xsidplay/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2005/12/05 23:55:02 rillig Exp $ +# $NetBSD: Makefile,v 1.35 2005/12/07 18:59:26 joerg Exp $ # DISTNAME= xsidplay-1.6.5.1a @@ -23,6 +23,9 @@ CONFIGURE_ENV+= DISABLE_ARTSD_TEST=yes INSTALLATION_DIRS= bin +pre-configure: + rm ${WRKSRC}/scripts/ltmain.sh && ${LN} -s ${PREFIX}/share/libtool/ltmain.sh ${WRKSRC}/scripts/ltmain.sh + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${PREFIX}/bin diff --git a/audio/xsidplay/distinfo b/audio/xsidplay/distinfo index 11e49546bfe..7b174f9046a 100644 --- a/audio/xsidplay/distinfo +++ b/audio/xsidplay/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.7 2005/10/03 20:48:42 joerg Exp $ +$NetBSD: distinfo,v 1.8 2005/12/07 18:59:26 joerg Exp $ SHA1 (xsidplay-1.6.5.1a.tgz) = 60f2262a8dd79b276272d49eff9a07277dc6c9aa RMD160 (xsidplay-1.6.5.1a.tgz) = 9a0529c7b76e7659feddc35c04aaf81ae2002984 Size (xsidplay-1.6.5.1a.tgz) = 355698 bytes SHA1 (patch-aa) = f5a6065735aa1b925c6b9f912a85b72741b94a87 +SHA1 (patch-ab) = 188ab597250e8a444d33f0813fba157a3469872e diff --git a/audio/xsidplay/patches/patch-ab b/audio/xsidplay/patches/patch-ab new file mode 100644 index 00000000000..d6b32e4b7b8 --- /dev/null +++ b/audio/xsidplay/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.8 2005/12/07 18:59:26 joerg Exp $ + +--- src/songlendb/File.cpp.orig 2005-12-07 16:56:52.000000000 +0000 ++++ src/songlendb/File.cpp +@@ -126,7 +126,7 @@ bool SongLengthFile::init(const char* fi + streampos fileLen = myIn.tellg(); + #endif + #ifdef XSID_HAVE_NOTHROW +- pDB = new(std::nothrow) char[fileLen+1L]; ++ pDB = new(std::nothrow) char[(size_t)fileLen+1L]; + #else + pDB = new char[fileLen+1L]; + #endif |