summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-05-24 03:02:06 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-05-24 03:02:06 +0000
commitce3ad8713bea1af19cfe7278099e428e21ffff95 (patch)
treeb0cc7d807e24a4a2967bcd0c0a144d462bc8733c /media-sound/qtscrobbler/files
parentinitial import, ebuild by me (diff)
downloadgentoo-2-ce3ad8713bea1af19cfe7278099e428e21ffff95.tar.gz
gentoo-2-ce3ad8713bea1af19cfe7278099e428e21ffff95.tar.bz2
gentoo-2-ce3ad8713bea1af19cfe7278099e428e21ffff95.zip
Fix building with recent toolchain (missing #include <cstdlib> for function "free") wrt #405667 by Piotr Szymaniak and Krzysztof Kundzicz. Install 128x128 icon to hicolor directory instead of legacy pixmaps and update icon cache.
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/qtscrobbler/files')
-rw-r--r--media-sound/qtscrobbler/files/qtscrobbler-0.10-free.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-sound/qtscrobbler/files/qtscrobbler-0.10-free.patch b/media-sound/qtscrobbler/files/qtscrobbler-0.10-free.patch
new file mode 100644
index 000000000000..d6802751f0e0
--- /dev/null
+++ b/media-sound/qtscrobbler/files/qtscrobbler-0.10-free.patch
@@ -0,0 +1,16 @@
+g++ -c ../lib/mtp-libmtp.cpp -o mtp.o -Wall -I../lib `curl-config --cflags` `pkg-config --cflags libmtp` -DHAVE_LIBMTP
+../lib/mtp-libmtp.cpp: In member function ‘void Scrobble::mtp_iterate(bool)’:
+../lib/mtp-libmtp.cpp:104:30: error: ‘free’ was not declared in this scope
+
+http://bugs.gentoo.org/405667
+
+--- src/lib/mtp-libmtp.cpp
++++ src/lib/mtp-libmtp.cpp
+@@ -16,6 +16,7 @@
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
+ ***************************************************************************/
+
++#include <cstdlib> /* free */
+ #include <iostream>
+ #include "libscrobble.h"
+