summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/xmms-fc/Makefile8
-rw-r--r--audio/xmms-fc/files/patch-SmartPtr.h26
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;
+ }
+ }
+ };
OpenPOWER on IntegriCloud