package/libevent: drop patch
PATCH 1/1 package/libevent: drop patch
Drop patch and autoreconf, instead use existing --disable-libevent-regress option to disable tests
Signed-off-by Fabrice Fontaine <[email protected]>
--- .../0001-Disable-building-test-programs.patch | 31 ------------------- package/libevent/libevent.mk | 11 ++++--- 2 files changed, 7 insertions(+), 35 deletions(-) delete mode 100644 package/libevent/0001-Disable-building-test-programs.patch
package/libevent/0001-Disable-building-test-programs.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From 4b5a135fa681e85eb6988a379f59f3c7a41cc48c Mon Sep 17 00:00:00 2001 -From: Gilles Talis <[email protected]> -Date: Fri, 21 Jun 2013 15:25:11 -0700 -Subject: [PATCH] Disable building test programs - -We are not really interested in building test programs. -Moreover, these programs use fork() function that is -not available on MMU-less architectures. - -Signed-off-by: Gilles Talis <[email protected]> -[aduskett at gmail.com: Updated for 2.1.8] -Signed-off-by: Adam Duskett <[email protected]> ---- - Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.am b/Makefile.am -index 42879a3..dc90359 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -144,7 +144,6 @@ - BUILT_SOURCES = - include include/include.am - include sample/include.am --include test/include.am - - if BUILD_WIN32 - --- -2.1.1 -
package/libevent/libevent.mk +7 -4
@@ -10,10 +10,13 @@ LIBEVENT_SOURCE = libevent-$(LIBEVENT_VERSION)-stable.tar.gz LIBEVENT_INSTALL_STAGING = YES LIBEVENT_LICENSE = BSD-3-Clause, OpenBSD LIBEVENT_LICENSE_FILES = LICENSE -# For 0001-Disable-building-test-programs.patch -LIBEVENT_AUTORECONF = YES -LIBEVENT_CONF_OPTS = --disable-samples -HOST_LIBEVENT_CONF_OPTS = --disable-samples --disable-openssl +LIBEVENT_CONF_OPTS = \ + --disable-libevent-regress \ + --disable-samples +HOST_LIBEVENT_CONF_OPTS = \ + --disable-libevent-regress \ + --disable-samples \ + --disable-openssl define LIBEVENT_REMOVE_PYSCRIPT rm $(TARGET_DIR)/usr/bin/event_rpcgen.py
Signature · 1 line
2.20.1
Thomas Petazzoni
AppliedPATCH 1/1 package/libevent: drop patch
Quoted 9 lines · On Sat, 17 Aug 2019 21:32:08 +0200 Fabrice Fontaine…
Drop patch and autoreconf, instead use existing --disable-libevent-regress option to disable tests
Signed-off-by Fabrice Fontaine <[email protected]>--- .../0001-Disable-building-test-programs.patch | 31 ------------------- package/libevent/libevent.mk | 11 ++++--- 2 files changed, 7 insertions(+), 35 deletions(-) delete mode 100644 package/libevent/0001-Disable-building-test-programs.patch
Applied to next, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com