summaryrefslogtreecommitdiffstats
path: root/audio/rhythmbox/files
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-03-05 06:46:50 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-03-05 06:46:50 +0800
commite1c1b9805f6c32ec1bceb2339dfbbf4145e052d4 (patch)
treed1e211958003aaaa51af9612063d5057c2f22702 /audio/rhythmbox/files
parentc0901fbf16a040c79e6998c84d16c624a7e74c87 (diff)
downloadmarcuscom-ports-e1c1b9805f6c32ec1bceb2339dfbbf4145e052d4.tar
marcuscom-ports-e1c1b9805f6c32ec1bceb2339dfbbf4145e052d4.tar.gz
marcuscom-ports-e1c1b9805f6c32ec1bceb2339dfbbf4145e052d4.tar.bz2
marcuscom-ports-e1c1b9805f6c32ec1bceb2339dfbbf4145e052d4.tar.lz
marcuscom-ports-e1c1b9805f6c32ec1bceb2339dfbbf4145e052d4.tar.xz
marcuscom-ports-e1c1b9805f6c32ec1bceb2339dfbbf4145e052d4.tar.zst
marcuscom-ports-e1c1b9805f6c32ec1bceb2339dfbbf4145e052d4.zip
Chase move of totem-gstreamer -> totem
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8455 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/rhythmbox/files')
-rw-r--r--audio/rhythmbox/files/patch-plugins_cd-recorder_rb-recorder-gst.c12
-rw-r--r--audio/rhythmbox/files/patch-plugins_daap_rb-daap-src.c26
-rw-r--r--audio/rhythmbox/files/patch-plugins_ipod_rb-ipod-source.c51
-rw-r--r--audio/rhythmbox/files/patch-podcast_rb-podcast-parse.h10
4 files changed, 99 insertions, 0 deletions
diff --git a/audio/rhythmbox/files/patch-plugins_cd-recorder_rb-recorder-gst.c b/audio/rhythmbox/files/patch-plugins_cd-recorder_rb-recorder-gst.c
new file mode 100644
index 000000000..c70afd0dc
--- /dev/null
+++ b/audio/rhythmbox/files/patch-plugins_cd-recorder_rb-recorder-gst.c
@@ -0,0 +1,12 @@
+--- plugins/cd-recorder/rb-recorder-gst.c.orig Wed Aug 10 20:06:11 2005
++++ plugins/cd-recorder/rb-recorder-gst.c Wed Aug 10 20:06:31 2005
+@@ -25,7 +25,9 @@
+ #include <string.h>
+ #include <math.h>
+ #include <time.h>
++#ifndef __FreeBSD__
+ #include <sys/vfs.h>
++#endif
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
diff --git a/audio/rhythmbox/files/patch-plugins_daap_rb-daap-src.c b/audio/rhythmbox/files/patch-plugins_daap_rb-daap-src.c
new file mode 100644
index 000000000..4d9bb5178
--- /dev/null
+++ b/audio/rhythmbox/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));
diff --git a/audio/rhythmbox/files/patch-plugins_ipod_rb-ipod-source.c b/audio/rhythmbox/files/patch-plugins_ipod_rb-ipod-source.c
new file mode 100644
index 000000000..2195b06b2
--- /dev/null
+++ b/audio/rhythmbox/files/patch-plugins_ipod_rb-ipod-source.c
@@ -0,0 +1,51 @@
+--- plugins/ipod/rb-ipod-source.c.orig Sun Nov 19 12:12:33 2006
++++ plugins/ipod/rb-ipod-source.c Sun Nov 19 12:28:50 2006
+@@ -695,33 +695,36 @@ hal_udi_is_ipod (const char *udi)
+ char *spider_udi;
+ int vnd_id = 0;
+ int product_id = 0;
++ DBusError phone_error;
++
++ dbus_error_init (&phone_error);
+
+ spider_udi = g_strdup(parent_udi);
+ while (vnd_id == 0 && product_id == 0 && spider_udi != NULL) {
+ char *old_udi = spider_udi;
+ spider_udi = libhal_device_get_property_string (ctx, spider_udi,
+- "info.parent", &error);
+- if (dbus_error_is_set (&error)) {
+- dbus_error_free (&error);
+- dbus_error_init (&error);
++ "info.parent", &phone_error);
++ if (dbus_error_is_set (&phone_error)) {
++ dbus_error_free (&phone_error);
++ dbus_error_init (&phone_error);
+ spider_udi = NULL;
+ break;
+ }
+ g_free(old_udi);
+
+ vnd_id = libhal_device_get_property_int (ctx, spider_udi,
+- "usb.vendor_id", &error);
+- if (dbus_error_is_set(&error)) {
+- dbus_error_free (&error);
+- dbus_error_init (&error);
++ "usb.vendor_id", &phone_error);
++ if (dbus_error_is_set(&phone_error)) {
++ dbus_error_free (&phone_error);
++ dbus_error_init (&phone_error);
+ vnd_id = 0;
+ }
+
+ product_id = libhal_device_get_property_int (ctx, spider_udi,
+- "usb.product_id", &error);
+- if (dbus_error_is_set(&error)) {
+- dbus_error_free (&error);
+- dbus_error_init (&error);
++ "usb.product_id", &phone_error);
++ if (dbus_error_is_set(&phone_error)) {
++ dbus_error_free (&phone_error);
++ dbus_error_init (&phone_error);
+ product_id = 0;
+ }
+ }
diff --git a/audio/rhythmbox/files/patch-podcast_rb-podcast-parse.h b/audio/rhythmbox/files/patch-podcast_rb-podcast-parse.h
new file mode 100644
index 000000000..2208b3205
--- /dev/null
+++ b/audio/rhythmbox/files/patch-podcast_rb-podcast-parse.h
@@ -0,0 +1,10 @@
+--- podcast/rb-podcast-parse.h.orig Mon Nov 28 13:51:28 2005
++++ podcast/rb-podcast-parse.h Mon Nov 28 13:51:05 2005
+@@ -22,6 +22,7 @@
+ #ifndef RB_PODCAST_PARSE_H
+ #define RB_PODCAST_PARSE_H
+
++#include <inttypes.h>
+ #include <glib.h>
+
+ typedef struct