diff options
author | osa <osa@FreeBSD.org> | 2005-10-26 15:27:17 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2005-10-26 15:27:17 +0800 |
commit | 179f360e66b69b2f9e83db1dec14e20cd496f142 (patch) | |
tree | 389b6e0d2e3e31319dd1c930ba5730fb766e2df1 /www/nginx | |
parent | d819888eb8bc8bcbdf026a51d95edebc6dbfa402 (diff) | |
download | freebsd-ports-gnome-179f360e66b69b2f9e83db1dec14e20cd496f142.tar.gz freebsd-ports-gnome-179f360e66b69b2f9e83db1dec14e20cd496f142.tar.zst freebsd-ports-gnome-179f360e66b69b2f9e83db1dec14e20cd496f142.zip |
Fix build for freebsd7-ia64.
Bump PORTREVISION.
Notice from: kris via pointyhat
Patch from: Igor Sysoev (author)
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); + |