git: 5a022ef6a46f - main - graphics/giflib: Replace BINARY_ALIAS with patch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Apr 2024 22:24:04 UTC
The branch main has been updated by tijl: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a022ef6a46f5b3e8d4a9f87151dfea3861c64bb commit 5a022ef6a46f5b3e8d4a9f87151dfea3861c64bb Author: Tijl Coosemans <tijl@FreeBSD.org> AuthorDate: 2024-04-27 22:16:08 +0000 Commit: Tijl Coosemans <tijl@FreeBSD.org> CommitDate: 2024-04-27 22:22:18 +0000 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 --- graphics/giflib/Makefile | 2 -- 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."