Bug#882538: jpeg-6b-steg/configure in outguess can be removed

Hilko Bengen bengen at debian.org
Mon Dec 18 10:39:36 UTC 2017


Control: tag -1 patch

Hi,

the configure file can be removed if the Makefile.in is patched to use
the existing makefile.unix to build the patched JPEG sources.

diff --git a/Makefile.in b/Makefile.in
index c911a5a..88a5717 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -45,7 +45,7 @@ extract: outguess
 	ln -sf outguess $@
 
 $(JPEGDEP):
-	cd $(JPEGDIR); $(MAKE) libjpeg.a
+	cd $(JPEGDIR); $(MAKE) -f makefile.unix CFLAGS=-DHAVE_STDC_HEADERS libjpeg.a
 
 install: all
 	$(INSTALL_PROG) -m 755 outguess $(install_prefix)$(bindir)

By the way, There *are* a few other packages that embed an old copy of
libjpeg with this specific configure file and without source: Search for
ijg_cv_have_prototypes on codesearch.debian.net.

Cheers,
-Hilko



More information about the forensics-devel mailing list