summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-19 16:04:44 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-19 16:04:44 +0000
commita6b35a21dab87211d38085a78ebb623958031fe6 (patch)
tree230af689abba244510ac8d6361820f9bab3edab5 /media-sound/amarok/files
parentVersion bump. Clean up old. (diff)
downloadgentoo-2-a6b35a21dab87211d38085a78ebb623958031fe6.tar.gz
gentoo-2-a6b35a21dab87211d38085a78ebb623958031fe6.tar.bz2
gentoo-2-a6b35a21dab87211d38085a78ebb623958031fe6.zip
Add patch to fix building with libgpod and --as-needed (bug #154022). Thanks to Timothy (drizzt) who gave me the patch.
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'media-sound/amarok/files')
-rw-r--r--media-sound/amarok/files/amarok-1.4.4-asneeded.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/media-sound/amarok/files/amarok-1.4.4-asneeded.patch b/media-sound/amarok/files/amarok-1.4.4-asneeded.patch
new file mode 100644
index 000000000000..90eb2b982e89
--- /dev/null
+++ b/media-sound/amarok/files/amarok-1.4.4-asneeded.patch
@@ -0,0 +1,26 @@
+Index: amarok/configure.in.in
+===================================================================
+--- amarok/configure.in.in (revision 606189)
++++ amarok/configure.in.in (revision 606190)
+@@ -886,10 +886,10 @@
+ if test "x$have_libgpod" = "xyes"; then
+ ac_cppflags_save=$CPPFLAGS
+ ac_cflags_save=$CFLAGS
+- ac_ldflags_save=$LDFLAGS
++ ac_libs_save=$LIBS
+ CPPFLAGS="$CPPFLAGS $LIBGPOD_INCLUDES"
+ CFLAGS="$CFLAGS $LIBGPOD_CFLAGS"
+- LDFLAGS="$LDFLAGS $LIBGPOD_LIBS"
++ LIBS="$LIBS $LIBGPOD_LIBS"
+
+ AC_CHECK_FUNCS(itdb_track_set_thumbnails, have_libgpod_artwork=yes)
+ AC_CHECK_FUNCS(itdb_get_mountpoint)
+@@ -917,7 +917,7 @@
+
+ CPPFLAGS=$ac_cppflags_save
+ CFLAGS=$ac_cflags_save
+- LDFLAGS=$ac_ldflags_save
++ LIBS=$ac_libs_save
+ fi
+ fi
+ fi