summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-03-29 16:18:46 +0000
committerMike Frysinger <vapier@gentoo.org>2008-03-29 16:18:46 +0000
commitf75a6cff4311f37956852d771e28bd3d03df4057 (patch)
tree4b886dbd4f42ce5bcfdc6f6bb92aba056b7c1a48 /media-libs/netpbm/files
parentamd64 stable (diff)
downloadgentoo-2-f75a6cff4311f37956852d771e28bd3d03df4057.tar.gz
gentoo-2-f75a6cff4311f37956852d771e28bd3d03df4057.tar.bz2
gentoo-2-f75a6cff4311f37956852d771e28bd3d03df4057.zip
Fix building with gcc-4.3 #211296.
(Portage version: 2.2_pre5)
Diffstat (limited to 'media-libs/netpbm/files')
-rw-r--r--media-libs/netpbm/files/netpbm-10.42.0-gcc43.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/netpbm/files/netpbm-10.42.0-gcc43.patch b/media-libs/netpbm/files/netpbm-10.42.0-gcc43.patch
new file mode 100644
index 000000000000..1e61de8decb3
--- /dev/null
+++ b/media-libs/netpbm/files/netpbm-10.42.0-gcc43.patch
@@ -0,0 +1,16 @@
+Index: trunk/lib/libpbm3.c
+===================================================================
+--- trunk/lib/libpbm3.c (revision 608)
++++ trunk/lib/libpbm3.c (revision 609)
+@@ -116,7 +116,11 @@ packBitsWithMmxSse(FILE * const
+ ) ];
+ */
+
++#if (__GNUC__ * 100 + __GNUC_MINOR__ >= 403)
++ typedef char v8qi __attribute__ ((vector_size(8)));
++#else
+ typedef int v8qi __attribute__ ((mode(V8QI)));
++#endif
+ typedef int di __attribute__ ((mode(DI)));
+
+ di const zero64 = 0; /* to clear with PXOR */