freebsd-ports/editors/nvi-devel/files/patch-configure
Johan van Selst 738b6555bb - Convert USE_AUTOTOOLS=libtool to USES=libtool.
- Fix build on FreeBSD 10 where libiconv isn't used.
- Remove post-install. Not needed with staging.

PR:		ports/186592
Submitted by:	tijl
2014-02-09 16:36:35 +00:00

27 lines
655 B
Text

--- ../dist/configure.orig 2007-11-18 08:43:54.000000000 -0800
+++ ../dist/configure 2008-06-15 11:35:32.000000000 -0700
@@ -27631,6 +27631,8 @@
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdio.h>
main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}
_ACEOF
rm -f conftest$ac_exeext
@@ -28624,7 +28626,7 @@
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <stdio.h>
-int fprintf ();
+/*int fprintf ();*/
int
main ()
@@ -28755,5 +28757,6 @@
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <stddef.h>
#include <db.h>
int
main ()