Fix:

error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
--- src/libraries/luasocket/libluasocket/luasocket.c.orig	2011-04-27 09:40:26.000000000 -0500
+++ src/libraries/luasocket/libluasocket/luasocket.c	2024-05-16 06:01:49.000000000 -0500
@@ -110,7 +110,7 @@
 /*-------------------------------------------------------------------------*\
 * Initializes all library modules.
 \*-------------------------------------------------------------------------*/
-LUASOCKET_API luaopen_socket_core(lua_State *L) {
+LUASOCKET_API int luaopen_socket_core(lua_State *L) {
     int i;
     base_open(L);
     for (i = 0; mod[i].name; i++) mod[i].func(L);
