pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/jpeginfo



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Fri Jan 13 10:48:36 UTC 2023

Modified Files:
        pkgsrc/graphics/jpeginfo: distinfo
        pkgsrc/graphics/jpeginfo/patches: patch-aa

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/graphics/jpeginfo/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/jpeginfo/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/jpeginfo/distinfo
diff -u pkgsrc/graphics/jpeginfo/distinfo:1.9 pkgsrc/graphics/jpeginfo/distinfo:1.10
--- pkgsrc/graphics/jpeginfo/distinfo:1.9       Mon Jan  9 20:08:28 2023
+++ pkgsrc/graphics/jpeginfo/distinfo   Fri Jan 13 10:48:36 2023
@@ -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

Index: pkgsrc/graphics/jpeginfo/patches/patch-aa
diff -u pkgsrc/graphics/jpeginfo/patches/patch-aa:1.3 pkgsrc/graphics/jpeginfo/patches/patch-aa:1.4
--- pkgsrc/graphics/jpeginfo/patches/patch-aa:1.3       Fri Apr  1 13:05:37 2016
+++ pkgsrc/graphics/jpeginfo/patches/patch-aa   Fri Jan 13 10:48:36 2023
@@ -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 @@ Use PKGMANDIR.
  
  
  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