summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-08-04 11:45:20 +0000
committerjoerg <joerg@pkgsrc.org>2011-08-04 11:45:20 +0000
commit40e84d4fe64d636c350c345b31767e4849541976 (patch)
treef4b1c7bcc66e0bb5afeb624b5d3f10f3ed93133e
parentdf9384a26a2c16327613acdc5bb82808285050de (diff)
downloadpkgsrc-40e84d4fe64d636c350c345b31767e4849541976.tar.gz
Deal with C99 vs GNU89 inline semantics
-rw-r--r--www/apache/distinfo3
-rw-r--r--www/apache/patches/patch-au16
2 files changed, 18 insertions, 1 deletions
diff --git a/www/apache/distinfo b/www/apache/distinfo
index 55db4a82787..45dfc128637 100644
--- a/www/apache/distinfo
+++ b/www/apache/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.60 2010/02/09 07:22:06 dholland Exp $
+$NetBSD: distinfo,v 1.61 2011/08/04 11:45:20 joerg Exp $
SHA1 (apache_1.3.42.tar.gz) = b3f8575d855132bc243d79af59ae2a318e7e2c53
RMD160 (apache_1.3.42.tar.gz) = a1573bd04e17cad5d67388cfe08b7f26e06a9ee1
@@ -28,3 +28,4 @@ SHA1 (patch-aq) = 1fda54aae47edb675549095adac2eb0378d1f60c
SHA1 (patch-ar) = 29276bc264b9d2ce7dea4a196ac3bd55e6853f53
SHA1 (patch-as) = ef4143e0c809af5792f282ebbd405e7bda339484
SHA1 (patch-at) = 85b7ff5b51014881e6187656660cf23f6d3283c0
+SHA1 (patch-au) = f70d13e093a277bcb0945330f3684d8a5158a5e6
diff --git a/www/apache/patches/patch-au b/www/apache/patches/patch-au
new file mode 100644
index 00000000000..661c78c4986
--- /dev/null
+++ b/www/apache/patches/patch-au
@@ -0,0 +1,16 @@
+$NetBSD: patch-au,v 1.1 2011/08/04 11:45:20 joerg Exp $
+
+--- src/os/unix/os.h.orig 2011-08-03 12:02:43.000000000 +0000
++++ src/os/unix/os.h
+@@ -33,7 +33,11 @@
+ /* Compiler supports inline, so include the inlineable functions as
+ * part of the header
+ */
++#if defined(__GNUC_STDC_INLINE__) && __GNUC_STDC_INLINE__
++#define INLINE ap_inline
++#else
+ #define INLINE extern ap_inline
++#endif
+
+ INLINE int ap_os_is_path_absolute(const char *file);
+