Gentoo Archives: gentoo-commits

From: "Matthias Schwarzott (zzam)" <zzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-music/files: vdr-music-0.2.0-gcc4.3.diff
Date: Tue, 13 Jan 2009 20:54:31
Message-Id: E1LMqHB-0007r2-Iz@stork.gentoo.org
zzam        09/01/13 20:54:17

  Added:                vdr-music-0.2.0-gcc4.3.diff
  Log:
  Fix compilation with gcc-4.3, Bug #251187
  (Portage version: 2.1.6.5/cvs/Linux 2.6.27-gentoo-r1 i686)

Revision  Changes    Path
1.1                  media-plugins/vdr-music/files/vdr-music-0.2.0-gcc4.3.diff

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-music/files/vdr-music-0.2.0-gcc4.3.diff?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-music/files/vdr-music-0.2.0-gcc4.3.diff?rev=1.1&content-type=text/plain

Index: vdr-music-0.2.0-gcc4.3.diff
===================================================================
diff -ru music-0.2.0-orig/imagecache.h music-0.2.0/imagecache.h
--- music-0.2.0-orig/imagecache.h	2009-01-13 21:43:51.680447146 +0100
+++ music-0.2.0/imagecache.h	2009-01-13 21:47:06.427098002 +0100
@@ -8,6 +8,7 @@
 #include <map>
 #include <vector>
 #include <string>
+#include <stdlib.h>
 
 template<class key_type, class data_type>
 class cxCache {