Update jpeginfo to 1.6.2.

This commit is contained in:
fcambus 2023-01-14 10:38:12 +00:00
parent 19a5699aea
commit c11f174fce
3 changed files with 19 additions and 3 deletions

View File

@ -1,6 +1,6 @@
COMMENT = prints information and tests integrity of JPEG files
DISTNAME = jpeginfo-1.6.1
DISTNAME = jpeginfo-1.6.2
CATEGORIES = graphics

View File

@ -1,2 +1,2 @@
SHA256 (jpeginfo-1.6.1.tar.gz) = Yp4xzx2g+h7+SnzFTGcSOmj1Ak89joZKMEV66u0ddlM=
SIZE (jpeginfo-1.6.1.tar.gz) = 64856
SHA256 (jpeginfo-1.6.2.tar.gz) = HV/alZ68VA+pyBN25gCHVkmaUkpfZvgSnIeRXkzNoAQ=
SIZE (jpeginfo-1.6.2.tar.gz) = 93323

View File

@ -0,0 +1,16 @@
Append -o flag explicitely, otherwise hash.o and blocks.o are generated
in ${WRKSRC} instead of ${WRKSRC}/sha256 and linking fails.
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
@@ -54,6 +54,9 @@ DISTNAME = $(PKGNAME)-$(Version)
OBJS = $(PKGNAME).o misc.o @GNUGETOPT@ md5.o sha256/hash.o sha256/blocks.o
+.c.o:
+ $(CC) $(CFLAGS) -o $@ -c $<
+
$(PKGNAME): $(OBJS)
$(CC) $(CFLAGS) -o $(PKGNAME) $(OBJS) $(LDFLAGS) $(LIBS)