summaryrefslogtreecommitdiff
path: root/security/its4/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'security/its4/files/patch-aa')
-rw-r--r--security/its4/files/patch-aa25
1 files changed, 25 insertions, 0 deletions
diff --git a/security/its4/files/patch-aa b/security/its4/files/patch-aa
new file mode 100644
index 000000000000..ea3d12bfaf12
--- /dev/null
+++ b/security/its4/files/patch-aa
@@ -0,0 +1,25 @@
+--- configure.orig Mon Feb 21 11:53:17 2000
++++ configure Mon Feb 21 23:25:16 2000
+@@ -18,7 +18,7 @@
+ DATADIR=
+ MANDIR=
+ PROGNAME=its4
+-OPTIMIZATION=-O3
++OPTIMIZATION=${CFLAGS}
+ QUIET=
+ CC=
+ INSTALLPROG=
+@@ -192,11 +192,12 @@
+ ###### Check for snprintf()
+ printf %s "Checking for snprintf()... " 1>&5
+ cat >tmp.c <<EOF
++#include <stdio.h>
+ #include <string.h>
+ int main()
+ {
+ char buf[12];
+- snprintf(buf, "%s", 2, "foof");
++ snprintf(buf, 2, "%s", "foof");
+ }
+ EOF
+ if `${CC} tmp.c 2>/dev/null`; then