summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2024-04-28 00:16:08 +0200
committerTijl Coosemans <tijl@FreeBSD.org>2024-04-28 00:22:18 +0200
commit5a022ef6a46f5b3e8d4a9f87151dfea3861c64bb (patch)
tree77ba0600c028833bfd0077841cd8866a559646c9 /graphics
parentwww/firefox: update to 125.0.3 (rc1) (diff)
graphics/giflib: Replace BINARY_ALIAS with patch
BINARY_ALIAS cannot be used because ghead is only a TEST_DEPENDS. Reported by: kib Fixes: 17bfc9d343da graphics/giflib: Update to 5.2.2
Diffstat (limited to 'graphics')
-rw-r--r--graphics/giflib/Makefile2
-rw-r--r--graphics/giflib/files/patch-tests_makefile15
2 files changed, 15 insertions, 2 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index 1d9754c2dad6..ca810da20e5f 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/Makefile
@@ -26,8 +26,6 @@ CFLAGS+= -DHAVE_REALLOCARRAY
CONFLICTS_INSTALL= giftool
-BINARY_ALIAS= head ghead
-
OPTIONS_DEFINE= DOCS
do-install-DOCS-on:
diff --git a/graphics/giflib/files/patch-tests_makefile b/graphics/giflib/files/patch-tests_makefile
new file mode 100644
index 000000000000..dbabec4d495a
--- /dev/null
+++ b/graphics/giflib/files/patch-tests_makefile
@@ -0,0 +1,15 @@
+--- tests/makefile.orig 2019-03-28 17:05:25 UTC
++++ tests/makefile
+@@ -104,10 +106,10 @@ giffilter-regress:
+
+ giffix-rebuild:
+ @echo "Rebuilding giffix test."
+- @head --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d >giffixed.ico
++ @ghead --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d >giffixed.ico
+ giffix-regress:
+ @echo "giffix: Testing giffix behavior"
+- @head --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d | diff -u giffixed.ico -
++ @ghead --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d | diff -u giffixed.ico -
+
+ gifinto-regress:
+ @echo "gifinto: Checking behavior on short files."