pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/apache Deal with C99 vs GNU89 inline semantics



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc2b915b6792
branches:  trunk
changeset: 591087:cc2b915b6792
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 04 11:45:20 2011 +0000

description:
Deal with C99 vs GNU89 inline semantics

diffstat:

 www/apache/distinfo         |   3 ++-
 www/apache/patches/patch-au |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r f20b1da7f1d7 -r cc2b915b6792 www/apache/distinfo
--- a/www/apache/distinfo       Thu Aug 04 11:40:49 2011 +0000
+++ b/www/apache/distinfo       Thu Aug 04 11:45:20 2011 +0000
@@ -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-ar) = 29276bc264b9d2ce7dea4a196ac3bd55e6853f53
 SHA1 (patch-as) = ef4143e0c809af5792f282ebbd405e7bda339484
 SHA1 (patch-at) = 85b7ff5b51014881e6187656660cf23f6d3283c0
+SHA1 (patch-au) = f70d13e093a277bcb0945330f3684d8a5158a5e6
diff -r f20b1da7f1d7 -r cc2b915b6792 www/apache/patches/patch-au
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache/patches/patch-au       Thu Aug 04 11:45:20 2011 +0000
@@ -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);
+ 



Home | Main Index | Thread Index | Old Index