slackware-current/source/d/lua/lua.usr.local.patch
Patrick J Volkerding 8712cd5e26 Tue Feb 13 19:19:24 UTC 2024
ap/tmux-3.4-x86_64-1.txz:  Upgraded.
d/lua-5.4.6-x86_64-5.txz:  Rebuilt.
  Search paths under /usr/local in addition to /usr.
  Thanks to Arch for the patch.
l/gst-plugins-bad-free-1.22.10-x86_64-1.txz:  Upgraded.
l/gst-plugins-base-1.22.10-x86_64-1.txz:  Upgraded.
l/gst-plugins-good-1.22.10-x86_64-1.txz:  Upgraded.
l/gst-plugins-libav-1.22.10-x86_64-1.txz:  Upgraded.
l/gstreamer-1.22.10-x86_64-1.txz:  Upgraded.
l/wireplumber-0.4.17-x86_64-3.txz:  Rebuilt.
  Build against system lua.
n/bind-9.18.24-x86_64-1.txz:  Upgraded.
  This update fixes bugs and security issues:
  Specific DNS answers could cause a denial-of-service condition due to DNS
  validation taking a long time.
  Restore DNS64 state when handling a serve-stale timeout.
  Specific queries could trigger an assertion check with nxdomain-redirect
  enabled.
  Speed up parsing of DNS messages with many different names.
  For more information, see:
    https://kb.isc.org/docs/cve-2023-50387
    https://www.cve.org/CVERecord?id=CVE-2023-50387
    https://kb.isc.org/docs/cve-2023-5679
    https://www.cve.org/CVERecord?id=CVE-2023-5679
    https://kb.isc.org/docs/cve-2023-5517
    https://www.cve.org/CVERecord?id=CVE-2023-5517
    https://kb.isc.org/docs/cve-2023-4408
    https://www.cve.org/CVERecord?id=CVE-2023-4408
  (* Security fix *)
n/ipset-7.21-x86_64-1.txz:  Upgraded.
2024-02-13 21:00:01 +01:00

32 lines
966 B
Diff

--- ./src/luaconf.h.orig 2023-05-02 15:02:30.000000000 -0500
+++ ./src/luaconf.h 2024-02-13 13:04:58.161007318 -0600
@@ -224,19 +224,28 @@
#else /* }{ */
#define LUA_ROOT "/usr/local/"
+#define LUA_ROOT2 "/usr/"
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/"
+#define LUA_LDIR2 LUA_ROOT2 "share/lua/" LUA_VDIR "/"
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/"
+#define LUA_CDIR2 LUA_ROOT2 "lib/lua/" LUA_VDIR "/"
#if !defined(LUA_PATH_DEFAULT)
#define LUA_PATH_DEFAULT \
LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
+ LUA_LDIR2"?.lua;" LUA_LDIR2"?/init.lua;" \
LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \
+ LUA_CDIR2"?.lua;" LUA_CDIR2"?/init.lua;" \
"./?.lua;" "./?/init.lua"
#endif
#if !defined(LUA_CPATH_DEFAULT)
#define LUA_CPATH_DEFAULT \
- LUA_CDIR"?.so;" LUA_CDIR"loadall.so;" "./?.so"
+ LUA_CDIR"?.so;" \
+ LUA_CDIR2"?.so;" \
+ LUA_CDIR"loadall.so;" \
+ LUA_CDIR2"loadall.so;" \
+ "./?.so"
#endif
#endif /* } */