Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106229127
D28992.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
938 B
Referenced Files
None
Subscribers
None
D28992.diff
View Options
Index: head/devel/lua-sysctl/Makefile
===================================================================
--- head/devel/lua-sysctl/Makefile
+++ head/devel/lua-sysctl/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sysctl
PORTVERSION= 2.0
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
Index: head/devel/lua-sysctl/files/patch-src_lua__sysctl.c
===================================================================
--- head/devel/lua-sysctl/files/patch-src_lua__sysctl.c
+++ head/devel/lua-sysctl/files/patch-src_lua__sysctl.c
@@ -0,0 +1,11 @@
+--- src/lua_sysctl.c.orig 2021-03-01 07:11:51 UTC
++++ src/lua_sysctl.c
+@@ -517,7 +517,7 @@ luaA_sysctl_get(lua_State *L)
+ if (intlen > sizeof(lua_Unsigned))
+ lua_pushnumber(L, umv);
+ else
+- lua_pushunsigned(L, umv);
++ lua_pushinteger(L, (lua_Integer)(umv));
+ }
+ lua_settable(L, -3);
+ len -= intlen;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 28, 1:45 PM (6 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15623345
Default Alt Text
D28992.diff (938 B)
Attached To
Mode
D28992: devel/lua-sysctl: fix module loading on lua 5.3+
Attached
Detach File
Event Timeline
Log In to Comment