summaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2007-01-13 01:16:17 +0000
committerdmcmahill <dmcmahill>2007-01-13 01:16:17 +0000
commitf63e737c8f26e33653e7c2931829d8a8cd107488 (patch)
treecc0be1f9ba3b5ed0b6894927e0a6f87ec7ed08f2 /graphics/netpbm
parentaa5732577ab69906e7007fa98d6a55624ca8bba3 (diff)
downloadpkgsrc-f63e737c8f26e33653e7c2931829d8a8cd107488.tar.gz
Use __inline__ instead of __inline. The former works with some non-gcc
compilers as well as gcc.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/distinfo3
-rw-r--r--graphics/netpbm/patches/patch-ay25
2 files changed, 27 insertions, 1 deletions
diff --git a/graphics/netpbm/distinfo b/graphics/netpbm/distinfo
index ec5851a8c6a..3ce522c7f82 100644
--- a/graphics/netpbm/distinfo
+++ b/graphics/netpbm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.64 2006/11/19 15:50:59 tron Exp $
+$NetBSD: distinfo,v 1.65 2007/01/13 01:16:17 dmcmahill Exp $
SHA1 (netpbm-10.34.tgz) = 530458871f9d3dc763a1bf82f227eeb79098c601
RMD160 (netpbm-10.34.tgz) = 57a596efa6cacb981135d554a72cbaffc4cfe72c
@@ -27,6 +27,7 @@ SHA1 (patch-au) = d098d29cd3b62236e3e4a84b1d74de18de85c06f
SHA1 (patch-av) = ef10c607f40dc5cc64dc77c04b1daca4e0ce34eb
SHA1 (patch-aw) = bd890324e95fa7bb893d9d5cdab9d5a33dcff777
SHA1 (patch-ax) = d50e56191192b4caf423ed081581868bb1a63de8
+SHA1 (patch-ay) = 60ab532de6d6ec498ada140f795bba327a562e13
SHA1 (patch-ca) = b63be9bd38dd182949edf3b892608b72d13c1fa0
SHA1 (patch-cb) = b1be33ae6acfe57bf2f407cd48a6b140c3ddea85
SHA1 (patch-da) = 37b30f7b6674150685d406570802a7250dce51a6
diff --git a/graphics/netpbm/patches/patch-ay b/graphics/netpbm/patches/patch-ay
new file mode 100644
index 00000000000..74c15b44313
--- /dev/null
+++ b/graphics/netpbm/patches/patch-ay
@@ -0,0 +1,25 @@
+$NetBSD: patch-ay,v 1.3 2007/01/13 01:16:17 dmcmahill Exp $
+
+This is needed for some non-gcc compilers such as the Sun
+Studio c-compiler
+
+--- lib/ppm.h.orig 2006-04-29 18:13:01.000000000 -0400
++++ lib/ppm.h
+@@ -233,7 +233,7 @@ struct hsv
+ ppm_hsv_from_color(pixel const color,
+ pixval const maxval);
+
+-static __inline pixval
++static __inline__ pixval
+ ppm_colorvalue(pixel const p) {
+ /*----------------------------------------------------------------------------
+ The color value (V is HSV) as a pixval
+@@ -241,7 +241,7 @@ ppm_colorvalue(pixel const p) {
+ return PPM_MAX(PPM_GETR(p), PPM_MAX(PPM_GETG(p), PPM_GETB(p)));
+ }
+
+-static __inline pixval
++static __inline__ pixval
+ ppm_saturation(pixel const p,
+ pixval const maxval) {
+ /*----------------------------------------------------------------------------