archivers/libdeflate: update the port to version 1.14

Reported by:	portscout
This commit is contained in:
Alexey Dokuchaev 2022-09-12 15:13:52 +00:00
parent f6f4cc91ab
commit 0dfc497059
3 changed files with 11 additions and 11 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= libdeflate
PORTVERSION= 1.13
PORTVERSION= 1.14
DISTVERSIONPREFIX= v
CATEGORIES= archivers

View File

@ -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

View File

@ -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) \