diff -Nurd -x'*~' stegdetect-0.6.orig/Makefile.in stegdetect-0.6/Makefile.in --- stegdetect-0.6.orig/Makefile.in 2004-08-31 10:59:42.000000000 -0400 +++ stegdetect-0.6/Makefile.in 2005-12-20 01:56:06.000000000 -0500 @@ -70,12 +70,12 @@ JPEGDIR = ./jpeg-6b JPEGINC = -I$(JPEGDIR) -JPEGLIB = -L$(JPEGDIR) -ljpeg +JPEGLIB = $(JPEGDIR)/libjpeg.a JPEGDEP = $(JPEGDIR)/libjpeg.a FILEDIR = ./file FILEINC = -I$(FILEDIR) -FILELIB = -L$(FILEDIR) -lfile +FILELIB = $(FILEDIR)/libfile.a FILEDEP = $(FILEDIR)/libfile.a GTKINC = @GTKINC@ diff -Nurd -x'*~' stegdetect-0.6.orig/arc4.c stegdetect-0.6/arc4.c --- stegdetect-0.6.orig/arc4.c 2004-08-29 19:11:00.000000000 -0400 +++ stegdetect-0.6/arc4.c 2005-12-20 02:30:23.000000000 -0500 @@ -29,6 +29,7 @@ */ #include +#include #include "config.h" diff -Nurd -x'*~' stegdetect-0.6.orig/file/Makefile.in stegdetect-0.6/file/Makefile.in --- stegdetect-0.6.orig/file/Makefile.in 2004-08-29 19:11:06.000000000 -0400 +++ stegdetect-0.6/file/Makefile.in 2005-12-20 02:24:50.000000000 -0500 @@ -78,7 +78,7 @@ @FSECT5_TRUE@man_MAGIC = magic.5 @FSECT5_FALSE@man_MAGIC = magic.4 fsect = @fsect@ -man_MANS = file.1 $(man_MAGIC) +man_MANS = libfile_a_SOURCES = file.c apprentice.c fsmagic.c softmagic.c ascmagic.c compress.c is_tar.c readelf.c print.c file.h names.h patchlevel.h readelf.h tar.h magic.c diff -Nurd -x'*~' stegdetect-0.6.orig/jpeg-6b/makefile.cfg stegdetect-0.6/jpeg-6b/makefile.cfg --- stegdetect-0.6.orig/jpeg-6b/makefile.cfg 2004-08-29 19:11:09.000000000 -0400 +++ stegdetect-0.6/jpeg-6b/makefile.cfg 2007-03-28 02:23:22.000000000 -0400 @@ -23,7 +23,7 @@ CC= @CC@ # You may need to adjust these cc options: -CFLAGS= @CFLAGS@ @CPPFLAGS@ @INCLUDEFLAGS@ +CFLAGS= @INCLUDEFLAGS@ @CFLAGS@ @CPPFLAGS@ # Generally, we recommend defining any configuration symbols in jconfig.h, # NOT via -D switches here. # However, any special defines for ansi2knr.c may be included here: @@ -193,7 +193,9 @@ # Installation rules: -install: cjpeg djpeg jpegtran rdjpgcom wrjpgcom @FORCE_INSTALL_LIB@ +install: + +install_ORIG: cjpeg djpeg jpegtran rdjpgcom wrjpgcom @FORCE_INSTALL_LIB@ $(INSTALL_PROGRAM) cjpeg $(bindir)/$(binprefix)cjpeg $(INSTALL_PROGRAM) djpeg $(bindir)/$(binprefix)djpeg $(INSTALL_PROGRAM) jpegtran $(bindir)/$(binprefix)jpegtran diff -Nurd -x'*~' stegdetect-0.6.orig/jutil.c stegdetect-0.6/jutil.c --- stegdetect-0.6.orig/jutil.c 2004-08-29 19:41:48.000000000 -0400 +++ stegdetect-0.6/jutil.c 2005-12-20 01:50:43.000000000 -0500 @@ -41,6 +41,7 @@ #include #include #include +#include #include diff -Nurd -x'*~' stegdetect-0.6.orig/md5.c stegdetect-0.6/md5.c --- stegdetect-0.6.orig/md5.c 2004-08-29 20:16:47.000000000 -0400 +++ stegdetect-0.6/md5.c 2005-12-20 01:51:06.000000000 -0500 @@ -24,6 +24,7 @@ public domain. */ #include +#include #ifdef HAVE_CONFIG_H #include "config.h" diff -Nurd -x'*~' stegdetect-0.6.orig/stegbreak.c stegdetect-0.6/stegbreak.c --- stegdetect-0.6.orig/stegbreak.c 2004-08-29 19:11:00.000000000 -0400 +++ stegdetect-0.6/stegbreak.c 2005-12-20 02:35:35.000000000 -0500 @@ -597,7 +597,7 @@ total_count += count; fprintf(stderr, "Processed %d files, found %d embeddings.\n", n, found); - fprintf(stderr, "Time: %d seconds: Cracks: %d, % 8.1f c/s\n", + fprintf(stderr, "Time: %ld seconds: Cracks: %d, % 8.1f c/s\n", now, total_count, (float)total_count/now); } else fprintf(stderr, "Converted %d files.\n", n); diff -Nurd -x'*~' stegdetect-0.6.orig/stegdetect.c stegdetect-0.6/stegdetect.c --- stegdetect-0.6.orig/stegdetect.c 2004-09-03 00:01:35.000000000 -0400 +++ stegdetect-0.6/stegdetect.c 2006-02-02 23:32:42.000000000 -0800 @@ -78,7 +78,6 @@ float DCThist[257]; float scale = 1; /* Sensitivity scaling */ -static int debug = 0; static int quiet = 0; static int ispositive = 0; /* Current images contain stego */ static char *transformname; /* Current transform name */ @@ -1046,7 +1045,7 @@ } } done: - fprintf(stdout, " %s(%d)<[%s][", what, + fprintf(stdout, " %s(%ld)<[%s][", what, buflen, is_random(buf, buflen) ? "random" : "nonrandom"); noprint = 0; /* Prints to stdout */