freebsd-ports/security/stegdetect/files/patch-stegdetect.c
Alexey Dokuchaev 11a0f387a8 - Fix the build with GCC 4.2 and unbreak [1]
- Patch things silently as we normally do
- Usual cleanups of Makefile and pkg-descr

Reported by:	pointyhat (logs) [1]
2007-07-04 14:23:54 +00:00

37 lines
733 B
C

--- stegdetect.c.orig Sat Apr 15 00:14:05 2006
+++ stegdetect.c Sat Apr 15 00:14:40 2006
@@ -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 */
@@ -1227,7 +1227,7 @@
strlcat(outbuf, quality(tmp, stars), sizeof(outbuf));
flag = 1;
}
- no_f5:
+ no_f5:;
a_wasted_var = 0;
}
@@ -1267,7 +1267,7 @@
strlcat(outbuf, tmp, sizeof(outbuf));
}
- no_invisiblesecrets:
+ no_invisiblesecrets:;
a_wasted_var = 0;
}
@@ -1332,7 +1332,7 @@
}
free(dcts);
- jsteg_error:
+ jsteg_error:;
a_wasted_var = 0;
}