diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-01 19:23:48 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-01 19:23:48 +0800 |
commit | 0e22d0ed82e459e26b823ea055bdd9977ad8da83 (patch) | |
tree | 7bc3ba5d537f90ceb1adcb987234bf9e257abb1c /audio/rhythmbox-devel/files/patch-plugins_daap_rb-daap-src.c | |
parent | a6164367a81474479aaac42326aece7d6b6ce39f (diff) | |
download | marcuscom-ports-0e22d0ed82e459e26b823ea055bdd9977ad8da83.tar marcuscom-ports-0e22d0ed82e459e26b823ea055bdd9977ad8da83.tar.gz marcuscom-ports-0e22d0ed82e459e26b823ea055bdd9977ad8da83.tar.bz2 marcuscom-ports-0e22d0ed82e459e26b823ea055bdd9977ad8da83.tar.lz marcuscom-ports-0e22d0ed82e459e26b823ea055bdd9977ad8da83.tar.xz marcuscom-ports-0e22d0ed82e459e26b823ea055bdd9977ad8da83.tar.zst marcuscom-ports-0e22d0ed82e459e26b823ea055bdd9977ad8da83.zip |
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8714 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/rhythmbox-devel/files/patch-plugins_daap_rb-daap-src.c')
-rw-r--r-- | audio/rhythmbox-devel/files/patch-plugins_daap_rb-daap-src.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/audio/rhythmbox-devel/files/patch-plugins_daap_rb-daap-src.c b/audio/rhythmbox-devel/files/patch-plugins_daap_rb-daap-src.c new file mode 100644 index 000000000..4d9bb5178 --- /dev/null +++ b/audio/rhythmbox-devel/files/patch-plugins_daap_rb-daap-src.c @@ -0,0 +1,26 @@ +--- plugins/daap/rb-daap-src.c.orig Fri Jan 27 21:11:13 2006 ++++ plugins/daap/rb-daap-src.c Thu Feb 2 02:07:48 2006 +@@ -34,6 +34,7 @@ + #include <sys/ioctl.h> + #include <netdb.h> + #include <unistd.h> ++#include <signal.h> + #include <ctype.h> + + #include <libsoup/soup-headers.h> +@@ -435,7 +436,14 @@ rb_daap_src_write (RBDAAPSrc *src, const + size_t bytes_written = 0; + + while (bytes_written < count) { +- ssize_t wrote = send (src->sock_fd, buf + bytes_written, count - bytes_written, MSG_NOSIGNAL); ++ ssize_t wrote; ++#ifdef MSG_NOSIGNAL ++ wrote = send (src->sock_fd, buf + bytes_written, count - bytes_written, MSG_NOSIGNAL); ++#else ++ signal (SIGPIPE, SIG_IGN); ++ wrote = send (src->sock_fd, buf + bytes_written, count - bytes_written, 0); ++ signal (SIGPIPE, SIG_DFL); ++#endif + + if (wrote < 0) { + GST_WARNING ("error while writing: %s", g_strerror (errno)); |