openbsd-ports/editors/vim/patches/patch-src_auto_configure
2008-10-17 14:56:53 +00:00

29 lines
795 B
Plaintext

$OpenBSD: patch-src_auto_configure,v 1.5 2008/10/17 14:56:53 ckuethe Exp $
--- src/auto/configure.orig Thu Jul 24 05:40:36 2008
+++ src/auto/configure Thu Oct 16 12:15:10 2008
@@ -9988,6 +9988,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
+#include <sys/param.h>
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
@@ -14939,6 +14940,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
+#include <sys/param.h>
#include <sys/sysctl.h>
int
main ()
@@ -15775,7 +15777,7 @@ else
sed 's/^/| /' conftest.$ac_ext >&5
olibs=$LIBS
- LIBS="$LIBS -lintl"
+ LIBS="$LIBS -lintl -liconv"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF