openbsd-ports/net/bitlbee/patches/patch-configure

22 lines
559 B
Plaintext

$OpenBSD: patch-configure,v 1.5 2006/04/11 15:11:33 naddy Exp $
--- configure.orig Sun Jan 15 02:14:05 2006
+++ configure Sun Jan 29 03:23:47 2006
@@ -82,6 +82,8 @@ CONFIG=$config
ARCH=$arch
CPU=$cpu
+#define HAVE_SNPRINTF
+#define HAVE_VSNPRINTF
OUTFILE=bitlbee
DESTDIR=
@@ -110,8 +112,6 @@ if [ "$debug" = "1" ]; then
echo 'CFLAGS=-g' >> Makefile.settings
echo 'DEBUG=1' >> Makefile.settings
echo '#define DEBUG' >> config.h
-else
- echo 'CFLAGS=-O3' >> Makefile.settings
fi
echo CFLAGS+=-I`pwd` -I`pwd`/protocols -I. >> Makefile.settings