diff options
Diffstat (limited to 'multimedia/libxine/files')
4 files changed, 38 insertions, 33 deletions
diff --git a/multimedia/libxine/files/patch-configure b/multimedia/libxine/files/patch-configure index 75aef21bea66..db9a5b876cc6 100644 --- a/multimedia/libxine/files/patch-configure +++ b/multimedia/libxine/files/patch-configure @@ -9,7 +9,16 @@ arch_x86=64 $as_echo "#define ARCH_X86_64 /**/" >>confdefs.h -@@ -26197,7 +26197,7 @@ fi +@@ -20685,7 +20685,7 @@ fi + + if test "$sarchopt" != "no"; then + case "$host_or_hostalias" in +- i386-*) archopt_val="i386" ;; ++ i386-*) ;; + i486-*) archopt_val="i486" ;; + i586-*) archopt_val="pentium" ;; + pentium-mmx-*) archopt_val="pentium-mmx" ;; +@@ -26280,7 +26280,7 @@ fi if test x"$enable_dvb" != x"no"; then case "$host_os" in diff --git a/multimedia/libxine/files/patch-src-post-deinterlace-plugins-greedy2frame_template_sse2.c b/multimedia/libxine/files/patch-src-post-deinterlace-plugins-greedy2frame_template_sse2.c new file mode 100644 index 000000000000..c794b5771091 --- /dev/null +++ b/multimedia/libxine/files/patch-src-post-deinterlace-plugins-greedy2frame_template_sse2.c @@ -0,0 +1,28 @@ +--- src/post/deinterlace/plugins/greedy2frame_template_sse2.c.orig 2013-09-03 20:12:37.000000000 +0200 ++++ src/post/deinterlace/plugins/greedy2frame_template_sse2.c 2013-09-03 20:22:34.000000000 +0200 +@@ -173,8 +173,8 @@ + */ + "movdqa (%3), %%xmm1 \n\t" /* xmm1 = T1 */ + "movdqa (%4), %%xmm0 \n\t" /* xmm0 = T0 */ +- "movdqa (%q5,%3), %%xmm3 \n\t" /* xmm3 = B1 */ +- "movdqa (%q5,%4), %%xmm2 \n\t" /* xmm2 = B0 */ ++ "movdqa (%3,%5), %%xmm3 \n\t" /* xmm3 = B1 */ ++ "movdqa (%4,%5), %%xmm2 \n\t" /* xmm2 = B0 */ + + /* calculate |T1-T0| keep T1 put result in xmm5 */ + "movdqa %%xmm1, %%xmm5 \n\t" +@@ -192,11 +192,11 @@ + "pcmpgtb %1, %%xmm5 \n\t" + "pcmpeqd %%xmm7, %%xmm5 \n\t" + +- "prefetcht0 64(%q5,%3) \n\t" +- "prefetcht0 64(%q5,%4) \n\t" ++ "prefetcht0 64(%3,%5) \n\t" ++ "prefetcht0 64(%4,%5) \n\t" + : + : "r" (M1), "m" (GreedyTwoFrameThreshold128), +- "m" (*Destc), "r" (T1), "r" (T0), "r" (Pitch) ); ++ "m" (*Destc), "r" (T1), "r" (T0), "r" ((register_t)Pitch) ); + + asm volatile ( + /* calculate |B1-B0| keep B1 put result in xmm4 */ diff --git a/multimedia/libxine/files/patch-src_libreal_real_common.c b/multimedia/libxine/files/patch-src_libreal_real_common.c deleted file mode 100644 index 0cfd757c2e69..000000000000 --- a/multimedia/libxine/files/patch-src_libreal_real_common.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/libreal/real_common.c.orig 2008-01-01 22:30:08.000000000 +0900 -+++ src/libreal/real_common.c 2008-01-13 04:05:14.000000000 +0900 -@@ -97,6 +97,7 @@ - { O | UL, "codecs" }, - { O | UL | UL64, "real" }, - { O, "real/RealPlayer/codecs" }, -+ { OL | OL64 | UL | UL64, "RealPlayer/codecs" }, - { OL | OL64 | UL | UL64, "RealPlayer10GOLD/codecs" }, - { OL | OL64 | UL | UL64, "RealPlayer10/codecs" }, - { OL | OL64 | UL | UL64, "RealPlayer9/users/Real/Codecs" }, diff --git a/multimedia/libxine/files/patch-src_libreal_xine_real_audio_decoder.c b/multimedia/libxine/files/patch-src_libreal_xine_real_audio_decoder.c deleted file mode 100644 index 67de5aee5d1a..000000000000 --- a/multimedia/libxine/files/patch-src_libreal_xine_real_audio_decoder.c +++ /dev/null @@ -1,22 +0,0 @@ ---- src/libreal/xine_real_audio_decoder.c.orig 2008-01-01 22:30:08.000000000 +0900 -+++ src/libreal/xine_real_audio_decoder.c 2008-01-20 01:44:15.000000000 +0900 -@@ -45,6 +45,19 @@ - - #include "real_common.h" - -+#if defined(__FreeBSD__) -+void ___brk_addr(void) {exit(0);} -+void __ctype_b(void) {exit(0);} -+void __strtod_internal(void) {exit(0);} -+void __strtold_internal(void) {exit(0);} -+void __strtof_internal(void) {exit(0);} -+void __errno_location(void) {exit(0);} -+void dl_iterate_phdr(void) {exit(0);} -+char **__environ={NULL}; -+#undef stderr -+FILE *stderr=NULL; -+#endif -+ - typedef struct { - audio_decoder_class_t decoder_class; - |