From f75a6cff4311f37956852d771e28bd3d03df4057 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 29 Mar 2008 16:18:46 +0000 Subject: Fix building with gcc-4.3 #211296. (Portage version: 2.2_pre5) --- media-libs/netpbm/files/netpbm-10.42.0-gcc43.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 media-libs/netpbm/files/netpbm-10.42.0-gcc43.patch (limited to 'media-libs/netpbm/files') 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 */ -- cgit v1.2.3-65-gdbad