summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-04-25 14:45:20 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-04-25 14:45:20 +0000
commit53670bd06faeda1f8d41d24842bb7cafc0cdedfb (patch)
tree6bf5efc07933702de55a07ce1c03feea380411bc /media-libs
parentcleaning (diff)
downloadgentoo-2-53670bd06faeda1f8d41d24842bb7cafc0cdedfb.tar.gz
gentoo-2-53670bd06faeda1f8d41d24842bb7cafc0cdedfb.tar.bz2
gentoo-2-53670bd06faeda1f8d41d24842bb7cafc0cdedfb.zip
Add another hunk required to build with gcc4.
(Portage version: 2.0.51.20-r4)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/xine-lib/ChangeLog6
-rw-r--r--media-libs/xine-lib/files/xine-lib-gcc4.patch11
2 files changed, 16 insertions, 1 deletions
diff --git a/media-libs/xine-lib/ChangeLog b/media-libs/xine-lib/ChangeLog
index 626d812017b9..a32cd0e26719 100644
--- a/media-libs/xine-lib/ChangeLog
+++ b/media-libs/xine-lib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/xine-lib
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.211 2005/04/24 19:42:30 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.212 2005/04/25 14:45:20 azarah Exp $
+
+ 25 Apr 2005; Martin Schlemmer <azarah@gentoo.org>
+ files/xine-lib-gcc4.patch:
+ Add another hunk required to build with gcc4.
*xine-lib-1.0-r4 (24 Apr 2005)
diff --git a/media-libs/xine-lib/files/xine-lib-gcc4.patch b/media-libs/xine-lib/files/xine-lib-gcc4.patch
index 09590ac1e9a0..8bb1c04bc5e0 100644
--- a/media-libs/xine-lib/files/xine-lib-gcc4.patch
+++ b/media-libs/xine-lib/files/xine-lib-gcc4.patch
@@ -189,3 +189,14 @@ diff -urN xine-lib-1.0.orig/src/post/audio/stretch.c xine-lib-1.0/src/post/audio
this->num_frames += frames_to_copy;
buf->num_frames -= frames_to_copy;
+--- xine-lib-1.0/src/libw32dll/wine/loader.h 2005-04-25 14:21:09.000000000 +0000
++++ xine-lib-1.0.az/src/libw32dll/wine/loader.h 2005-04-25 14:22:05.000000000 +0000
+@@ -17,7 +17,7 @@
+ extern "C" {
+ #endif
+
+-extern char* win32_codec_name; // must be set before calling DrvOpen() !!!
++static char* win32_codec_name; // must be set before calling DrvOpen() !!!
+
+ unsigned int _GetPrivateProfileIntA(const char* appname, const char* keyname, int default_value, const char* filename);
+ int _GetPrivateProfileStringA(const char* appname, const char* keyname,