aboutsummaryrefslogtreecommitdiffstats
path: root/security/its4/files/patch-aa
blob: ea3d12bfaf12500f7d29431e871b4452866e728b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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