Index: deps/Makefile --- deps/Makefile.orig 2025-10-21 18:05:42.000000000 +0200 +++ deps/Makefile 2025-11-22 10:01:22.992431000 +0100 @@ -85,7 +85,7 @@ LUA_CFLAGS= -D__C99FEATURES__=1 endif -LUA_CFLAGS+= -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DLUA_USE_MKSTEMP $(CFLAGS) +LUA_CFLAGS+= -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DLUA_USE_MKSTEMP $(CFLAGS) LUA_LDFLAGS+= $(LDFLAGS) ifeq ($(LUA_DEBUG),yes) LUA_CFLAGS+= -O0 -g -DLUA_USE_APICHECK Index: deps/linenoise/Makefile --- deps/linenoise/Makefile.orig 2025-10-21 18:05:42.000000000 +0200 +++ deps/linenoise/Makefile 2025-11-22 10:01:22.992516000 +0100 @@ -1,6 +1,6 @@ STD= -WARN= -Wall -OPT= -Os +WARN= +OPT= R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) R_LDFLAGS= $(LDFLAGS) Index: src/Makefile --- src/Makefile.orig 2025-10-21 18:05:42.000000000 +0200 +++ src/Makefile 2025-11-22 10:01:47.311373000 +0100 @@ -35,7 +35,7 @@ NODEPS:=clean distclean # Default settings -STD=-pedantic +STD= # Use -Wno-c11-extensions on clang, either where explicitly used or on # platforms we can assume it's being used. @@ -46,7 +46,7 @@ STD+=-Wno-c11-extensions endif endif -WARN=-Wall -W -Wno-missing-field-initializers -Werror=deprecated-declarations -Wstrict-prototypes -Werror=undef +WARN= OPT=$(OPTIMIZATION) # Detect if the compiler supports C11 _Atomic. Index: src/mkreleasehdr.sh --- src/mkreleasehdr.sh.orig 2025-10-21 18:05:42.000000000 +0200 +++ src/mkreleasehdr.sh 2025-11-22 10:01:22.992753000 +0100 @@ -1,6 +1,6 @@ #!/bin/sh GIT_SHA1=`(git show-ref --head --hash=8 2> /dev/null || echo 00000000) | head -n1` -GIT_DIRTY=`git diff --no-ext-diff -- ../src ../deps 2> /dev/null | wc -l` +GIT_DIRTY=`(git diff --no-ext-diff) 2>/dev/null | wc -l` BUILD_ID=`uname -n`"-"`date +%s` if [ -n "$SOURCE_DATE_EPOCH" ]; then BUILD_ID=$(date -u -d "@$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u +%s) Index: src/zmalloc.c --- src/zmalloc.c.orig 2025-10-21 18:05:42.000000000 +0200 +++ src/zmalloc.c 2025-11-22 10:01:22.992879000 +0100 @@ -35,6 +35,9 @@ #include #include +#include +#include +#include #include #include