diff options
author | danfe <danfe@FreeBSD.org> | 2004-10-06 08:16:08 +0000 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2004-10-06 08:16:08 +0000 |
commit | 9e3cf9900fa95ebc89e75ac32b6f9f1909c8491b (patch) | |
tree | f17ea143404bba92d1484980df12085527b96a21 | |
parent | c9098b005a7d77ebb205e7fc1dcbe3ad035ebaff (diff) | |
download | FreeBSD-ports-9e3cf9900fa95ebc89e75ac32b6f9f1909c8491b.zip FreeBSD-ports-9e3cf9900fa95ebc89e75ac32b6f9f1909c8491b.tar.gz |
Unbreak the build with recent GCC.
Reported by: kris
Approved by: portmgr (krion), fjoe (mentor, implicit)
-rw-r--r-- | audio/xmms-fc/Makefile | 8 | ||||
-rw-r--r-- | audio/xmms-fc/files/patch-SmartPtr.h | 26 |
2 files changed, 27 insertions, 7 deletions
diff --git a/audio/xmms-fc/Makefile b/audio/xmms-fc/Makefile index 26e9153..ce8f4a7 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 <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/audio/xmms-fc/files/patch-SmartPtr.h b/audio/xmms-fc/files/patch-SmartPtr.h new file mode 100644 index 0000000..7f746df --- /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; + } + } + }; |