diff options
author | joerg <joerg@pkgsrc.org> | 2006-04-19 16:51:47 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-04-19 16:51:47 +0000 |
commit | d1f830795baa406f85e712a25701d281e0913d98 (patch) | |
tree | c81ee48108a552fb1e96901fa6e3ea25f6f94dd2 | |
parent | 220e03980a52b131628ca57cd148f9a5d57a7ab8 (diff) | |
download | pkgsrc-d1f830795baa406f85e712a25701d281e0913d98.tar.gz |
Fix build with GCC 3.4+ by adding explicit this references for template
members.
-rw-r--r-- | audio/libsidplay2/distinfo | 3 | ||||
-rw-r--r-- | audio/libsidplay2/patches/patch-aa | 28 |
2 files changed, 30 insertions, 1 deletions
diff --git a/audio/libsidplay2/distinfo b/audio/libsidplay2/distinfo index 90e36a8c740..dd9d0eadf3d 100644 --- a/audio/libsidplay2/distinfo +++ b/audio/libsidplay2/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/04/09 13:12:02 joerg Exp $ +$NetBSD: distinfo,v 1.2 2006/04/19 16:51:47 joerg Exp $ SHA1 (sidplay-libs-2.1.1.tar.gz) = 8af6350866edc30b0d331e075fa97292f6f645a5 RMD160 (sidplay-libs-2.1.1.tar.gz) = 1ce4c3cb80470a834c5887b3f3be0b61ca71e4cd Size (sidplay-libs-2.1.1.tar.gz) = 1900252 bytes +SHA1 (patch-aa) = 78d39563d5296070ef4dd7f51df39f488dcc5343 diff --git a/audio/libsidplay2/patches/patch-aa b/audio/libsidplay2/patches/patch-aa new file mode 100644 index 00000000000..bcfe36bd22e --- /dev/null +++ b/audio/libsidplay2/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1 2006/04/19 16:51:47 joerg Exp $ + +--- libsidplay/include/sidplay/SmartPtr.h.orig 2006-04-19 15:53:41.000000000 +0000 ++++ libsidplay/include/sidplay/SmartPtr.h +@@ -211,16 +211,16 @@ class SmartPtr_sidtt : public SmartPtrBa + { + if ( bufferLen >= 1 ) + { +- pBufCurrent = ( bufBegin = buffer ); +- bufEnd = bufBegin + bufferLen; +- bufLen = bufferLen; +- status = true; ++ this->pBufCurrent = ( this->bufBegin = buffer ); ++ this->bufEnd = this->bufBegin + bufferLen; ++ this->bufLen = bufferLen; ++ this->status = true; + } + else + { +- pBufCurrent = bufBegin = bufEnd = 0; +- bufLen = 0; +- status = false; ++ this->pBufCurrent = this->bufBegin = this->bufEnd = 0; ++ this->bufLen = 0; ++ this->status = false; + } + } + }; |