[140235] trunk/dports/devel/lua-luasocket
devans at macports.org
devans at macports.org
Sun Sep 13 11:03:58 PDT 2015
Revision: 140235
https://trac.macports.org/changeset/140235
Author: devans at macports.org
Date: 2015-09-13 11:03:58 -0700 (Sun, 13 Sep 2015)
Log Message:
-----------
lua-luasocket: update to upstream git master, lua 5.3 compatibility fixes, fixes libquvi-scripts runtime errors after upgrade to lua 5.3.
Modified Paths:
--------------
trunk/dports/devel/lua-luasocket/Portfile
trunk/dports/devel/lua-luasocket/files/patch-Makefiles.diff
trunk/dports/devel/lua-luasocket/files/patch-src-udp.c.diff
Removed Paths:
-------------
trunk/dports/devel/lua-luasocket/files/patch-src-usocket.c.diff
Modified: trunk/dports/devel/lua-luasocket/Portfile
===================================================================
--- trunk/dports/devel/lua-luasocket/Portfile 2015-09-13 17:38:45 UTC (rev 140234)
+++ trunk/dports/devel/lua-luasocket/Portfile 2015-09-13 18:03:58 UTC (rev 140235)
@@ -4,9 +4,10 @@
PortSystem 1.0
PortGroup github 1.0
-github.setup diegonehab luasocket 3.0-rc1 v
+github.setup diegonehab luasocket 4110e4125d
name lua-luasocket
-revision 1
+version 3.0-rc1
+revision 2
categories devel
license MIT
platforms darwin
@@ -18,11 +19,10 @@
and a set of Lua modules that add support for functionality commonly \
needed by applications that deal with the Internet.
-homepage http://www.cs.princeton.edu/~diego/professional/luasocket/
+homepage http://w3.impa.br/~diego/software/luasocket/
-checksums md5 24b3532037c30ba3372578d9dbe23d0e \
- sha1 2549ccfa6c4f90e78b3f2db9b99558232f902987 \
- rmd160 4001930542a2eb7a4b3ba5bf90f73346b2a23a71
+checksums rmd160 56ea9c789fcac0c8bc1665f0f7258d7ea9dfa98e \
+ sha256 caee7e37107df53e917105c7e6b73438e9337ab2b309a3790edfc022d881748f
depends_lib port:lua
depends_build path:bin/pkg-config:pkgconfig
@@ -34,7 +34,6 @@
#livecheck.regex {luasocket-([0-9.]+)\.tar\.gz}
patchfiles patch-Makefiles.diff \
- patch-src-usocket.c.diff \
patch-src-udp.c.diff
use_configure no
Modified: trunk/dports/devel/lua-luasocket/files/patch-Makefiles.diff
===================================================================
--- trunk/dports/devel/lua-luasocket/files/patch-Makefiles.diff 2015-09-13 17:38:45 UTC (rev 140234)
+++ trunk/dports/devel/lua-luasocket/files/patch-Makefiles.diff 2015-09-13 18:03:58 UTC (rev 140235)
@@ -1,7 +1,6 @@
-diff -ur src/makefile.old src/makefile
---- src/makefile.old 2014-04-22 22:37:30.000000000 +0200
-+++ src/makefile 2014-04-23 00:09:31.000000000 +0200
-@@ -32,11 +32,11 @@
+--- src/makefile.orig 2015-08-25 11:43:48.000000000 -0700
++++ src/makefile 2015-09-13 09:06:50.000000000 -0700
+@@ -38,11 +38,11 @@
# where lua headers are found for macosx builds
# LUAINC_macosx:
# /opt/local/include
@@ -16,7 +15,7 @@
CDIR_macosx?=lib/lua/$(LUAV)
LDIR_macosx?=share/lua/$(LUAV)
-@@ -128,15 +128,15 @@
+@@ -142,15 +142,15 @@
# for Mac OS X
SO_macosx=so
O_macosx=o
@@ -26,7 +25,7 @@
-DLUASOCKET_API='__attribute__((visibility("default")))' \
-DUNIX_API='__attribute__((visibility("default")))' \
-DMIME_API='__attribute__((visibility("default")))'
- CFLAGS_macosx= -I$(LUAINC) $(DEF) -pedantic -Wall -O2 -fno-common \
+ CFLAGS_macosx= -I$(LUAINC) $(DEF) -Wall -O2 -fno-common \
- -fvisibility=hidden
+ -fvisibility=hidden @CFLAGS@
LDFLAGS_macosx= -bundle -undefined dynamic_lookup -o
Modified: trunk/dports/devel/lua-luasocket/files/patch-src-udp.c.diff
===================================================================
--- trunk/dports/devel/lua-luasocket/files/patch-src-udp.c.diff 2015-09-13 17:38:45 UTC (rev 140234)
+++ trunk/dports/devel/lua-luasocket/files/patch-src-udp.c.diff 2015-09-13 18:03:58 UTC (rev 140235)
@@ -1,6 +1,6 @@
--- src/udp.c.orig 2015-01-01 01:20:17.000000000 -0800
+++ src/udp.c 2015-01-01 01:21:09.000000000 -0800
-@@ -174,7 +174,10 @@ static int meth_sendto(lua_State *L) {
+@@ -177,7 +177,10 @@ static int meth_sendto(lua_State *L) {
memset(&aihint, 0, sizeof(aihint));
aihint.ai_family = udp->family;
aihint.ai_socktype = SOCK_DGRAM;
Deleted: trunk/dports/devel/lua-luasocket/files/patch-src-usocket.c.diff
===================================================================
--- trunk/dports/devel/lua-luasocket/files/patch-src-usocket.c.diff 2015-09-13 17:38:45 UTC (rev 140234)
+++ trunk/dports/devel/lua-luasocket/files/patch-src-usocket.c.diff 2015-09-13 18:03:58 UTC (rev 140235)
@@ -1,12 +0,0 @@
---- src/usocket.c.orig 2015-01-01 01:18:14.000000000 -0800
-+++ src/usocket.c 2015-01-01 01:18:31.000000000 -0800
-@@ -436,7 +436,9 @@ const char *socket_gaistrerror(int err)
- case EAI_MEMORY: return "memory allocation failure";
- case EAI_NONAME:
- return "host or service not provided, or not known";
-+#ifdef EAI_OVERFLOW
- case EAI_OVERFLOW: return "argument buffer overflow";
-+#endif
- #ifdef EAI_PROTOCOL
- case EAI_PROTOCOL: return "resolved protocol is unknown";
- #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150913/f2ee5294/attachment.html>
More information about the macports-changes
mailing list