aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/bozohttpd/bozohttpd.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/network/bozohttpd/bozohttpd.SlackBuild b/network/bozohttpd/bozohttpd.SlackBuild
index 35e5da91ed32a..0d32bc50c19e6 100644
--- a/network/bozohttpd/bozohttpd.SlackBuild
+++ b/network/bozohttpd/bozohttpd.SlackBuild
@@ -143,6 +143,11 @@ case "$LUA" in
;;
esac
+# 20220207 bkw: due to 15.0's newer gcc, non-lua and lua 5.2 builds
+# were failing (and I didn't notice right away because I keep lua 5.3
+# installed).
+sed -i '1i#include <stdint.h>' $PRGNAM.c
+
echo "=== LUA='$LUA'"
if [ "$LUA" != "no" ] && lua$LUA -v &>/dev/null; then
LUAOPT="-I/usr/include/lua$LUA"