aboutsummaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/files/patch-lib-libpbm3.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/netpbm/files/patch-lib-libpbm3.c b/graphics/netpbm/files/patch-lib-libpbm3.c
new file mode 100644
index 000000000000..7b1c80fe0b32
--- /dev/null
+++ b/graphics/netpbm/files/patch-lib-libpbm3.c
@@ -0,0 +1,16 @@
+--- lib/libpbm3.c 2008-03-28 19:58:06.000000000 +0100
++++ lib/libpbm3.c 2011-12-18 11:55:05.000000000 +0100
+@@ -117,10 +117,10 @@
+ ) ];
+ */
+
+- typedef int v8qi __attribute__ ((mode(V8QI)));
+- typedef int di __attribute__ ((mode(DI)));
++ typedef char v8qi __attribute__ ((vector_size(8)));
++ typedef int di __attribute__ ((vector_size(8)));
+
+- di const zero64 = 0; /* to clear with PXOR */
++ di const zero64 = (di){0}; /* to clear with PXOR */
+
+ unsigned int col;
+