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.3 KiB

Index: deps/Makefile
--- deps/Makefile.orig 2025-06-20 23:06:30.295968000 +0200
+++ deps/Makefile 2025-06-20 23:08:38.929412000 +0200
@@ -105,7 +105,7 @@
LUA_CFLAGS= -D__C99FEATURES__=1
endif
-LUA_CFLAGS+= -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP $(DEPS_CFLAGS)
+LUA_CFLAGS+= -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP $(DEPS_CFLAGS)
LUA_LDFLAGS+= $(DEPS_LDFLAGS)
ifeq ($(LUA_DEBUG),yes)
LUA_CFLAGS+= -O0 -g -DLUA_USE_APICHECK
Index: deps/linenoise/Makefile
--- deps/linenoise/Makefile.orig 2025-06-19 08:00:09.000000000 +0200
+++ deps/linenoise/Makefile 2025-06-20 23:06:30.296101000 +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 2025-06-19 08:00:09.000000000 +0200
+++ src/Makefile 2025-06-20 23:06:30.296211000 +0200
@@ -39,7 +39,7 @@
NODEPS:=clean distclean
# Default settings
-STD=-pedantic -DREDIS_STATIC=''
+STD=-DREDIS_STATIC=''
# Use -Wno-c11-extensions on clang, either where explicitly used or on
# platforms we can assume it's being used.
@@ -50,7 +50,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)
SKIP_VEC_SETS?=no
Index: src/mkreleasehdr.sh
--- src/mkreleasehdr.sh.orig 2025-06-19 08:00:09.000000000 +0200
+++ src/mkreleasehdr.sh 2025-06-20 23:06:30.296267000 +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 2025-06-19 08:00:09.000000000 +0200
+++ src/zmalloc.c 2025-06-20 23:06:30.296414000 +0200
@@ -14,6 +14,9 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stddef.h>
+#include <string.h>
+#include <sys/types.h>
#include <stdint.h>
#include <unistd.h>