Update to 0.9.18.

Feature safe:	yes
This commit is contained in:
Joe Marcus Clarke 2009-09-19 18:24:02 +00:00
parent 05a10795ce
commit eb9dac94c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241757
4 changed files with 20 additions and 5 deletions

View file

@ -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}/

View file

@ -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

View file

@ -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 {

View file

@ -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%%