aboutsummaryrefslogtreecommitdiff
path: root/network/bozohttpd
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-07 19:15:26 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-09 09:35:13 +0700
commit8e1b60d04803b1e6d35c7e588beba79d805334fe (patch)
treeb9cee441a3961b9a8f2669bc5893a2dc647b6218 /network/bozohttpd
parent58fd3481a8d55d5c31fe6f6bcf5d5fa992d2d2ee (diff)
network/bozohttpd: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/bozohttpd')
-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 35e5da91ed32..0d32bc50c19e 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"