pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libsidplay2 Fix build with GCC 3.4+ by adding ex...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e52c1ac5083f
branches:  trunk
changeset: 511691:e52c1ac5083f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Apr 19 16:51:47 2006 +0000

description:
Fix build with GCC 3.4+ by adding explicit this references for template
members.

diffstat:

 audio/libsidplay2/distinfo         |   3 ++-
 audio/libsidplay2/patches/patch-aa |  28 ++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r 5e119153390f -r e52c1ac5083f audio/libsidplay2/distinfo
--- a/audio/libsidplay2/distinfo        Wed Apr 19 16:50:36 2006 +0000
+++ b/audio/libsidplay2/distinfo        Wed Apr 19 16:51:47 2006 +0000
@@ -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 -r 5e119153390f -r e52c1ac5083f audio/libsidplay2/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libsidplay2/patches/patch-aa        Wed Apr 19 16:51:47 2006 +0000
@@ -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;
+               }
+       }
+ };



Home | Main Index | Thread Index | Old Index