| Summary: | www/mod_bw 0.7 doesn't work on 4.x due to patch in files/ | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jeremy Chadwick <freebsd> |
| Component: | Individual Port(s) | Assignee: | freebsd-apache (Nobody) <apache> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Jeremy Chadwick
2006-05-25 07:40:15 UTC
Responsible Changed From-To: freebsd-ports-bugs->apache Over to maintainer pav 2006-10-06 19:13:28 UTC
FreeBSD ports repository
Modified files:
www/mod_bw Makefile
www/mod_bw/files patch-mod_bw.c
Log:
- 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)
Revision Changes Path
1.6 +1 -0 ports/www/mod_bw/Makefile
1.2 +0 -15 ports/www/mod_bw/files/patch-mod_bw.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Offending patch chunk removed. The same thing under 5.5 (with this code removed). uname -a FreeBSD falcon.telecom.by 5.5-RELEASE-p8 FreeBSD 5.5-RELEASE-p8 #4: Sat Nov 25 01:45:17 EET 2006 root@falcon.telecom.by:/usr/obj/usr/src/sys/FALCON i386 Apache installed: apache-2.0.59 pachectl configtest Syntax error on line 279 of /usr/local/etc/apache2/httpd.conf: Cannot load /usr/local/libexec/apache2/mod_bw.so into server: /usr/local/libexec/apache2/mod_bw.so: Undefined symbol "apr_atomic_inc32" So it seems that removed patch is needed if building for apache 2.0.x, and not needed for apache 2.2.x. So according to what I see the following logic must be used: If apache 2.2.x - use native apache functions If BSD>=5.x and apache 2.0.x - use BSD function (as it was in deleted patch) If BSD=4.x and apache 2.0.x - no idea:( |