diff options
author | martin <martin> | 2003-04-15 11:49:38 +0000 |
---|---|---|
committer | martin <martin> | 2003-04-15 11:49:38 +0000 |
commit | e08898bcf4adcb00d1a1d5ef96a28a2bc3eac184 (patch) | |
tree | 1fb564cc2e199843085ab7ad7e6acde2090cb99b /www/apache2 | |
parent | 31a421c188efba9f6c5bf7e7d6e2caed1007e563 (diff) | |
download | pkgsrc-e08898bcf4adcb00d1a1d5ef96a28a2bc3eac184.tar.gz |
Not all machines that define __sparc__ run ${SOMEOTHEROS} - fix bogus
#ifdef and make it work on NetBSD/sparc{,64} again.
Diffstat (limited to 'www/apache2')
-rw-r--r-- | www/apache2/distinfo | 3 | ||||
-rw-r--r-- | www/apache2/patches/patch-ar | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/www/apache2/distinfo b/www/apache2/distinfo index 80133b0919c..002c7dafc00 100644 --- a/www/apache2/distinfo +++ b/www/apache2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.16 2003/04/03 08:28:56 itojun Exp $ +$NetBSD: distinfo,v 1.17 2003/04/15 11:49:38 martin Exp $ SHA1 (httpd-2.0.45.tar.gz) = f722399b0e1986e699bc807518e396b7f0286cca Size (httpd-2.0.45.tar.gz) = 5549120 bytes @@ -13,3 +13,4 @@ SHA1 (patch-an) = 6b8aff418e1c3af3be7e280cc373c9555c6f8005 SHA1 (patch-ao) = 30fa298dc4ae6c6f48276034d07667b909829abf SHA1 (patch-ap) = bac08a78f97cdbd3cecb3cbfbae254e217940f61 SHA1 (patch-aq) = 388019fe029ddf108e0fd3f99d718563bcc2c51b +SHA1 (patch-ar) = 5e4010b2b48c9a19c1cbade9baab639a9e31704d diff --git a/www/apache2/patches/patch-ar b/www/apache2/patches/patch-ar new file mode 100644 index 00000000000..e6f017a81ac --- /dev/null +++ b/www/apache2/patches/patch-ar @@ -0,0 +1,13 @@ +$NetBSD: patch-ar,v 1.1 2003/04/15 11:49:38 martin Exp $ + +--- srclib/apr/include/apr_atomic.h.orig 2003-04-15 13:21:18.000000000 +0200 ++++ srclib/apr/include/apr_atomic.h 2003-04-15 13:22:01.000000000 +0200 +@@ -247,7 +247,7 @@ + #define apr_atomic_read(mem) (*(mem)) + #define apr_atomic_init(pool) APR_SUCCESS + +-#elif (defined(__sparc__) || defined(sparc)) && !APR_FORCE_ATOMIC_GENERIC ++#elif !defined(__NetBSD__) && ((defined(__sparc__) || defined(sparc))) && !APR_FORCE_ATOMIC_GENERIC + + #define apr_atomic_t apr_uint32_t + #define apr_atomic_read(p) *p |