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-devel/files | |
| 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-devel/files')
| -rw-r--r-- | www/nginx-devel/files/patch-src-os-unix-ngx_atomic.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/www/nginx-devel/files/patch-src-os-unix-ngx_atomic.h b/www/nginx-devel/files/patch-src-os-unix-ngx_atomic.h new file mode 100644 index 000000000000..6dc60f5f5515 --- /dev/null +++ b/www/nginx-devel/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); + |
