fix build

obexapp uses mktemp which incurs a security warning,
	and -Wfatal-errors causes the link to fail.
	the quick fix is to make WARNS=0
This commit is contained in:
plunky 2008-07-09 20:14:37 +00:00
parent cb4d79225b
commit f3042ff0a1
2 changed files with 12 additions and 3 deletions

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.7 2007/05/24 14:06:33 xtraeme Exp $
$NetBSD: distinfo,v 1.8 2008/07/09 20:14:37 plunky Exp $
SHA1 (obexapp-1.4.7.tar.gz) = 07d20b5ffb1247baf8dfd54356224bb571442ee3
RMD160 (obexapp-1.4.7.tar.gz) = da44684df4309a3e2d2a204927e3452db5256fa1
Size (obexapp-1.4.7.tar.gz) = 30846 bytes
SHA1 (patch-ac) = 7cae80c5a71fdd6cd97785dbf723aecf55e8cb2f
SHA1 (patch-af) = 75763fb546c3058002827c83b1f5fa4fdffc664e
SHA1 (patch-af) = a2e7b5f139c46085122d4154473e1b9061e9d42c

View file

@ -1,7 +1,16 @@
$NetBSD: patch-af,v 1.2 2007/05/24 14:06:33 xtraeme Exp $
$NetBSD: patch-af,v 1.3 2008/07/09 20:14:37 plunky Exp $
--- Makefile.orig 2007-04-23 20:29:18.000000000 +0200
+++ Makefile 2007-05-24 15:43:11.000000000 +0200
@@ -6,7 +6,7 @@ MANDIR= /usr/local/man/man
PROG= obexapp
MAN1= obexapp.1
-WARNS?= 3
+WARNS?= 0
SRCS= client.c event.c log.c main.c sdp.c server.c stream.c \
transport.c util.c
@@ -17,9 +17,9 @@
-I/usr/local/include/openobex \
-fno-strict-aliasing