aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-09-19 18:24:02 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-09-19 18:24:02 +0000
commiteb9dac94c2e8e0cad9f01a592d59b31a8f972e5d (patch)
treee8cb940e197b9f089c6028a15fded799e7d6b9aa
parent05a10795ce8da3482f6b5a444d985b6009f5a090 (diff)
downloadports-eb9dac94c2e8e0cad9f01a592d59b31a8f972e5d.tar.gz
ports-eb9dac94c2e8e0cad9f01a592d59b31a8f972e5d.zip
Notes
-rw-r--r--audio/pulseaudio/Makefile3
-rw-r--r--audio/pulseaudio/distinfo6
-rw-r--r--audio/pulseaudio/files/patch-src_modules_module-cli.c15
-rw-r--r--audio/pulseaudio/pkg-plist1
4 files changed, 20 insertions, 5 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index bc52e7bfe6ea..a40a5aaa49e9 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= pulseaudio
-PORTVERSION= 0.9.17
-PORTREVISION= 1
+PORTVERSION= 0.9.18
CATEGORIES= audio
MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/
diff --git a/audio/pulseaudio/distinfo b/audio/pulseaudio/distinfo
index 8c69266256b0..3ab37323b4ae 100644
--- a/audio/pulseaudio/distinfo
+++ b/audio/pulseaudio/distinfo
@@ -1,3 +1,3 @@
-MD5 (pulseaudio-0.9.17.tar.gz) = cba8f14b8213f47e1d35da3a0a3cb076
-SHA256 (pulseaudio-0.9.17.tar.gz) = 9c25c09218c7b6697daa379287443f6183829556990475a2f6d198e85e3119f0
-SIZE (pulseaudio-0.9.17.tar.gz) = 1995665
+MD5 (pulseaudio-0.9.18.tar.gz) = 120dc3c7b75946e649fd3d6bde2b3661
+SHA256 (pulseaudio-0.9.18.tar.gz) = 73327663d500ef9de876d0071feaad3b60ff226c7187fd940c5413289e57c012
+SIZE (pulseaudio-0.9.18.tar.gz) = 2007214
diff --git a/audio/pulseaudio/files/patch-src_modules_module-cli.c b/audio/pulseaudio/files/patch-src_modules_module-cli.c
new file mode 100644
index 000000000000..4b0fedcc8878
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_modules_module-cli.c
@@ -0,0 +1,15 @@
+--- src/modules/module-cli.c.orig 2009-09-19 13:57:53.000000000 -0400
++++ src/modules/module-cli.c 2009-09-19 14:04:25.000000000 -0400
+@@ -105,7 +105,12 @@ int pa__init(pa_module*m) {
+ * of log messages, particularly because if stdout and stderr are
+ * dup'ed they share the same O_NDELAY, too. */
+
++#ifdef O_CLOEXEC
+ if ((fd = open("/dev/tty", O_RDWR|O_CLOEXEC|O_NONBLOCK)) >= 0) {
++#else
++ if ((fd = open("/dev/tty", O_RDWR|O_NONBLOCK)) >= 0 &&
++ fcntl(fd, F_SETFD, FD_CLOEXEC) != -1) {
++#endif
+ io = pa_iochannel_new(m->core->mainloop, fd, fd);
+ pa_log_debug("Managed to open /dev/tty.");
+ } else {
diff --git a/audio/pulseaudio/pkg-plist b/audio/pulseaudio/pkg-plist
index 81809d17dc68..a84db2b5d8c4 100644
--- a/audio/pulseaudio/pkg-plist
+++ b/audio/pulseaudio/pkg-plist
@@ -248,6 +248,7 @@ share/locale/ta/LC_MESSAGES/pulseaudio.mo
share/locale/te/LC_MESSAGES/pulseaudio.mo
share/locale/uk/LC_MESSAGES/pulseaudio.mo
share/locale/zh_CN/LC_MESSAGES/pulseaudio.mo
+share/vala/vapi/libpulse.vapi
%%GCONF%%@dirrm libexec/pulse
@dirrm lib/pulse-%%PULSE_VERSION%%/modules
@dirrm lib/pulse-%%PULSE_VERSION%%