diff options
author | Nick Hainke <vincent@systemli.org> | 2023-07-19 15:45:10 +0200 |
---|---|---|
committer | Nick Hainke <vincent@systemli.org> | 2023-08-01 13:26:04 +0200 |
commit | 4ca450deaca133b14a7798ab1803129c3f26353a (patch) | |
tree | e58a462b5248e4d1c859893ffa6166cece38c041 /tools/7z/patches | |
parent | 11bf820124e3155ef6b1762cd3ca533b9a7d577d (diff) |
tools/7z: update to 23.01
Release Notes:
https://sourceforge.net/p/sevenzip/discussion/45797/thread/3f550826d8/#e950
Manually adjust:
- 7-zip-flags.patch
Automatically refresh:
- 7-zip-musl.patch
Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'tools/7z/patches')
-rw-r--r-- | tools/7z/patches/7-zip-flags.patch | 15 | ||||
-rw-r--r-- | tools/7z/patches/7-zip-musl.patch | 8 |
2 files changed, 8 insertions, 15 deletions
diff --git a/tools/7z/patches/7-zip-flags.patch b/tools/7z/patches/7-zip-flags.patch index ed5b508401..b9b2152f22 100644 --- a/tools/7z/patches/7-zip-flags.patch +++ b/tools/7z/patches/7-zip-flags.patch @@ -1,14 +1,16 @@ --- a/CPP/7zip/7zip_gcc.mak +++ b/CPP/7zip/7zip_gcc.mak -@@ -18,13 +18,13 @@ PROGPATH_STATIC = $(O)/$(PROG)s +@@ -24,7 +24,7 @@ PROGPATH_STATIC = $(O)/$(PROG)s ifneq ($(CC), xlc)
--CFLAGS_WARN_WALL = -Wall -Werror -Wextra
+-CFLAGS_WARN_WALL = -Werror -Wall -Wextra
+CFLAGS_WARN_WALL = -Wall -Wextra
endif
# for object file
+@@ -32,7 +32,7 @@ endif + # -save-temps
CFLAGS_BASE_LIST = -c
# CFLAGS_BASE_LIST = -S
-CFLAGS_BASE = -O2 $(CFLAGS_BASE_LIST) $(CFLAGS_WARN_WALL) $(CFLAGS_WARN) \
@@ -16,12 +18,3 @@ -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
-fPIC
-@@ -192,7 +192,7 @@ all: $(O) $(PROGPATH) $(STATIC_TARGET) - $(O):
- $(MY_MKDIR) $(O)
-
--LFLAGS_ALL = -s $(MY_ARCH_2) $(LDFLAGS) $(LD_arch) $(OBJS) $(MY_LIBS) $(LIB2)
-+LFLAGS_ALL = $(MY_ARCH_2) $(LDFLAGS) $(LD_arch) $(OBJS) $(MY_LIBS) $(LIB2)
- $(PROGPATH): $(OBJS)
- $(CXX) -o $(PROGPATH) $(LFLAGS_ALL)
-
diff --git a/tools/7z/patches/7-zip-musl.patch b/tools/7z/patches/7-zip-musl.patch index cf3386e4de..e066cc8ec9 100644 --- a/tools/7z/patches/7-zip-musl.patch +++ b/tools/7z/patches/7-zip-musl.patch @@ -1,6 +1,6 @@ --- a/C/CpuArch.c +++ b/C/CpuArch.c -@@ -421,8 +421,6 @@ BoolInt CPU_IsSupported_AES (void) { ret +@@ -766,8 +766,6 @@ BoolInt CPU_IsSupported_AES (void) { ret #ifdef USE_HWCAP
@@ -11,7 +11,7 @@ --- a/C/Threads.c +++ b/C/Threads.c -@@ -257,7 +257,7 @@ WRes Thread_Create_With_CpuSet(CThread * +@@ -265,7 +265,7 @@ WRes Thread_Create_With_CpuSet(CThread * */
// ret2 =
@@ -20,7 +20,7 @@ // if (ret2) ret = ret2;
#endif
}
-@@ -267,14 +267,12 @@ WRes Thread_Create_With_CpuSet(CThread * +@@ -275,14 +275,12 @@ WRes Thread_Create_With_CpuSet(CThread * if (!ret)
{
p->_created = 1;
@@ -37,7 +37,7 @@ // ret2 =
--- a/C/Threads.h +++ b/C/Threads.h -@@ -19,6 +19,7 @@ +@@ -20,6 +20,7 @@ #endif
#include <pthread.h>
|