Add patch to fix compilation with gcc-4.1 by Ryan Hill <dirtyepic.sk AT gmail DOT...
authorMark Loeser <halcy0n@gentoo.org>
Wed, 15 Mar 2006 06:30:02 +0000 (06:30 +0000)
committerMark Loeser <halcy0n@gentoo.org>
Wed, 15 Mar 2006 06:30:02 +0000 (06:30 +0000)
Package-Manager: portage-2.1_pre6-r2

media-libs/jpeg-mmx/ChangeLog
media-libs/jpeg-mmx/Manifest
media-libs/jpeg-mmx/files/jpeg-mmx-0.1.6-gcc41.patch [new file with mode: 0644]
media-libs/jpeg-mmx/jpeg-mmx-0.1.6-r1.ebuild

index 5df4a4051abf1cbe8ebf23bf8c0ac66c815cb7ee..2f9ff7ce947621f66eafc2d5143cd91a4bba8c45 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for media-libs/jpeg-mmx
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg-mmx/ChangeLog,v 1.18 2005/09/02 17:24:10 sbriesen Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg-mmx/ChangeLog,v 1.19 2006/03/15 06:30:02 halcy0n Exp $
+
+  15 Mar 2006; Mark Loeser <halcy0n@gentoo.org>
+  +files/jpeg-mmx-0.1.6-gcc41.patch, jpeg-mmx-0.1.6-r1.ebuild:
+  Add patch to fix compilation with gcc-4.1 by Ryan Hill <dirtyepic.sk AT
+  gmail DOT com>; bug #119851
 
   02 Sep 2005; Stefan Briesenick <sbriesen@gentoo.org>
   jpeg-mmx-0.1.6-r1.ebuild:
index c8844917d7f64a408b123810f3f2235e881450c7..980cab5a97a21518ea293975836ba229a3f2b369 100644 (file)
@@ -1,5 +1,28 @@
-MD5 746e09b3bfca67c0a95980e5137fb05b jpeg-mmx-0.1.6-r1.ebuild 1265
-MD5 9ca1abb6edb5b2df127a02296a66650e ChangeLog 2669
-MD5 a7968b3622999698bfb390cf300b5b21 files/jpeg-mmx-0.1.6-makefile.patch 617
-MD5 683af9622e30fd6fd39694fda1049c37 files/jpeg-mmx-0.1.6-PIC.patch 1450
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 1b57b0278e511fae9ac81939a6d48173 ChangeLog 2884
+RMD160 162451151c8032c793faa475aa9155e126e4b274 ChangeLog 2884
+SHA256 b9954a93a00854e49011bda868d15429d8b3c19941401499165a263ea0e76116 ChangeLog 2884
 MD5 57d8f724c8c106355a0eae9961b436a3 files/digest-jpeg-mmx-0.1.6-r1 66
+RMD160 7a3e67d00c2bdcdbd8014d25dd304b8b6655cb20 files/digest-jpeg-mmx-0.1.6-r1 66
+SHA256 8d2160e2cb79cdd61dba9648b99300a043dc14898bc2c3f937a32661bbf10bb9 files/digest-jpeg-mmx-0.1.6-r1 66
+MD5 683af9622e30fd6fd39694fda1049c37 files/jpeg-mmx-0.1.6-PIC.patch 1450
+RMD160 8ad17d93b837c034d8898a16750f518178560672 files/jpeg-mmx-0.1.6-PIC.patch 1450
+SHA256 5432a54044fe1b7d329da6bb3e25032c35d063565b604dade744e07fdae8f0bc files/jpeg-mmx-0.1.6-PIC.patch 1450
+MD5 a29dd4cf4b9b3cfdac39cb28ebaaed4a files/jpeg-mmx-0.1.6-gcc41.patch 433
+RMD160 4b1fd3264797357cf919dc353790d7af46649d5c files/jpeg-mmx-0.1.6-gcc41.patch 433
+SHA256 bbf48654a5548d372534e693b3cb331d62a1f4496e4280b2c43942581b51a804 files/jpeg-mmx-0.1.6-gcc41.patch 433
+MD5 a7968b3622999698bfb390cf300b5b21 files/jpeg-mmx-0.1.6-makefile.patch 617
+RMD160 01568d248e10dbab6c972d136b34e0cb20fbdccb files/jpeg-mmx-0.1.6-makefile.patch 617
+SHA256 8e1fa0f3478f413f7f40840d6897e8217f03457e2f18799245775c5bc4ffecff files/jpeg-mmx-0.1.6-makefile.patch 617
+MD5 a12b785009e8cfd1ae514ce6cc355342 jpeg-mmx-0.1.6-r1.ebuild 1303
+RMD160 38ccea31400191f92ea2d24ec0ad998e3023056e jpeg-mmx-0.1.6-r1.ebuild 1303
+SHA256 a5661d09e24de75b00ed342ac4c6b2d15e2341f361f3c9a8c9210d4a9c14222a jpeg-mmx-0.1.6-r1.ebuild 1303
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+
+iD8DBQFEF7R0CRZPokWLroQRAgEVAJ9/+rk5uTioJA4FoiDg+M1WLKt2CQCfWVHc
+8N8bp+gJyPS7VWh5lGd/7hM=
+=zMO1
+-----END PGP SIGNATURE-----
diff --git a/media-libs/jpeg-mmx/files/jpeg-mmx-0.1.6-gcc41.patch b/media-libs/jpeg-mmx/files/jpeg-mmx-0.1.6-gcc41.patch
new file mode 100644 (file)
index 0000000..1ae80c1
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Naur jpeg-mmx-orig/jquant_x86simd.c jpeg-mmx/jquant_x86simd.c
+--- jpeg-mmx-orig/jquant_x86simd.c     2006-01-22 21:37:14.000000000 -0600
++++ jpeg-mmx/jquant_x86simd.c  2006-01-22 21:37:43.000000000 -0600
+@@ -104,7 +104,7 @@
+       /* Initialise zero block flags */
+       /* Set up SSE rounding mode */
+-      __asm__ ( "ldmxcsr %0\n" : : "X" (trunc_mxcsr) );
++      __asm__ ( "ldmxcsr %0\n" : : "m" (trunc_mxcsr) );
+       for (i=0; i < 64 ; i+=4)
+       {
index 66d2a43b6e2e067fecaba7a16c299c2b7f82e24a..76a53b1de75ddc9396a37106f87a289bcce245d4 100644 (file)
@@ -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-libs/jpeg-mmx/jpeg-mmx-0.1.6-r1.ebuild,v 1.4 2005/09/02 17:24:10 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg-mmx/jpeg-mmx-0.1.6-r1.ebuild,v 1.5 2006/03/15 06:30:02 halcy0n Exp $
 
 inherit eutils flag-o-matic
 
@@ -23,6 +23,7 @@ src_unpack() {
        cd "${S}"
        epatch "${FILESDIR}"/${P}-PIC.patch
        epatch "${FILESDIR}"/${P}-makefile.patch
+       epatch "${FILESDIR}"/${P}-gcc41.patch
 }
 
 src_compile() {