From bc9d1ab703af3dbc483d3f0d89e959504a712dc8 Mon Sep 17 00:00:00 2001 From: ziggi Date: Fri, 27 Dec 2019 05:14:53 +0000 Subject: [PATCH] disable x11 events in mc --- system/mc482/Makefile | 3 ++- system/mc482/files/patch-x-configure | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 system/mc482/files/patch-x-configure diff --git a/system/mc482/Makefile b/system/mc482/Makefile index 3145d3bb..3e5edb7e 100644 --- a/system/mc482/Makefile +++ b/system/mc482/Makefile @@ -36,10 +36,11 @@ CONFIGURE_ARGS+= --with-diff-viewer CONFIGURE_ARGS+= --with-internal-edit CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALEBASE} CONFIGURE_ARGS+= --with-subshell -CONFIGURE_ARGS+= --without-x +CONFIGURE_ARGS+= --without-x --disable-x CONFIGURE_ARGS+= --mandir=${PREFIX}/man CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share/mc/etc +CONFIGURE_ENV+= ac_cv_lib_ICE_IceConnectionNumber=no CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib diff --git a/system/mc482/files/patch-x-configure b/system/mc482/files/patch-x-configure new file mode 100644 index 00000000..7e6fe7f1 --- /dev/null +++ b/system/mc482/files/patch-x-configure @@ -0,0 +1,11 @@ +--- ./configure~ 2019-12-27 07:04:55.202790000 +0200 ++++ ./configure 2019-12-27 07:06:14.940483000 +0200 +@@ -18918,7 +18918,7 @@ + } + _ACEOF + if ac_fn_c_try_link "$LINENO"; then : +- ac_cv_lib_ICE_IceConnectionNumber=yes ++ ac_cv_lib_ICE_IceConnectionNumber=no + else + ac_cv_lib_ICE_IceConnectionNumber=no + fi