diff options
author | Olivier Crête <tester@gentoo.org> | 2007-06-28 14:50:45 +0000 |
---|---|---|
committer | Olivier Crête <tester@gentoo.org> | 2007-06-28 14:50:45 +0000 |
commit | fa7cfc6c5395dd54056d66b8294d3420ef9834b4 (patch) | |
tree | 3d8d49bb0760ebc9b8bd13fcb4c31f542fb0726d /media-libs/libgpod/files | |
parent | refactor patch code a bit (diff) | |
download | gentoo-2-fa7cfc6c5395dd54056d66b8294d3420ef9834b4.tar.gz gentoo-2-fa7cfc6c5395dd54056d66b8294d3420ef9834b4.tar.bz2 gentoo-2-fa7cfc6c5395dd54056d66b8294d3420ef9834b4.zip |
Add patch to make it build without GDK
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-libs/libgpod/files')
-rw-r--r-- | media-libs/libgpod/files/libgpod-0.5.2-no-gdk.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/media-libs/libgpod/files/libgpod-0.5.2-no-gdk.patch b/media-libs/libgpod/files/libgpod-0.5.2-no-gdk.patch new file mode 100644 index 000000000000..32bc4938bd1f --- /dev/null +++ b/media-libs/libgpod/files/libgpod-0.5.2-no-gdk.patch @@ -0,0 +1,26 @@ +--- itdb_artwork.c~ 2007-05-07 07:42:09.000000000 -0400 ++++ itdb_artwork.c 2007-06-28 10:41:02.000000000 -0400 +@@ -849,9 +849,11 @@ + g_return_if_fail (thumb); + + g_free (thumb->image_data); ++#ifdef HAVE_GDKPIXBUF + if (thumb->pixbuf) { + g_object_unref (G_OBJECT (thumb->pixbuf)); + } ++#endif + g_free (thumb->filename); + g_free (thumb); + } +@@ -883,9 +885,11 @@ + memcpy (new_thumb->image_data, thumb->image_data, + new_thumb->image_data_len); + } ++#ifdef HAVE_GDKPIXBUF + if (thumb->pixbuf) { + g_object_ref (G_OBJECT (thumb->pixbuf)); + } ++#endif + return new_thumb; + } + |