summaryrefslogtreecommitdiff
path: root/audio/xsidplay/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-07 18:59:26 +0000
committerjoerg <joerg>2005-12-07 18:59:26 +0000
commit1d09ce02dc89c1d722990490507f0445e627e164 (patch)
treee2eda5d6b9bc63e55918f5ea794d6402c2dd875c /audio/xsidplay/patches
parent64ccb68ce85b68834cbea37eda136466ec43321b (diff)
downloadpkgsrc-1d09ce02dc89c1d722990490507f0445e627e164.tar.gz
Add an explicit cast from streampos to size_t, GCC 3.4 follows the
standard by considering it ambigous. Override ltmain.sh with pkgsrc version to avoid linkage problem on DragonFly. The old ltmain.sh is confused by -pthread.
Diffstat (limited to 'audio/xsidplay/patches')
-rw-r--r--audio/xsidplay/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
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