You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

69 lines
2.2 KiB

Index: deps/Makefile
--- deps/Makefile.orig 2024-10-18 21:33:44.096555000 +0200
+++ deps/Makefile 2024-10-18 21:34:02.438624000 +0200
@@ -79,7 +79,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 2024-10-02 23:09:21.000000000 +0200
+++ deps/linenoise/Makefile 2024-10-18 21:33:44.096673000 +0200
@@ -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 2024-10-02 23:09:21.000000000 +0200
+++ src/Makefile 2024-10-18 21:34:14.776306000 +0200
@@ -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
+WARN=-Wno-missing-field-initializers -Werror=deprecated-declarations -Wstrict-prototypes
OPT=$(OPTIMIZATION)
# Detect if the compiler supports C11 _Atomic.
Index: src/mkreleasehdr.sh
--- src/mkreleasehdr.sh.orig 2024-10-02 23:09:21.000000000 +0200
+++ src/mkreleasehdr.sh 2024-10-18 21:33:44.096905000 +0200
@@ -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 2024-10-02 23:09:21.000000000 +0200
+++ src/zmalloc.c 2024-10-18 21:33:44.097038000 +0200
@@ -35,6 +35,9 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
+#include <string.h>
+#include <sys/types.h>
#include <stdint.h>
#include <unistd.h>