diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2005-10-26 07:27:17 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2005-10-26 07:27:17 +0000 |
commit | f24eab01de7dd70b5d5d357b65e47e60609d7428 (patch) | |
tree | d7c0b5884e2a60eb891554caf6c5be960f229399 /www/nginx | |
parent | BROKEN: Does not build (diff) |
Fix build for freebsd7-ia64.
Bump PORTREVISION.
Notice from: kris via pointyhat
Patch from: Igor Sysoev (author)
Notes
Notes:
svn path=/head/; revision=146371
Diffstat (limited to 'www/nginx')
-rw-r--r-- | www/nginx/Makefile | 1 | ||||
-rw-r--r-- | www/nginx/files/patch-src-os-unix-ngx_atomic.h | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile index 323e928b40ce..8c32e1b4fd5b 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -7,6 +7,7 @@ PORTNAME= nginx PORTVERSION= 0.3.6 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://sysoev.ru/nginx/ MASTER_SITES+= ${MASTER_SITE_LOCAL} diff --git a/www/nginx/files/patch-src-os-unix-ngx_atomic.h b/www/nginx/files/patch-src-os-unix-ngx_atomic.h new file mode 100644 index 000000000000..6dc60f5f5515 --- /dev/null +++ b/www/nginx/files/patch-src-os-unix-ngx_atomic.h @@ -0,0 +1,22 @@ +--- src/os/unix/ngx_atomic.h.orig Wed Oct 26 11:17:58 2005 ++++ src/os/unix/ngx_atomic.h Wed Oct 26 11:18:36 2005 +@@ -154,7 +154,7 @@ + ngx_atomic_cmp_set(ngx_atomic_t *lock, ngx_atomic_uint_t old, + ngx_atomic_uint_t set) + { +- if (*lock == old { ++ if (*lock == old) { + *lock = set; + return 1; + } +@@ -174,8 +174,9 @@ + return old; + } + +-#endif ++#define ngx_memory_barrier() + ++#endif + + void ngx_spinlock(ngx_atomic_t *lock, ngx_uint_t spin); + |