summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
+ };
+ };