aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2003-05-22 23:07:05 +0800
committertrevor <trevor@FreeBSD.org>2003-05-22 23:07:05 +0800
commit01a8d2e6f781dd75d8adabe83476c056ece4f41e (patch)
tree10e40001c6c8871ccd9fb3ed597cdccd0a25f95d
parente1e1c9d6e46e0d30efad86a89fe26a2e7619906f (diff)
downloadfreebsd-ports-gnome-01a8d2e6f781dd75d8adabe83476c056ece4f41e.tar.gz
freebsd-ports-gnome-01a8d2e6f781dd75d8adabe83476c056ece4f41e.tar.zst
freebsd-ports-gnome-01a8d2e6f781dd75d8adabe83476c056ece4f41e.zip
namespace fix for GCC 3.x
PR: 48139 Submitted by: Volker Stolz (later by naddy)
-rw-r--r--audio/opmixer/Makefile8
-rw-r--r--audio/opmixer/files/patch-volset.cc12
2 files changed, 13 insertions, 7 deletions
diff --git a/audio/opmixer/Makefile b/audio/opmixer/Makefile
index c261b62a4af6..910709f6d1f4 100644
--- a/audio/opmixer/Makefile
+++ b/audio/opmixer/Makefile
@@ -18,12 +18,6 @@ COMMENT= Adjusts a mixer
LIB_DEPENDS= gtkmm.2:${PORTSDIR}/x11-toolkits/gtk-- \
intl.4:${PORTSDIR}/devel/gettext
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
DOCDIR= share/doc/${PORTNAME}
USE_BZIP2= yes
USE_X_PREFIX= yes
@@ -47,4 +41,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${DOCDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/opmixer/files/patch-volset.cc b/audio/opmixer/files/patch-volset.cc
new file mode 100644
index 000000000000..ae3d786bd7df
--- /dev/null
+++ b/audio/opmixer/files/patch-volset.cc
@@ -0,0 +1,12 @@
+$FreeBSD$
+
+--- volset.cc.orig Mon May 21 19:35:48 2001
++++ volset.cc Thu May 22 15:00:39 2003
+@@ -22,6 +22,6 @@
+ int pcmvol = atoi(argv[2]);
+ myMixer->SetLevel("vol",mainvol);
+ myMixer->SetLevel("pcm",pcmvol);
+- std::cout << "Main : " << mainvol << " PCM : " << pcmvol << endl;
++ std::cout << "Main : " << mainvol << " PCM : " << pcmvol << std::endl;
+ };
+ };