1
0
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:
Sergey A. Osokin 2005-10-26 07:27:17 +00:00
parent e3f229414a
commit f24eab01de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146371
4 changed files with 46 additions and 0 deletions

View File

@ -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}

View 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);

View File

@ -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}

View 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);