git: afb01763bb13 - main - archivers/7-zip: update to 23.01

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Thu, 31 Aug 2023 09:39:28 UTC
The branch main has been updated by makc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=afb01763bb13cf2636e25932dbdfa2d2c228042d

commit afb01763bb13cf2636e25932dbdfa2d2c228042d
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2023-08-31 09:38:03 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2023-08-31 09:39:00 +0000

    archivers/7-zip: update to 23.01
    
    PR:             273417
    Submitted by:   Fabian Wenk
---
 archivers/7-zip/Makefile                           |  2 +-
 archivers/7-zip/distinfo                           |  6 +++---
 archivers/7-zip/files/patch-CPP_7zip_7zip__gcc.mak | 12 +++++++-----
 3 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/archivers/7-zip/Makefile b/archivers/7-zip/Makefile
index 7fcfca41f7b4..a99e69d947e2 100644
--- a/archivers/7-zip/Makefile
+++ b/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
diff --git a/archivers/7-zip/distinfo b/archivers/7-zip/distinfo
index e87c809f04cb..ed3c02a007cf 100644
--- a/archivers/7-zip/distinfo
+++ b/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
diff --git a/archivers/7-zip/files/patch-CPP_7zip_7zip__gcc.mak b/archivers/7-zip/files/patch-CPP_7zip_7zip__gcc.mak
index 82ace8e6b679..7d7ed073351b 100644
--- a/archivers/7-zip/files/patch-CPP_7zip_7zip__gcc.mak
+++ b/archivers/7-zip/files/patch-CPP_7zip_7zip__gcc.mak
@@ -1,14 +1,16 @@
---- 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) \
@@ -16,7 +18,7 @@
   -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
@@ -24,4 +26,4 @@
 +LIB2 = $(LOCAL_LIBS) -lpthread
  
  
- 
+ endif