pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/lua-socket Fix 'Undefined symbol "luaL_checkint"' ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1462d5c1aab
branches:  trunk
changeset: 347955:d1462d5c1aab
user:      alnsn <alnsn%pkgsrc.org@localhost>
date:      Sat Jun 04 23:08:13 2016 +0000

description:
Fix 'Undefined symbol "luaL_checkint"' in Lua 5.3.

From: https://github.com/diegonehab/luasocket/issues/122
      https://github.com/diegonehab/luasocket/issues/123 (duplicate)

diffstat:

 net/lua-socket/Makefile                   |   4 ++--
 net/lua-socket/distinfo                   |   4 ++--
 net/lua-socket/patches/patch-src_makefile |  13 ++++++++++---
 3 files changed, 14 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 952a7531c021 -r d1462d5c1aab net/lua-socket/Makefile
--- a/net/lua-socket/Makefile   Sat Jun 04 21:48:11 2016 +0000
+++ b/net/lua-socket/Makefile   Sat Jun 04 23:08:13 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2014/10/19 22:27:47 alnsn Exp $
+# $NetBSD: Makefile,v 1.10 2016/06/04 23:08:13 alnsn Exp $
 
 DISTNAME=              luasocket-3.0-rc1
 PKGNAME=               ${LUA_PKGPREFIX}-${DISTNAME:S/lua//:S/-rc/rc/}
-PKGREVISION=           4
+PKGREVISION=           5
 CATEGORIES=            net
 MASTER_SITES=          -https://github.com/diegonehab/luasocket/archive/v3.0-rc1.tar.gz
 
diff -r 952a7531c021 -r d1462d5c1aab net/lua-socket/distinfo
--- a/net/lua-socket/distinfo   Sat Jun 04 21:48:11 2016 +0000
+++ b/net/lua-socket/distinfo   Sat Jun 04 23:08:13 2016 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 00:35:11 agc Exp $
+$NetBSD: distinfo,v 1.5 2016/06/04 23:08:13 alnsn Exp $
 
 SHA1 (luasocket-3.0-rc1.tar.gz) = aff9122b26c01487c06a32133df78c1506af350f
 RMD160 (luasocket-3.0-rc1.tar.gz) = 27357eee7e52f091609f45a0b0fb7e04e9ea2bd8
 SHA512 (luasocket-3.0-rc1.tar.gz) = f6efce259aaacaa11472911471f8a13b118fe009b8953a82c6aa18b9ec829cd1293180904e56935cb130d36d267e3f27c91db2d78e03f7488f3e100571ed0540
 Size (luasocket-3.0-rc1.tar.gz) = 328598 bytes
 SHA1 (patch-makefile) = 2a6380adfa8f7ef63e70e0de9ef4eb4e76eff334
-SHA1 (patch-src_makefile) = e62f5f133a5c17e6563aefe8de335b93899b2f64
+SHA1 (patch-src_makefile) = eacf2d6152c68e8954bbe45f270c9cf13e731500
diff -r 952a7531c021 -r d1462d5c1aab net/lua-socket/patches/patch-src_makefile
--- a/net/lua-socket/patches/patch-src_makefile Sat Jun 04 21:48:11 2016 +0000
+++ b/net/lua-socket/patches/patch-src_makefile Sat Jun 04 23:08:13 2016 +0000
@@ -1,9 +1,16 @@
-$NetBSD: patch-src_makefile,v 1.1 2013/09/13 14:24:28 fhajny Exp $
+$NetBSD: patch-src_makefile,v 1.2 2016/06/04 23:08:13 alnsn Exp $
 
-Pass our LDFLAGS.
+Fix luaL_checkint problem in 5.3. Pass our LDFLAGS.
 --- src/makefile.orig  2013-06-14 11:27:32.000000000 +0000
 +++ src/makefile
-@@ -151,7 +151,7 @@ DEF_linux=-DLUASOCKET_$(DEBUG) -DLUA_$(C
+@@ -145,13 +145,13 @@ SOCKET_macosx=usocket.o
+ SO_linux=so
+ O_linux=o
+ CC_linux=gcc
+-DEF_linux=-DLUASOCKET_$(DEBUG) -DLUA_$(COMPAT)_MODULE \
++DEF_linux=-DLUASOCKET_$(DEBUG) -DLUA_$(COMPAT)_MODULE -DLUA_COMPAT_APIINTCASTS \
+       -DLUASOCKET_API='__attribute__((visibility("default")))' \
+       -DUNIX_API='__attribute__((visibility("default")))' \
        -DMIME_API='__attribute__((visibility("default")))'
  CFLAGS_linux= -I$(LUAINC) $(DEF) -pedantic -Wall -Wshadow -Wextra \
        -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden



Home | Main Index | Thread Index | Old Index