aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2019-08-12 16:30:42 +0800
committerdanfe <danfe@FreeBSD.org>2019-08-12 16:30:42 +0800
commitcfdb820bac632039bfc810b1997c2b6138a5257a (patch)
tree6892436025dcd34ad4857bf6267193fcdb2c1544
parent42d73528ad9da15f2110bc3b16ae373addc8bf36 (diff)
downloadfreebsd-ports-gnome-cfdb820bac632039bfc810b1997c2b6138a5257a.tar.gz
freebsd-ports-gnome-cfdb820bac632039bfc810b1997c2b6138a5257a.tar.zst
freebsd-ports-gnome-cfdb820bac632039bfc810b1997c2b6138a5257a.zip
Update `archivers/libdeflate' to version 1.3.
Reported by: portscout
-rw-r--r--archivers/libdeflate/Makefile2
-rw-r--r--archivers/libdeflate/distinfo6
-rw-r--r--archivers/libdeflate/files/patch-Makefile29
3 files changed, 17 insertions, 20 deletions
diff --git a/archivers/libdeflate/Makefile b/archivers/libdeflate/Makefile
index 333e4244dc13..7d93d0898b60 100644
--- a/archivers/libdeflate/Makefile
+++ b/archivers/libdeflate/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libdeflate
-PORTVERSION= 1.2
+PORTVERSION= 1.3
DISTVERSIONPREFIX= v
CATEGORIES= archivers
diff --git a/archivers/libdeflate/distinfo b/archivers/libdeflate/distinfo
index 19075c16bdbd..9f7c2b4426cc 100644
--- a/archivers/libdeflate/distinfo
+++ b/archivers/libdeflate/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1547530668
-SHA256 (ebiggers-libdeflate-v1.2_GH0.tar.gz) = d30203c3a2fae6cee70d52a59cc668740f806a4bb9eb6668930fb7de99464d90
-SIZE (ebiggers-libdeflate-v1.2_GH0.tar.gz) = 133494
+TIMESTAMP = 1565570198
+SHA256 (ebiggers-libdeflate-v1.3_GH0.tar.gz) = 09a23f5a6bf74789605a452364fae2156627a0a62a3de2a82ceb362982a87f0b
+SIZE (ebiggers-libdeflate-v1.3_GH0.tar.gz) = 134207
diff --git a/archivers/libdeflate/files/patch-Makefile b/archivers/libdeflate/files/patch-Makefile
index 782d449bfe53..ec9073c9e42e 100644
--- a/archivers/libdeflate/files/patch-Makefile
+++ b/archivers/libdeflate/files/patch-Makefile
@@ -1,27 +1,24 @@
---- Makefile.orig 2019-01-15 05:37:48 UTC
+--- Makefile.orig 2019-08-12 00:36:38 UTC
+++ Makefile
-@@ -21,7 +21,7 @@ cc-option = $(shell if $(CC) $(1) -c -x c /dev/null -o
+@@ -41,7 +41,7 @@ cc-option = $(shell if $(CC) $(1) -c -x c /dev/null -o
1>&2 2>/dev/null; then echo $(1); fi)
override CFLAGS := \
-- $(CFLAGS) -O2 -fomit-frame-pointer -std=c99 -I. -Icommon \
+- -O2 -fomit-frame-pointer $(CFLAGS) -std=c99 -I. -Icommon \
+ $(CFLAGS) -std=c99 -I. -Icommon \
-Wall -Wundef \
$(call cc-option,-Wpedantic) \
$(call cc-option,-Wdeclaration-after-statement) \
-@@ -240,11 +240,11 @@ DEFAULT_TARGETS += gunzip$(PROG_SUFFIX)
- all:$(DEFAULT_TARGETS)
-
+@@ -267,10 +267,10 @@ all:$(DEFAULT_TARGETS)
install:all
-- install -Dm644 -t $(DESTDIR)$(PREFIX)/lib $(STATIC_LIB)
-- install -Dm755 -t $(DESTDIR)$(PREFIX)/lib $(SHARED_LIB)
-+ install -m644 $(STATIC_LIB) $(DESTDIR)$(PREFIX)/lib
-+ install -s -m755 $(SHARED_LIB) $(DESTDIR)$(PREFIX)/lib
- ln -sf $(SHARED_LIB) $(DESTDIR)$(PREFIX)/lib/libdeflate.so
-- install -Dm644 -t $(DESTDIR)$(PREFIX)/include libdeflate.h
-- install -Dm755 gzip $(DESTDIR)$(PREFIX)/bin/libdeflate-gzip
-+ install -m644 libdeflate.h $(DESTDIR)$(PREFIX)/include
-+ install -s -m755 gzip $(DESTDIR)$(PREFIX)/bin/libdeflate-gzip
- ln -f $(DESTDIR)$(PREFIX)/bin/libdeflate-gzip $(DESTDIR)$(PREFIX)/bin/libdeflate-gunzip
+ install -d $(DESTDIR)$(LIBDIR) $(DESTDIR)$(INCDIR) $(DESTDIR)$(BINDIR)
+ install -m644 $(STATIC_LIB) $(DESTDIR)$(LIBDIR)
+- install -m755 $(SHARED_LIB) $(DESTDIR)$(LIBDIR)
++ install -s -m755 $(SHARED_LIB) $(DESTDIR)$(LIBDIR)
+ ln -sf $(SHARED_LIB) $(DESTDIR)$(LIBDIR)/libdeflate.so
+ install -m644 libdeflate.h $(DESTDIR)$(INCDIR)
+- install -m755 gzip $(DESTDIR)$(BINDIR)/libdeflate-gzip
++ install -s -m755 gzip $(DESTDIR)$(BINDIR)/libdeflate-gzip
+ ln -f $(DESTDIR)$(BINDIR)/libdeflate-gzip $(DESTDIR)$(BINDIR)/libdeflate-gunzip
uninstall: