libxine 1.1.0 add gcc4.1.1 patch (static vs. nonstatic declaration)
authorMichael Lauer <mickey@vanille-media.de>
Mon, 18 Sep 2006 16:58:06 +0000 (16:58 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Mon, 18 Sep 2006 16:58:06 +0000 (16:58 +0000)
packages/libxine/libxine-1.1.0/gcc41.patch [new file with mode: 0644]
packages/libxine/libxine_1.1.0.bb

diff --git a/packages/libxine/libxine-1.1.0/gcc41.patch b/packages/libxine/libxine-1.1.0/gcc41.patch
new file mode 100644 (file)
index 0000000..f201a5e
--- /dev/null
@@ -0,0 +1,13 @@
+Index: xine-lib-1.1.0/src/libffmpeg/libavcodec/mpegvideo.h
+===================================================================
+--- xine-lib-1.1.0.orig/src/libffmpeg/libavcodec/mpegvideo.h
++++ xine-lib-1.1.0/src/libffmpeg/libavcodec/mpegvideo.h
+@@ -928,7 +928,7 @@ int ff_mpeg4_get_video_packet_prefix_len
+ int ff_h263_resync(MpegEncContext *s);
+ int ff_h263_get_gob_height(MpegEncContext *s);
+ int ff_mpeg4_set_direct_mv(MpegEncContext *s, int mx, int my);
+-int ff_h263_round_chroma(int x);
++static int ff_h263_round_chroma(int x);
+ void ff_h263_encode_motion(MpegEncContext * s, int val, int f_code);
+ int ff_mpeg4_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size);
index b4ab063..735a185 100644 (file)
@@ -5,7 +5,7 @@ PRIORITY = "optional"
 LICENSE = "GPL"
 DEPENDS = "zlib libogg libvorbis tremor libmad libmodplug esound-gpe virtual/libx11 libxext libpng"
 PROVIDES = "virtual/libxine"
-PR = "r0"
+PR = "r1"
 
 inherit autotools pkgconfig gettext binconfig
 
@@ -22,6 +22,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/xine/xine-lib-${PV}.tar.gz \
     file://mpegvideo-static-inlinine.patch;patch=1 \
     file://no-caca.patch;patch=1 \
     file://dont-have-xv.patch;patch=1 \
+    file://gcc41.patch;patch=1"
 "
 
 DEFAULT_PREFERENCE = "-1"