summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2013-07-05 14:31:40 +0000
committerwiz <wiz>2013-07-05 14:31:40 +0000
commitb4f22b90abf0fd585c2ae82c381fdf98fc6b07c9 (patch)
tree8018d057b3a02673eac07fe5ca794e68c9af10bd
parent1331b98eff8562ce77cd30929b8005d0005a7fce (diff)
downloadpkgsrc-b4f22b90abf0fd585c2ae82c381fdf98fc6b07c9.tar.gz
Fix build with lua-5.2.
-rw-r--r--mail/OSBF-lua/distinfo3
-rw-r--r--mail/OSBF-lua/patches/patch-losbflib.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/mail/OSBF-lua/distinfo b/mail/OSBF-lua/distinfo
index 47ea8fec0fb..655a9473913 100644
--- a/mail/OSBF-lua/distinfo
+++ b/mail/OSBF-lua/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2010/02/15 16:13:25 joerg Exp $
+$NetBSD: distinfo,v 1.4 2013/07/05 14:31:40 wiz Exp $
SHA1 (osbf-lua-2.0.4.tar.gz) = 6fd4fb6496c20e9340cdcff4820c50a793e2ea27
RMD160 (osbf-lua-2.0.4.tar.gz) = ba808072739de2bcb40ce81f0177ef7588508670
Size (osbf-lua-2.0.4.tar.gz) = 82343 bytes
SHA1 (patch-aa) = 25fe0abc6543893d88d147e418027cee9a544502
SHA1 (patch-bb) = ead9d141481c2eabd510dd26eb39b5f88ede9e04
+SHA1 (patch-losbflib.c) = 53ef00a5db3e8f892d4edd41204dc13b8d17f32e
diff --git a/mail/OSBF-lua/patches/patch-losbflib.c b/mail/OSBF-lua/patches/patch-losbflib.c
new file mode 100644
index 00000000000..0baed0757c8
--- /dev/null
+++ b/mail/OSBF-lua/patches/patch-losbflib.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-losbflib.c,v 1.1 2013/07/05 14:31:40 wiz Exp $
+
+Fix build with lua-5.2.
+
+--- losbflib.c.orig 2007-01-14 18:57:19.000000000 +0000
++++ losbflib.c
+@@ -743,7 +743,7 @@ dir_gc (lua_State * L)
+
+ /**********************************************************/
+
+-static const struct luaL_reg osbf[] = {
++static const struct luaL_Reg osbf[] = {
+ {"create_db", lua_osbf_createdb},
+ {"remove_db", lua_osbf_removedb},
+ {"config", lua_osbf_config},