aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_bw
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-10-07 03:13:28 +0800
committerpav <pav@FreeBSD.org>2006-10-07 03:13:28 +0800
commit1980dc43b57a948516ecff19622847e39e4f3d67 (patch)
tree3c5d8e81e02a2e95bc2c27c8d4f26df4bf268c09 /www/mod_bw
parenteef7048b4beb4be43ef514f05e52a76b2ea0f486 (diff)
downloadfreebsd-ports-gnome-1980dc43b57a948516ecff19622847e39e4f3d67.tar.gz
freebsd-ports-gnome-1980dc43b57a948516ecff19622847e39e4f3d67.tar.zst
freebsd-ports-gnome-1980dc43b57a948516ecff19622847e39e4f3d67.zip
- Remove a patch chunk which was breaking runtime on FreeBSD 4.X
PR: ports/97883 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> Approved by: maintainer timeout (apache; 4 months)
Diffstat (limited to 'www/mod_bw')
-rw-r--r--www/mod_bw/Makefile1
-rw-r--r--www/mod_bw/files/patch-mod_bw.c15
2 files changed, 1 insertions, 15 deletions
diff --git a/www/mod_bw/Makefile b/www/mod_bw/Makefile
index cc3bc22766be..0516434bffe4 100644
--- a/www/mod_bw/Makefile
+++ b/www/mod_bw/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_bw
PORTVERSION= 0.7
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bwmod
diff --git a/www/mod_bw/files/patch-mod_bw.c b/www/mod_bw/files/patch-mod_bw.c
index 94ae7bc4954f..9a3f3d63e236 100644
--- a/www/mod_bw/files/patch-mod_bw.c
+++ b/www/mod_bw/files/patch-mod_bw.c
@@ -1,20 +1,5 @@
--- mod_bw.c.orig Mon Apr 24 03:10:44 2006
+++ mod_bw.c Tue May 16 14:01:56 2006
-@@ -51,6 +51,14 @@
- #include "http_core.h"
- #include "scoreboard.h"
-
-+#if APR_MAJOR_VERSION == 0
-+#define apr_atomic_set32(mem,val) (atomic_set_32(mem,val),mem)
-+#define apr_atomic_inc32(mem) (atomic_add_32(mem,1),mem)
-+#define apr_atomic_dec32(mem) (atomic_subtract_32(mem,1),mem)
-+#define apr_atomic_add32(mem,val) (atomic_add_32(mem,val),mem)
-+#define apr_atomic_cas32 apr_atomic_cas
-+#endif
-+
- #define MIN_BW 256 /* Minimal bandwidth 256 bytes */
- #define PACKET 8192 /* Default packet at 8192 bytes */
-
@@ -715,8 +723,10 @@
/* If we are too busy, deny connection */