From ea52d5a8f9b3218b0a8799112b2a825133be6907 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Wed, 6 Oct 2004 08:16:08 +0000 Subject: Unbreak the build with recent GCC. Reported by: kris Approved by: portmgr (krion), fjoe (mentor, implicit) --- audio/xmms-fc/Makefile | 8 +------- audio/xmms-fc/files/patch-SmartPtr.h | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 7 deletions(-) create mode 100644 audio/xmms-fc/files/patch-SmartPtr.h (limited to 'audio/xmms-fc') diff --git a/audio/xmms-fc/Makefile b/audio/xmms-fc/Makefile index 26e91535e2b1..ce8f4a771c10 100644 --- a/audio/xmms-fc/Makefile +++ b/audio/xmms-fc/Makefile @@ -23,10 +23,4 @@ USE_X_PREFIX= yes GNU_CONFIGURE= yes USE_GNOME= gtk12 -.include - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - -.include +.include diff --git a/audio/xmms-fc/files/patch-SmartPtr.h b/audio/xmms-fc/files/patch-SmartPtr.h new file mode 100644 index 000000000000..7f746dff870f --- /dev/null +++ b/audio/xmms-fc/files/patch-SmartPtr.h @@ -0,0 +1,26 @@ +--- src/SmartPtr.h.orig Wed Oct 6 14:50:12 2004 ++++ src/SmartPtr.h Wed Oct 6 14:51:29 2004 +@@ -207,16 +207,16 @@ + { + 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; + } + } + }; -- cgit v1.2.3