openbsd-ports/www/sarg/patches/patch-configure
martynas cbb6a6bf82 fix a segmentation fault when you are using authentication and have
a user named "log"; from sarg bugtracker via freebsd
also, fix sprintf and rcs id; from maintainer Douglas Santos
thanks to aanriot@, who found some errors when i merged Douglas
Santos diff
ok aanriot@ and maintainer Douglas Santos
2007-06-22 12:48:25 +00:00

26 lines
801 B
Plaintext

$OpenBSD: patch-configure,v 1.5 2007/06/22 12:48:25 martynas Exp $
--- configure.orig Tue Jan 2 21:11:26 2007
+++ configure Tue Jun 19 20:24:58 2007
@@ -2335,12 +2335,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
;;
esac
-if test "${CC}" = "cc" ; then
- CFLAGS="${CFLAGS} -w -g -O2 -Aa"
-else
- CFLAGS="${CFLAGS} -w"
-fi
-
case "$host" in
*-solaris*)
LDFLAGS="${LDFLAGS} -lsocket -lnsl"
@@ -3990,7 +3984,7 @@ done
for ac_header in stdio.h stdlib.h string.h strings.h sys/time.h time.h unistd.h sys/dirent.h \
dirent.h sys/socket.h netdb.h arpa/inet.h sys/types.h netinet/in.h sys/stat.h \
- ctype.h gd.h gdfontl.h gdfontt.h gdfonts.h gdfontmb.h gdfontg.h iconv.h \
+ ctype.h iconv.h \
errno.h sys/resource.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`