openbsd-ports/net/luasocket/patches/patch-src_luasocket_c
robert a19d9af34a 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.
So rename buffer_* funcs to ls_buffer_*.
2009-08-22 20:28:40 +00:00

13 lines
449 B
Plaintext

$OpenBSD: patch-src_luasocket_c,v 1.2 2009/08/22 20:28:40 robert Exp $
--- src/luasocket.c.orig Sat Aug 22 22:18:38 2009
+++ src/luasocket.c Sat Aug 22 22:19:02 2009
@@ -51,7 +51,7 @@ static const luaL_reg mod[] = {
{"auxiliar", auxiliar_open},
{"except", except_open},
{"timeout", timeout_open},
- {"buffer", buffer_open},
+ {"buffer", ls_buffer_open},
{"inet", inet_open},
{"tcp", tcp_open},
{"udp", udp_open},