From 6e7d5f891d51e70d7d9a77aea0ca707d6ca0dd46 Mon Sep 17 00:00:00 2001 From: midipix Date: Sep 11 2016 16:47:19 +0000 Subject: libevent: fix test pertaining to PE targets (no undefined symbols). Signed-off-by: Lucio Andrés Illanes Albornoz (arab, vxp) --- diff --git a/build.vars b/build.vars index cee8976..0e81430 100644 --- a/build.vars +++ b/build.vars @@ -226,7 +226,6 @@ PKG_LVL3_MAKEFLAGS_INSTALL="DESTDIR=${PREFIX_NATIVE}"; : ${PKG_LIBEVENT_VERSION:=2.0.22-stable}; : ${PKG_LIBEVENT_SHA256SUM:=71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3}; : ${PKG_LIBEVENT_URL:=https://github.com/libevent/libevent/releases/download/release-${PKG_LIBEVENT_VERSION}/libevent-${PKG_LIBEVENT_VERSION}.tar.gz}; -: ${PKG_LIBEVENT_SLIBTOOL:=default}; : ${PKG_LIBFETCH_VERSION:=2.33}; : ${PKG_LIBFETCH_SHA256SUM:=3226f53d5ad29cc27510db968ef0d37bf4554b8aaaeadcd56e23067213b08943}; : ${PKG_LIBFETCH_URL:=https://sources.archlinux.org/other/libfetch/libfetch-${PKG_LIBFETCH_VERSION}.tar.gz}; diff --git a/config.cache b/config.cache index 0d1ab79..932044a 100644 --- a/config.cache +++ b/config.cache @@ -160,3 +160,6 @@ vim_cv_terminfo=yes vim_cv_toupper_broken=no vim_cv_tty_group=tty vim_cv_tty_mode=0666 + +# libevent +ac_pe_target=true diff --git a/libevent-2.0.22-stable.local.patch b/libevent-2.0.22-stable.local.patch new file mode 100644 index 0000000..f75fe90 --- /dev/null +++ b/libevent-2.0.22-stable.local.patch @@ -0,0 +1,11 @@ +--- libevent-2.0.22-stable/configure.orig 2016-09-10 18:47:19.360327924 -0400 ++++ libevent-2.0.22-stable/configure 2016-09-10 18:48:54.160396670 -0400 +@@ -12937,7 +12937,7 @@ + BUILD_CYGWIN_FALSE= + fi + +- if test x$bwin32 = xtrue || test x$cygwin = xtrue; then ++ if test x$bwin32 = xtrue || test x$cygwin = xtrue || test x$ac_pe_target = xtrue; then + BUILD_WITH_NO_UNDEFINED_TRUE= + BUILD_WITH_NO_UNDEFINED_FALSE='#' + else