mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
Fix build for freebsd7-ia64.
Bump PORTREVISION. Notice from: kris via pointyhat Patch from: Igor Sysoev (author)
This commit is contained in:
parent
e3f229414a
commit
f24eab01de
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146371
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
PORTNAME= nginx
|
PORTNAME= nginx
|
||||||
PORTVERSION= 0.3.6
|
PORTVERSION= 0.3.6
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= http://sysoev.ru/nginx/
|
MASTER_SITES= http://sysoev.ru/nginx/
|
||||||
MASTER_SITES+= ${MASTER_SITE_LOCAL}
|
MASTER_SITES+= ${MASTER_SITE_LOCAL}
|
||||||
|
22
www/nginx-devel/files/patch-src-os-unix-ngx_atomic.h
Normal file
22
www/nginx-devel/files/patch-src-os-unix-ngx_atomic.h
Normal file
@ -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);
|
||||||
|
|
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
PORTNAME= nginx
|
PORTNAME= nginx
|
||||||
PORTVERSION= 0.3.6
|
PORTVERSION= 0.3.6
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= http://sysoev.ru/nginx/
|
MASTER_SITES= http://sysoev.ru/nginx/
|
||||||
MASTER_SITES+= ${MASTER_SITE_LOCAL}
|
MASTER_SITES+= ${MASTER_SITE_LOCAL}
|
||||||
|
22
www/nginx/files/patch-src-os-unix-ngx_atomic.h
Normal file
22
www/nginx/files/patch-src-os-unix-ngx_atomic.h
Normal file
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user