aboutsummaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2011-12-24 10:22:14 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2011-12-24 10:22:14 +0000
commitfef994a006e442e52e734a7ba186d1b8af48845d (patch)
treed35ae32c9cc9e42b21c9cf9bc931205d83baaff6 /graphics/netpbm
parentec40d8dd2da70651cbc43cff150264059517d32e (diff)
downloadports-fef994a006e442e52e734a7ba186d1b8af48845d.tar.gz
ports-fef994a006e442e52e734a7ba186d1b8af48845d.zip
Notes
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;
+