summaryrefslogtreecommitdiff
path: root/mail/OSBF-lua
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-07-05 14:31:40 +0000
committerwiz <wiz@pkgsrc.org>2013-07-05 14:31:40 +0000
commit1d52e11306ef3a1a82fa7383e5678c0e8b539271 (patch)
tree8018d057b3a02673eac07fe5ca794e68c9af10bd /mail/OSBF-lua
parentff0e83ab40d26c4d2ea2bdd965b3d1e5c897d356 (diff)
downloadpkgsrc-1d52e11306ef3a1a82fa7383e5678c0e8b539271.tar.gz
Fix build with lua-5.2.
Diffstat (limited to 'mail/OSBF-lua')
-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},