diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2006-01-07 22:51:09 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2006-01-07 22:51:09 +0000 |
commit | 6ff9129741aada01eb7008dc9e4c09c8165a8d02 (patch) | |
tree | 97ca51a3856ba44711b20ac35eefdfb77493e38d /media-plugins | |
parent | Update homepage & SRC_URI, closes bug #118224. (diff) | |
download | historical-6ff9129741aada01eb7008dc9e4c09c8165a8d02.tar.gz historical-6ff9129741aada01eb7008dc9e4c09c8165a8d02.tar.bz2 historical-6ff9129741aada01eb7008dc9e4c09c8165a8d02.zip |
GCC4 compatability patch from upstream, closes bug #118050. Thanks to Mark Loeser <halcy0n@gentoo.org>.
Package-Manager: portage-2.0.54
Diffstat (limited to 'media-plugins')
4 files changed, 270 insertions, 9 deletions
diff --git a/media-plugins/libvisual-plugins/ChangeLog b/media-plugins/libvisual-plugins/ChangeLog index 016b8d08fa83..d4ec39a2e46d 100644 --- a/media-plugins/libvisual-plugins/ChangeLog +++ b/media-plugins/libvisual-plugins/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-plugins/libvisual-plugins -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/libvisual-plugins/ChangeLog,v 1.10 2005/12/23 10:30:19 corsair Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/libvisual-plugins/ChangeLog,v 1.11 2006/01/07 22:51:09 chainsaw Exp $ + + 07 Jan 2006; <chainsaw@gentoo.org> + +files/libvisual-plugins-0.2.0-gcc4.patch, libvisual-plugins-0.2.0.ebuild: + GCC4 compatability patch from upstream, closes bug #118050. Thanks to Mark + Loeser <halcy0n@gentoo.org>. 23 Dec 2005; Markus Rothe <corsair@gentoo.org> libvisual-plugins-0.2.0.ebuild: diff --git a/media-plugins/libvisual-plugins/Manifest b/media-plugins/libvisual-plugins/Manifest index d4680e56aada..cbdce5c25fe0 100644 --- a/media-plugins/libvisual-plugins/Manifest +++ b/media-plugins/libvisual-plugins/Manifest @@ -1,10 +1,21 @@ -MD5 fee4784c95524907344e85c7e8c66aaa ChangeLog 1886 -MD5 754678c81877b8e077031dbe33931f59 libvisual-plugins-0.1.6.ebuild 833 -MD5 b979542328754f4832e48fcf1afdc627 libvisual-plugins-0.1.7.ebuild 846 -MD5 a3fe2d92a4e5ec670907ca61db4f0d6e libvisual-plugins-0.2.0.ebuild 1272 -MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 ba168fab41ec8a9feeb96698e3e50892 ChangeLog 2110 MD5 e341800a9ecd70a1be2bd3dca5e651e3 files/digest-libvisual-plugins-0.1.6 75 MD5 ef7a43fa14e3c6e823115c74c891dc7c files/digest-libvisual-plugins-0.1.7 75 MD5 ba5f0b6a4d085dd4ddc2667c3574fada files/digest-libvisual-plugins-0.2.0 76 MD5 cd32e1ad4bd26ebca70a0f65350195ba files/libvisual-plugins-0.2.0-configure.patch 414 +MD5 5f2815a67afc789fec162d1ef0cbd1b6 files/libvisual-plugins-0.2.0-gcc4.patch 6921 MD5 4e8836d46ad26fa82d437ccab5590867 files/libvisual-plugins-0.2.0-mkdirhier.patch 1511 +MD5 754678c81877b8e077031dbe33931f59 libvisual-plugins-0.1.6.ebuild 833 +MD5 b979542328754f4832e48fcf1afdc627 libvisual-plugins-0.1.7.ebuild 846 +MD5 746cd130318dcdedfd221a0776c9f54b libvisual-plugins-0.2.0.ebuild 1489 +MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) + +iD8DBQFDwEYCp5vW4rUFj5oRAlYjAJ4+92uag/WiTVg1R9btFfbuSuAuTgCfZ2mE +cXA2JmbKxg9zcbSeka2Ctqw= +=c6Ja +-----END PGP SIGNATURE----- diff --git a/media-plugins/libvisual-plugins/files/libvisual-plugins-0.2.0-gcc4.patch b/media-plugins/libvisual-plugins/files/libvisual-plugins-0.2.0-gcc4.patch new file mode 100644 index 000000000000..72fd145321a1 --- /dev/null +++ b/media-plugins/libvisual-plugins/files/libvisual-plugins-0.2.0-gcc4.patch @@ -0,0 +1,241 @@ +--- plugins/actor/bumpscope/bump_scope.c~ 2005-01-18 13:52:43.000000000 +0100 ++++ plugins/actor/bumpscope/bump_scope.c 2005-09-01 09:45:42.000000000 +0200 +@@ -56,7 +56,7 @@ + + __asm __volatile + ("pxor %%mm6, %%mm6" +- ::: "mm6"); ++ ::); + + while(i -= 4) + { +@@ -81,8 +81,7 @@ + , [pix2] "m" (*(iptr - bpl)) + , [pix3] "m" (*(iptr - 1)) + , [pix4] "m" (*(iptr + 1)) +- , [pix5] "m" (*(iptr + bpl)) +- : "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7"); ++ , [pix5] "m" (*(iptr + bpl))); + + iptr += 4; + } + +--- plugins/actor/oinksie/gfx-blur.c~ 2005-01-13 05:12:01.000000000 +0100 ++++ plugins/actor/oinksie/gfx-blur.c 2005-09-01 09:52:26.000000000 +0200 +@@ -43,8 +43,7 @@ + "\n\t movd %[fade], %%mm4" + "\n\t psllq $32, %%mm3" + "\n\t por %%mm4, %%mm3" +- :: [fade] "m" (fadeflag) +- : "mm3", "mm4"); ++ :: [fade] "m" (fadeflag)); + + + for (i = 0; i < priv->screen_size; i += 8) { +@@ -52,8 +51,7 @@ + ("\n\t movq %[buf], %%mm0" + "\n\t psubsb %%mm3, %%mm0" + "\n\t movq %%mm0, %[buf]" +- :: [buf] "m" (*buf) +- : "mm0"); ++ :: [buf] "m" (*buf)); + } + + __asm __volatile +@@ -95,7 +93,7 @@ + #ifdef VISUAL_ARCH_X86 + __asm __volatile + ("\n\t pxor %%mm6, %%mm6" +- ::: "mm6"); ++ ::); + + /* Prepare substraction register */ + for (i = 0; i < scrsh; i += 4) { +@@ -117,8 +115,7 @@ + :: [buf] "m" (*(buf + i)) + , [add1] "m" (*(buf + i + priv->screen_width)) + , [add2] "m" (*(buf + i + priv->screen_width + 1)) +- , [add3] "m" (*(buf + i + priv->screen_width - 1)) +- : "mm0", "mm1", "mm2", "mm3", "mm6"); ++ , [add3] "m" (*(buf + i + priv->screen_width - 1))); + } + + for (i = priv->screen_size - 1; i > scrsh; i -= 4) { +@@ -140,8 +137,7 @@ + :: [buf] "m" (*(buf + i)) + , [add1] "m" (*(buf + i - priv->screen_width)) + , [add2] "m" (*(buf + i - priv->screen_width + 1)) +- , [add3] "m" (*(buf + i - priv->screen_width - 1)) +- : "mm0", "mm1", "mm2", "mm3", "mm6"); ++ , [add3] "m" (*(buf + i - priv->screen_width - 1))); + } + + __asm __volatile +@@ -176,7 +172,7 @@ + #ifdef VISUAL_ARCH_X86 + __asm __volatile + ("\n\t pxor %%mm6, %%mm6" +- ::: "mm6"); ++ ::); + + /* Prepare substraction register */ + for (i = scrsh; i > 0; i -= 4) { +@@ -198,8 +194,7 @@ + :: [buf] "m" (*(buf + i)) + , [add1] "m" (*(buf + i + priv->screen_width)) + , [add2] "m" (*(buf + i + priv->screen_width + 1)) +- , [add3] "m" (*(buf + i + priv->screen_width - 1)) +- : "mm0", "mm1", "mm2", "mm3", "mm6"); ++ , [add3] "m" (*(buf + i + priv->screen_width - 1))); + } + + for (i = scrsh; i < priv->screen_size - 2; i += 4) { +@@ -221,8 +216,7 @@ + :: [buf] "m" (*(buf + i)) + , [add1] "m" (*(buf + i - priv->screen_width)) + , [add2] "m" (*(buf + i - priv->screen_width + 1)) +- , [add3] "m" (*(buf + i - priv->screen_width - 1)) +- : "mm0", "mm1", "mm2", "mm3", "mm6"); ++ , [add3] "m" (*(buf + i - priv->screen_width - 1))); + } + + __asm __volatile +--- plugins/actor/infinite/display.c~ 2005-01-13 22:21:38.000000000 +0100 ++++ plugins/actor/infinite/display.c 2005-09-01 09:29:36.000000000 +0200 +@@ -70,6 +70,7 @@ + */ + + if (cpucaps->hasMMX == 100) { ++#if 0 + #ifdef VISUAL_ARCH_X86 + int add_src2[2]; + uint8_t *ptr_pix2[2]; +@@ -94,8 +95,7 @@ + "\n\t pxor %%mm6, %%mm6" + "\n\t pxor %%mm4, %%mm4" + :: [plugw] "m" (plugwidth) +- , [aflag] "m" (aflag) +- : "mm4", "mm5", "mm6", "mm7"); ++ , [aflag] "m" (aflag)); + + for (j = 0; j < priv->plugheight; j++) { + for (i = 0; i < priv->plugwidth; i += 2) { +@@ -131,8 +131,7 @@ + :: [interpol] "m" (*(coords)) + , [addsrc2] "m" (add_src2) + , [surf1] "m" (ptr_surf) +- , [pix] "m" (*ptr_pix2) +- : "mm0", "mm1", "mm2", "mm3", "mm4"); ++ , [pix] "m" (*ptr_pix2)); + // printf ("%x %x\n", ptr_pix2[0], ptr_pix2[1]); + // printf ("%p %p\n", ptr_pix2[0], ptr_pix2[1]); + int color1 = 0, color2 = 0; +@@ -156,6 +155,7 @@ + __asm __volatile + ("emms"); + #endif ++#endif /* #if 0 */ + } else { + for (j=0;j<priv->plugheight;j++) { + for (i=0;i<priv->plugwidth;i++) { +--- plugins/actor/JESS/renderer.c~ 2005-01-12 01:41:29.000000000 +0100 ++++ plugins/actor/JESS/renderer.c 2005-09-01 09:42:03.000000000 +0200 +@@ -394,7 +394,7 @@ + #ifdef VISUAL_ARCH_X86 + __asm __volatile + ("\n\t pxor %%mm6, %%mm6" +- ::: "mm6"); ++ ::); + + for (pix = priv->pixel; pix < (uint8_t *) bmax-1; pix += 8) + { +@@ -410,8 +410,7 @@ + :: [pix1] "m" (*pix) + , [pix2] "m" (*(pix + 1)) + , [pix3] "m" (*(pix + priv->resx)) +- , [pix4] "m" (*(pix + priv->resx + 1)) +- : "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7"); ++ , [pix4] "m" (*(pix + priv->resx + 1))); + + } + +@@ -433,7 +432,7 @@ + #ifdef VISUAL_ARCH_X86 + __asm __volatile + ("\n\t pxor %%mm6, %%mm6" +- ::: "mm6"); ++ ::); + + for (pix = priv->pixel; pix < (uint8_t *) bmax-4; ) + { +@@ -449,8 +448,7 @@ + :: [pix1] "m" (*pix) + , [pix2] "m" (*(pix + 4)) + , [pix3] "m" (*(pix + priv->pitch)) +- , [pix4] "m" (*(pix + pitch_4)) +- : "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7"); ++ , [pix4] "m" (*(pix + pitch_4))); + + pix += 8; + } +--- plugins/actor/corona/corona.cpp~ 2005-01-20 04:49:13.000000000 +0100 ++++ plugins/actor/corona/corona.cpp 2005-09-01 09:47:46.000000000 +0200 +@@ -342,7 +342,7 @@ + #ifdef VISUAL_ARCH_X86
+ __asm __volatile
+ ("pxor %%mm6, %%mm6"
+- ::: "mm6");
++ ::);
+
+ while (n -= 4) {
+ __asm __volatile
+@@ -366,8 +366,7 @@ + , [pix2] "m" (*(ptr - m_width))
+ , [pix3] "m" (*(ptr - 1))
+ , [pix4] "m" (*(ptr + 1))
+- , [pix5] "m" (*(ptr + m_width))
+- : "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7");
++ , [pix5] "m" (*(ptr + m_width)));
+ ptr += 4;
+ }
+
+--- plugins/morph/alphablend/morph_alphablend.c~ 2005-01-11 20:31:31.000000000 +0100 ++++ plugins/morph/alphablend/morph_alphablend.c 2005-09-01 10:21:30.000000000 +0200 +@@ -210,7 +210,7 @@ + #ifdef VISUAL_ARCH_X86 + __asm __volatile + ("\n\t pxor %%mm6, %%mm6" +- ::: "mm6"); ++ ::); + + for (i = size; i > 4; i -= 4) { + __asm __volatile +@@ -231,8 +231,7 @@ + : [dest] "=m" (*(dest + i)) + : [src1] "m" (*(src1 + i)) + , [src2] "m" (*(src2 + i)) +- , [alpha] "m" (ialpha) +- : "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7"); ++ , [alpha] "m" (ialpha)); + } + + while (i--) +@@ -282,7 +281,7 @@ + #ifdef VISUAL_ARCH_X86 + __asm __volatile + ("\n\t pxor %%mm6, %%mm6" +- ::: "mm6"); ++ ::); + + for (i = 0; i < size; i += 4) { + __asm __volatile +@@ -306,8 +305,7 @@ + : [dest] "=m" (*(dest + i)) + : [src1] "m" (*(src1 + i)) + , [src2] "m" (*(src2 + i)) +- , [alpha] "m" (ialpha) +- : "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7"); ++ , [alpha] "m" (ialpha)); + } + + __asm __volatile diff --git a/media-plugins/libvisual-plugins/libvisual-plugins-0.2.0.ebuild b/media-plugins/libvisual-plugins/libvisual-plugins-0.2.0.ebuild index 862e0ea79de0..82f5f3a03887 100644 --- a/media-plugins/libvisual-plugins/libvisual-plugins-0.2.0.ebuild +++ b/media-plugins/libvisual-plugins/libvisual-plugins-0.2.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/libvisual-plugins/libvisual-plugins-0.2.0.ebuild,v 1.6 2005/12/23 10:30:19 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/libvisual-plugins/libvisual-plugins-0.2.0.ebuild,v 1.7 2006/01/07 22:51:09 chainsaw Exp $ inherit eutils @@ -37,6 +37,10 @@ src_compile() { epatch "${FILESDIR}/${P}-configure.patch" epatch "${FILESDIR}/${P}-mkdirhier.patch" + # GCC 4 compatability fix for 'display.c:115: error: memory input 1 is not directly addressable' + # Upstream fix as reported by Mark Loeser <halcy0n@gentoo.org> in bug #118050 + epatch "${FILESDIR}/${P}-gcc4.patch" + econf $(use_enable debug) || die emake || die } |