[From nobody Thu Jun 25 05:54:45 2020
Received: from sonic313-19.consmr.mail.gq1.yahoo.com ([98.137.65.82])
 by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
 id 1fk7H5-0005EZ-PS
 for openwrt-devel@lists.openwrt.org; Mon, 30 Jul 2018 12:27:45 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1532953652; bh=ucAi1XNeIFzi1oOq8ExSs+BM1mFKVyvT1saGWjLxDZo=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject;
 b=eI0kxQzzr9LDDbQFWhYCi0To1hWZkrNfCF5iZWoFJsLn75RS/VXr+gjNqRZ/bI3n7ECRzHmerdKxO8LrL/VRoc/rIIvOLD7lJ0QRGJby4C5BSCGtCLI+v5A3qGHyfEmcGKaD++3XnvhpXw3pemTwosmF71f0aK6uZAWg0GWTq0KDkyAoC9rcc/05DDSwtoygIq8OrlOk92050jI6xVfetTU5vCpbTgo5pFwoO3sIi1LWzTqfhalh80uRdiibh/WOFClFul/joGq9J3Bf9L/R7JeFVbtALDN7p1g/tUJqq0bppTrcTwfemuhtihsapqwUCYmPHlnLvTdFIiJ6i7BgRw==
X-YMail-OSG: XtjMBjMVM1mkV8SWhn8pZNsCzp2.lI2W8u_sayLWF.KOfj9Ye7Q0U.8jcBKQ77g
 uBfcHnrmJfFxiXpVI5A4UhiKV8HCs5I9OVExnSuhGtq5eYAQs5HUXmwD4Ox6D_OK5SxNHKND3Gqe
 WPzoRO5ligSai8I_04Vlkg4YlGe_cW4g_PYjp7.MqPJ7dfIJc6HPg1nE5wU3aqshCAt3rnvP_U8b
 bgid.WtGVQvS0x3JKE3.TKluZhJPjIpdHU97Oixp0ypc5BL_6vXMnaJA9CxrKw6bpTQFfMk5sHAP
 VXj2Qx0ywK5pBmSW6MvOmpJcJbllSu5svYBIXOSHEJfte3yML3fnt_4U0rZuHTDnNMaek9CWFmFn
 NBIdckN1RtMUBQVGDoNOmLxxZmSidIlv0rCjXLFP0kN2Tj272Gws9.9bx_zMVS6pUnbFxN.LbYQi
 otw6qkvQ3ik3kv9WD1qKKjSWXhVeRrmiGzDAPLPSbG.ccACdnMAK.n2Rt0G_JIYBWDF31I6Yekvq
 WzobcxdYShg.b1SbIqUaP9gwNfiSItUrYIMCVeFuq7VPk9S0vHaOrxDmJJZ.XhCfYdw3LmhmLchk
 IkNCRrahy8m3uhVApKAIgjACp.42RTD0cIeSm_ljBWJd7hAa4P2EImVQiae0qm6EiTd7l4tHpq11
 Kp7WBC9y4zW3EfqMiR4vwJpzq9uZrtRgcBsEe_QUOuzug_g3dvlf9X14BJYbOgpx0frkEgUzFLmv
 5w.g2XgmXamvTwBuTbrtH.VossyFZuRFCN2soTIoUNEuByPihQ88b_fWjTfubxA3Y3a.5DtRfX0A
 mVJs_fJ3QbvnTrdsJ86bYMRz_yWPXuY3zlgTv3AqQHkL2eFKLgNXCqStu94h_KUAPB1H2.XB1X4z
 1l1KAHztcskgc_MVQpCTCmjUsFX6VpBeGtjFJHdxFDf0qAfAts8DVNnx1KKyYFyZjt3jiet3XEQX
 Oqdl8UFJNjxApqK1.mdzyADr2R8hDwABv_M5iINCYhVOdQ9x.SWDUdfGjT0vhDD4DFCs-
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic313.consmr.mail.gq1.yahoo.com with HTTP; Mon, 30 Jul 2018 12:27:32 +0000
Received: from 18.175.75.177.infopasa.com.br (EHLO gateway.troianet.com.br)
 ([177.75.175.18])
 by smtp415.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID
 1a775db24f1cb18000eb5cff305c471c; 
 Mon, 30 Jul 2018 12:27:27 +0000 (UTC)
From: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;
To: openwrt-devel@lists.openwrt.org
Cc: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;
Subject: [PATCH 1/1] libevent2: Don't build tests and samples
Date: Mon, 30 Jul 2018 09:26:55 -0300
Message-Id: &lt;20180730122655.21731-2-cote2004-github@yahoo.com&gt;
X-Mailer: git-send-email 2.16.4
In-Reply-To: &lt;20180730122655.21731-1-cote2004-github@yahoo.com&gt;
References: &lt;20180730122655.21731-1-cote2004-github@yahoo.com&gt;
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 
X-CRM114-CacheID: sfid-20180730_052743_850973_3D5E00A0 
X-CRM114-Status: UNSURE (   3.75  )
X-CRM114-Notice: Please train this message.
X-Spam-Score: -0.1 (/)
X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary:
 Content analysis details:   (-0.1 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
 trust [98.137.65.82 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
 (cote2004-github[at]yahoo.com)
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
 not necessarily valid
 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
 -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's
 domain

This reduces build time significantly.

Signed-off-by: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;

diff --git a/package/libs/libevent2/patches/0002-Makefile.am-omit-building-sample-and-test.patch b/package/libs/libevent2/patches/0002-Makefile.am-omit-building-sample-and-test.patch
new file mode 100644
index 0000000000..506137d555
--- /dev/null
+++ b/package/libs/libevent2/patches/0002-Makefile.am-omit-building-sample-and-test.patch
@@ -0,0 +1,13 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -143,8 +143,8 @@ CLEANFILES=
+ DISTCLEANFILES=
+ BUILT_SOURCES =
+ include include/include.am
+-include sample/include.am
+-include test/include.am
++#include sample/include.am
++#include test/include.am
+ 
+ if BUILD_WIN32
+ 
-- 
2.16.4


]