summaryrefslogtreecommitdiff
path: root/www/apache/patches
diff options
context:
space:
mode:
authorthorpej <thorpej@pkgsrc.org>2002-03-28 17:17:08 +0000
committerthorpej <thorpej@pkgsrc.org>2002-03-28 17:17:08 +0000
commit041dfc640c263a2c47c8f88a913f467e7444b860 (patch)
tree2261dbf8427b54e7e121c0ce9e7a240eed4658e5 /www/apache/patches
parent59cefc10bb4642470407100ac54aeec4e3c23fb0 (diff)
downloadpkgsrc-041dfc640c263a2c47c8f88a913f467e7444b860.tar.gz
Fix build on arm-elf.
Diffstat (limited to 'www/apache/patches')
-rw-r--r--www/apache/patches/patch-am13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/apache/patches/patch-am b/www/apache/patches/patch-am
new file mode 100644
index 00000000000..e8f887eb470
--- /dev/null
+++ b/www/apache/patches/patch-am
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.6 2002/03/28 17:17:08 thorpej Exp $
+
+--- src/include/ap_config.h.orig Thu Mar 28 08:43:24 2002
++++ src/include/ap_config.h Thu Mar 28 09:01:18 2002
+@@ -1359,7 +1359,7 @@
+ * so we don't have to. Sigh...
+ */
+
+-#if defined(CRAY) || (defined(__arm) && !defined(LINUX))
++#if defined(CRAY) || (defined(__arm) && !(defined(LINUX) || defined(NETBSD)))
+ #ifdef __STDC__
+ #define XtOffset(p_type,field) _Offsetof(p_type,field)
+ #else