pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/jpeginfo jpeginfo: append the -o flag explici...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ad8375d3651d
branches: trunk
changeset: 391725:ad8375d3651d
user: fcambus <fcambus%pkgsrc.org@localhost>
date: Fri Jan 13 10:48:36 2023 +0000
description:
jpeginfo: append the -o flag explicitely in upstream Makefile.
This fixes the build with older versions of make, such as the one used
in NetBSD 9.
diffstat:
graphics/jpeginfo/distinfo | 4 ++--
graphics/jpeginfo/patches/patch-aa | 18 +++++++++++++++---
2 files changed, 17 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r a6031a1a20cb -r ad8375d3651d graphics/jpeginfo/distinfo
--- a/graphics/jpeginfo/distinfo Fri Jan 13 09:03:24 2023 +0000
+++ b/graphics/jpeginfo/distinfo Fri Jan 13 10:48:36 2023 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2023/01/09 20:08:28 fcambus Exp $
+$NetBSD: distinfo,v 1.10 2023/01/13 10:48:36 fcambus Exp $
BLAKE2s (jpeginfo-1.6.2.tar.gz) = 93df0f6120937a1dc9780e44750e32b3e23e50bf310881d709a6ef39ce543909
SHA512 (jpeginfo-1.6.2.tar.gz) = a077f2273fc96604796e3a922fea6b3761ae97fec22bd9dd26b766bed28334d54105d783e793e41e8dbfd1a27d5a6a0636f146ffa89528f7613f4cbe9358d9ac
Size (jpeginfo-1.6.2.tar.gz) = 93323 bytes
-SHA1 (patch-aa) = c7926744637b3810bba5a9e817ac4959cdab21af
+SHA1 (patch-aa) = 6c3ad29fc0dfffa55a3155f32abc58cd343bdfa5
diff -r a6031a1a20cb -r ad8375d3651d graphics/jpeginfo/patches/patch-aa
--- a/graphics/jpeginfo/patches/patch-aa Fri Jan 13 09:03:24 2023 +0000
+++ b/graphics/jpeginfo/patches/patch-aa Fri Jan 13 10:48:36 2023 +0000
@@ -1,8 +1,10 @@
-$NetBSD: patch-aa,v 1.3 2016/04/01 13:05:37 jperkin Exp $
+$NetBSD: patch-aa,v 1.4 2023/01/13 10:48:36 fcambus Exp $
-Use PKGMANDIR.
+- Use PKGMANDIR.
+- Append -o flag explicitely, this fixes the build with older versions
+ of make, such as the one used in NetBSD 9.
---- Makefile.in.orig 2002-12-07 22:13:21.000000000 +0000
+--- Makefile.in.orig 2023-01-08 06:33:16.000000000 +0000
+++ Makefile.in
@@ -26,8 +26,9 @@ libdir = $(prefix)/lib
infodir = $(prefix)/share/info
@@ -15,3 +17,13 @@
CC = @CC@
+@@ -54,6 +55,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)
+
Home |
Main Index |
Thread Index |
Old Index