From 0dfc497059f640d7c500e034fbbe727eb0606c0e Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Mon, 12 Sep 2022 15:13:52 +0000 Subject: [PATCH] archivers/libdeflate: update the port to version 1.14 Reported by: portscout --- archivers/libdeflate/Makefile | 2 +- archivers/libdeflate/distinfo | 6 +++--- archivers/libdeflate/files/patch-Makefile | 14 +++++++------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/archivers/libdeflate/Makefile b/archivers/libdeflate/Makefile index 0ad5f4b3c14d..0f8d236c45ac 100644 --- a/archivers/libdeflate/Makefile +++ b/archivers/libdeflate/Makefile @@ -1,5 +1,5 @@ PORTNAME= libdeflate -PORTVERSION= 1.13 +PORTVERSION= 1.14 DISTVERSIONPREFIX= v CATEGORIES= archivers diff --git a/archivers/libdeflate/distinfo b/archivers/libdeflate/distinfo index cf7c7dd67e86..3c91091c26a8 100644 --- a/archivers/libdeflate/distinfo +++ b/archivers/libdeflate/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1659680511 -SHA256 (ebiggers-libdeflate-v1.13_GH0.tar.gz) = 0d81f197dc31dc4ef7b6198fde570f4e8653c77f4698fcb2163d820a9607c838 -SIZE (ebiggers-libdeflate-v1.13_GH0.tar.gz) = 173736 +TIMESTAMP = 1662862430 +SHA256 (ebiggers-libdeflate-v1.14_GH0.tar.gz) = 89e7df898c37c3427b0f39aadcf733731321a278771d20fc553f92da8d4808ac +SIZE (ebiggers-libdeflate-v1.14_GH0.tar.gz) = 180182 diff --git a/archivers/libdeflate/files/patch-Makefile b/archivers/libdeflate/files/patch-Makefile index 99a4143e5a89..66a8a1f66d06 100644 --- a/archivers/libdeflate/files/patch-Makefile +++ b/archivers/libdeflate/files/patch-Makefile @@ -1,15 +1,15 @@ ---- Makefile.orig 2022-01-12 05:24:28 UTC +--- Makefile.orig 2022-09-11 02:13:50 UTC +++ Makefile -@@ -54,7 +54,7 @@ cc-option = $(shell if $(CC) $(1) -c -x c /dev/null -o +@@ -54,7 +54,7 @@ override CFLAGS := \ 1>&2 2>/dev/null; then echo $(1); fi) override CFLAGS := \ - -O2 -fomit-frame-pointer -std=c99 -I. -Wall -Wundef \ + -std=c99 -I. -Wall -Wundef \ - $(call cc-option,-Wpedantic) \ $(call cc-option,-Wdeclaration-after-statement) \ + $(call cc-option,-Wimplicit-fallthrough) \ $(call cc-option,-Wmissing-prototypes) \ -@@ -331,7 +331,7 @@ install:all $(PKGCONFBASE) +@@ -340,7 +340,7 @@ install:all $(PKGCONFBASE) $(DESTDIR)$(BINDIR) install -m644 $(STATIC_LIB) $(DESTDIR)$(LIBDIR) if [ -z "$(DISABLE_SHARED)" ]; then \ @@ -18,12 +18,12 @@ fi sed -e "s|@PREFIX@|$(PREFIX)|" \ -e "s|@LIBDIR@|$(LIBDIR)|" \ -@@ -340,7 +340,7 @@ install:all $(PKGCONFBASE) +@@ -349,7 +349,7 @@ install:all $(PKGCONFBASE) $(PKGCONFBASE) > $(DESTDIR)$(LIBDIR)/pkgconfig/libdeflate.pc chmod 644 $(DESTDIR)$(LIBDIR)/pkgconfig/libdeflate.pc install -m644 libdeflate.h $(DESTDIR)$(INCDIR) - install -m755 gzip$(PROG_SUFFIX) \ + install -s -m755 gzip$(PROG_SUFFIX) \ $(DESTDIR)$(BINDIR)/libdeflate-gzip$(PROG_SUFFIX) - ln -f $(DESTDIR)$(BINDIR)/libdeflate-gzip$(PROG_SUFFIX) \ - $(DESTDIR)$(BINDIR)/libdeflate-gunzip$(PROG_SUFFIX) + if [ -n "$(HARD_LINKS)" ]; then \ + ln -f $(DESTDIR)$(BINDIR)/libdeflate-gzip$(PROG_SUFFIX) \