openbsd-ports/editors/vim/patches/patch-src_auto_configure

29 lines
795 B
Plaintext

$OpenBSD: patch-src_auto_configure,v 1.3 2007/08/29 18:19:13 jasper Exp $
--- src/auto/configure.orig Wed Aug 29 11:40:50 2007
+++ src/auto/configure Wed Aug 29 11:40:52 2007
@@ -10294,6 +10294,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
@@ -13593,6 +13594,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 ()
@@ -14327,7 +14329,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