summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-09-10 18:50:58 -0400
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-09-11 18:47:19 +0200
commit6e7d5f891d51e70d7d9a77aea0ca707d6ca0dd46 (patch)
tree7209ff61585b32bd8d28bb29f062334b6401288a
parent930f49e2335fddcf74c474f7d1a5cc90a5057c72 (diff)
downloadmidipix_build-6e7d5f891d51e70d7d9a77aea0ca707d6ca0dd46.tar.bz2
midipix_build-6e7d5f891d51e70d7d9a77aea0ca707d6ca0dd46.tar.xz
libevent: fix test pertaining to PE targets (no undefined symbols).
Signed-off-by: Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>
-rw-r--r--build.vars1
-rw-r--r--config.cache3
-rw-r--r--libevent-2.0.22-stable.local.patch11
3 files changed, 14 insertions, 1 deletions
diff --git a/build.vars b/build.vars
index cee89761..0e814306 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 0d1ab79a..932044aa 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 00000000..f75fe90b
--- /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