Skip to content

Commit

Permalink
archivers/7-zip: update to 23.01
Browse files Browse the repository at this point in the history
PR:		273417
Submitted by:	Fabian Wenk
  • Loading branch information
MaxBrazhnikov committed Aug 31, 2023
1 parent 3015e94 commit afb0176
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion archivers/7-zip/Makefile
@@ -1,5 +1,5 @@
PORTNAME= 7-zip
DISTVERSION= 22.01
DISTVERSION= 23.01
CATEGORIES= archivers
MASTER_SITES= https://www.7-zip.org/a/
DISTNAME= 7z${DISTVERSION:S/.//}-src
Expand Down
6 changes: 3 additions & 3 deletions archivers/7-zip/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1668954126
SHA256 (7z2201-src.7z) = 24cb2b9c6c0fb87d9c77a8d2afb572f5c75b45c950eff81a37ebac7fa73d1b4a
SIZE (7z2201-src.7z) = 1280446
TIMESTAMP = 1687255440
SHA256 (7z2301-src.7z) = fc459c2314a032231c157fd3257906c070ceed11efd6ffa621c2dfebbbc31281
SIZE (7z2301-src.7z) = 1365807
12 changes: 7 additions & 5 deletions archivers/7-zip/files/patch-CPP_7zip_7zip__gcc.mak
@@ -1,27 +1,29 @@
--- CPP/7zip/7zip_gcc.mak.orig 2021-12-12 12:16:07 UTC
--- CPP/7zip/7zip_gcc.mak.orig 2023-08-31 09:13:13 UTC
+++ CPP/7zip/7zip_gcc.mak
@@ -14,13 +14,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 =
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) \
+CFLAGS_BASE = $(CFLAGS_BASE_LIST) $(CFLAGS_WARN_WALL) $(CFLAGS_WARN) \
-DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
-fPIC

@@ -111,7 +111,7 @@ MY_MKDIR=mkdir -p
@@ -142,7 +142,7 @@ DEL_OBJ_EXE = -$(RM) $(PROGPATH) $(PROGPATH_STATIC) $(

# LOCAL_LIBS=-lpthread
# LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl
-LIB2 = -lpthread -ldl
+LIB2 = $(LOCAL_LIBS) -lpthread



endif

0 comments on commit afb0176

Please sign in to comment.