summaryrefslogtreecommitdiff
path: root/audio/opmixer
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-05-22 15:07:05 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-05-22 15:07:05 +0000
commitabcbc229d7a94e903fe64b4381216af71e129472 (patch)
tree104b71f1205795568131a84424950c3f75e74c59 /audio/opmixer
parentUpdate to 0.13.0. (diff)
namespace fix for GCC 3.x
PR: 48139 Submitted by: Volker Stolz (later by naddy)
Notes
Notes: svn path=/head/; revision=81709
Diffstat (limited to 'audio/opmixer')
-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;
+ };
+ };