summaryrefslogtreecommitdiff
path: root/www/SpeedyCGI
diff options
context:
space:
mode:
authorjoerg <joerg>2012-05-04 16:36:10 +0000
committerjoerg <joerg>2012-05-04 16:36:10 +0000
commit46adc38c4de60e5cbf43517c01c5560119976a49 (patch)
tree74aaa7a589599e05d92a4d163d82a577eff48599 /www/SpeedyCGI
parentc0b09df4ea89c772dca6d4deb18e67f55c69da16 (diff)
downloadpkgsrc-46adc38c4de60e5cbf43517c01c5560119976a49.tar.gz
Fix inline usage.
Diffstat (limited to 'www/SpeedyCGI')
-rw-r--r--www/SpeedyCGI/distinfo3
-rw-r--r--www/SpeedyCGI/patches/patch-src_speedy__inc.h16
2 files changed, 18 insertions, 1 deletions
diff --git a/www/SpeedyCGI/distinfo b/www/SpeedyCGI/distinfo
index 491be011da0..c2719337e43 100644
--- a/www/SpeedyCGI/distinfo
+++ b/www/SpeedyCGI/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2008/10/20 20:41:47 adrianp Exp $
+$NetBSD: distinfo,v 1.5 2012/05/04 16:37:19 joerg Exp $
SHA1 (CGI-SpeedyCGI-2.22.tar.gz) = 155437a83eedc2cb1ae2b9f93a731a0cfb7ce7f2
RMD160 (CGI-SpeedyCGI-2.22.tar.gz) = 90bc10281f4380d6d9e3b376ce385567fb3d165d
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = 099bf2fa764488a70cf1b70ef9b7cfb44dc70853
SHA1 (patch-ab) = dc6c90c52a855280824738e98301560640932cfa
SHA1 (patch-ac) = ada49b40a665f28656a238b2b7566980d1736f24
SHA1 (patch-ad) = 099ebd36ffb48da38e0af21416f427afb0ed9012
+SHA1 (patch-src_speedy__inc.h) = d2bf220fe6aa0ec39a2276453cc1555899e9254c
diff --git a/www/SpeedyCGI/patches/patch-src_speedy__inc.h b/www/SpeedyCGI/patches/patch-src_speedy__inc.h
new file mode 100644
index 00000000000..06162856906
--- /dev/null
+++ b/www/SpeedyCGI/patches/patch-src_speedy__inc.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_speedy__inc.h,v 1.1 2012/05/04 16:37:19 joerg Exp $
+
+--- src/speedy_inc.h.orig 2012-05-04 14:07:56.000000000 +0000
++++ src/speedy_inc.h
+@@ -41,11 +41,7 @@ typedef long long speedy_ino_t;
+ # define MAP_FAILED (-1)
+ #endif
+
+-#ifdef __GNUC__
+-#define SPEEDY_INLINE __inline__
+-#else
+ #define SPEEDY_INLINE
+-#endif
+
+ #ifdef EWOULDBLOCK
+ # define SP_EWOULDBLOCK(e) ((e) == EWOULDBLOCK)