summaryrefslogtreecommitdiff
path: root/media-libs/libgpod/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libgpod/files
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libgpod/files')
-rw-r--r--media-libs/libgpod/files/libgpod-0.8.3-comment.patch15
-rw-r--r--media-libs/libgpod/files/libgpod-0.8.3-mono4.patch11
-rw-r--r--media-libs/libgpod/files/libgpod-0.8.3-pkgconfig_overlinking.patch11
-rw-r--r--media-libs/libgpod/files/libgpod-0.8.3-segfault.patch28
4 files changed, 65 insertions, 0 deletions
diff --git a/media-libs/libgpod/files/libgpod-0.8.3-comment.patch b/media-libs/libgpod/files/libgpod-0.8.3-comment.patch
new file mode 100644
index 000000000000..6099b22870bc
--- /dev/null
+++ b/media-libs/libgpod/files/libgpod-0.8.3-comment.patch
@@ -0,0 +1,15 @@
+--- a/bindings/python/gpod.i.in.orig 2015-06-20 23:15:41.000000000 -0700
++++ b/bindings/python/gpod.i.in 2015-06-20 23:16:28.000000000 -0700
+@@ -298,9 +298,9 @@
+ %include "gpod_doc.i"
+ %include "@top_builddir@/config.h"
+
+-# be nicer to decode these utf8 strings into Unicode objects in the C
+-# layer. Here we are leaving it to the Python side, and just giving
+-# them utf8 encoded Strings.
++// be nicer to decode these utf8 strings into Unicode objects in the C
++// layer. Here we are leaving it to the Python side, and just giving
++// them utf8 encoded Strings.
+ typedef char gchar;
+
+ %typemap(in) time_t {
diff --git a/media-libs/libgpod/files/libgpod-0.8.3-mono4.patch b/media-libs/libgpod/files/libgpod-0.8.3-mono4.patch
new file mode 100644
index 000000000000..9cb57b464ffc
--- /dev/null
+++ b/media-libs/libgpod/files/libgpod-0.8.3-mono4.patch
@@ -0,0 +1,11 @@
+--- libgpod-0.8.3/m4/mono.m4.orig 2015-05-18 12:25:35.417699745 +0100
++++ libgpod-0.8.3/m4/mono.m4 2015-05-18 12:25:53.488079557 +0100
+@@ -34,7 +34,7 @@
+
+ AC_DEFUN([SHAMROCK_FIND_MONO_2_0_COMPILER],
+ [
+- SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, gmcs)
++ SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, mcs)
+ ])
+
+ AC_DEFUN([SHAMROCK_FIND_MONO_RUNTIME],
diff --git a/media-libs/libgpod/files/libgpod-0.8.3-pkgconfig_overlinking.patch b/media-libs/libgpod/files/libgpod-0.8.3-pkgconfig_overlinking.patch
new file mode 100644
index 000000000000..a5dafb28576d
--- /dev/null
+++ b/media-libs/libgpod/files/libgpod-0.8.3-pkgconfig_overlinking.patch
@@ -0,0 +1,11 @@
+diff -up libgpod-0.8.2/libgpod-1.0.pc.in.pkgconfig_overlinking libgpod-0.8.2/libgpod-1.0.pc.in
+--- libgpod-0.8.2/libgpod-1.0.pc.in.pkgconfig_overlinking 2011-04-15 03:37:34.000000000 -0500
++++ libgpod-0.8.2/libgpod-1.0.pc.in 2012-08-10 13:53:00.294631805 -0500
+@@ -6,6 +6,6 @@ includedir=@includedir@
+ Name: libgpod
+ Description: A library to manipulate songs and playlists stored on an ipod
+ Version: @VERSION@
+-Requires: glib-2.0 >= 2.8.0 gobject-2.0 @GDKPIXBUF_REQ@ @LIBIMOBILEDEVICE_REQ@
++Requires.private: glib-2.0 >= 2.8.0 gobject-2.0 @GDKPIXBUF_REQ@ @LIBIMOBILEDEVICE_REQ@
+ Libs: -L${libdir} -lgpod
+ Cflags: -I${includedir}/gpod-1.0
diff --git a/media-libs/libgpod/files/libgpod-0.8.3-segfault.patch b/media-libs/libgpod/files/libgpod-0.8.3-segfault.patch
new file mode 100644
index 000000000000..555188149f8b
--- /dev/null
+++ b/media-libs/libgpod/files/libgpod-0.8.3-segfault.patch
@@ -0,0 +1,28 @@
+# Patch from James Burton - https://github.com/jburton/libgpod/commit/342d49c5577682dd4fba35bfd5fb15f7287c7d5a
+--- a/src/itdb_itunesdb.c
++++ b/src/itdb_itunesdb.c
+@@ -1156,6 +1156,7 @@ static gboolean playcounts_plist_read (FImport *fimp, GValue *plist_data)
+ GHashTable *pc_dict, *track_dict;
+ GValue *to_parse;
+ GArray *array;
++ GValue value;
+ gint i;
+ guint32 mac_time;
+ guint64 *dbid;
+@@ -1174,13 +1175,14 @@ static gboolean playcounts_plist_read (FImport *fimp, GValue *plist_data)
+ playcounts = g_hash_table_new_full (g_int64_hash, g_int64_equal, g_free, g_free);
+
+ array = (GArray*)g_value_get_boxed (to_parse);
+ for (i = 0; i < array->len; i++) {
+- if (!G_VALUE_HOLDS (g_array_index (array, GValue *, i), G_TYPE_HASH_TABLE)) {
++ value = g_array_index (array, GValue, i);
++ if (!G_VALUE_HOLDS (&value, G_TYPE_HASH_TABLE)) {
+ continue;
+ }
+
+- track_dict = g_value_get_boxed (g_array_index (array, GValue *, i));
++ track_dict = g_value_get_boxed (&value);
+ if (track_dict == NULL)
+ continue;
+
+ to_parse = g_hash_table_lookup (track_dict, "persistentID");