diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2024-04-28 00:16:08 +0200 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2024-04-28 00:22:18 +0200 |
commit | 5a022ef6a46f5b3e8d4a9f87151dfea3861c64bb (patch) | |
tree | 77ba0600c028833bfd0077841cd8866a559646c9 /graphics | |
parent | www/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/Makefile | 2 | ||||
-rw-r--r-- | graphics/giflib/files/patch-tests_makefile | 15 |
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." |