Basically - luasocket defines buffer_init(); which is common enough to be defined elsewhere and it is defined in mod_magnet, so you end up with a SIGSEGV. The attatched patch solves the issue by renaming the buffer_* funcs to ls_buffer_*. Its a totally safe diff that does not affect anything else and fixes a problem. How-To-Repeat: Write a lua script that uses luasocket and try to use it with mod_magnet.
Responsible Changed From-To: freebsd-ports-bugs->pgollucci Over to maintainer of net/luasocket.
Hi, Please send your change to the luasocket folks instead, this is not a type of change we should keep locally in the FreeBSD ports tree. -- ------------------------------------------------------------------------ Philip M. Gollucci (pgollucci@ridecharge.com) p: 703.549.2050x206, did: 703.579.6947 Senior System Admin - RideCharge, Inc. http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.
State Changed From-To: open->closed ask to send upstream
State Changed From-To: closed->open re-open per e-mail
State Changed From-To: open->closed Committed. Thanks!
pgollucci 2010-08-26 18:27:16 UTC FreeBSD ports repository Modified files: net/luasocket Makefile Added files: net/luasocket/files patch-src_buffer_c Log: - namespace clash with www/lighttpd mod_magnet upstream is gone, but the port is still quite useful PR: ports/138055 Submitted by: Robert Nagy <robert@openbsd.org> Revision Changes Path 1.14 +1 -0 ports/net/luasocket/Makefile 1.1 +233 -0 ports/net/luasocket/files/patch-src_buffer_c (new) _______________________________________________ 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"