From patchwork Fri Jun 21 23:59:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilles Talis X-Patchwork-Id: 253326 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 689492C03DD for ; Sat, 22 Jun 2013 09:59:18 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6BFAD31E93; Fri, 21 Jun 2013 23:59:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LDYy3ZXQXVXR; Fri, 21 Jun 2013 23:59:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7DA3E1FE7D; Fri, 21 Jun 2013 23:59:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 243788F753 for ; Fri, 21 Jun 2013 23:59:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 28CEA8CBE4 for ; Fri, 21 Jun 2013 23:59:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PDdabdACYWac for ; Fri, 21 Jun 2013 23:59:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 394468CB91 for ; Fri, 21 Jun 2013 23:59:09 +0000 (UTC) Received: by mail-pb0-f43.google.com with SMTP id md12so8486968pbc.2 for ; Fri, 21 Jun 2013 16:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=JFMpujmeHOCvzRpe9MEh244u1UL4QhoWp17PH9I3x8s=; b=gbMmiiZ2CifDqtzQvFCwyRzsl3eRvr9W2Rv8rIT5Z32NdVmsTljQkgYVfacNJQG3Xz oNWqQdb9IPfNS5AvZp1yM0jDL82dxUac3SnnRGxi6Oh/tsgrXb8uigdAWe5FmhKBR5wP MLgNI3lG6Khv7s0c48hV05zdK5Rtfocm8jjLZMjdnM7s8Sd4QlhkDFlcGh761MXfGF6E Nvbr597XiidYKrXTx/DsKRDF1mfYF/3VZboXSWx/IQ+yFomwRyc0myCc6Wkxux1gx14y YbAfjhzOxG3cUVAUxiOktA6pk3JXGFrFkheN7jL/Wa0HYqJuDRqDwsPl6ZN24lwBJpBv +OsA== X-Received: by 10.66.0.233 with SMTP id 9mr18797477pah.33.1371859148913; Fri, 21 Jun 2013 16:59:08 -0700 (PDT) Received: from localhost.localdomain ([72.166.5.70]) by mx.google.com with ESMTPSA id fm2sm7683192pab.13.2013.06.21.16.59.07 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 21 Jun 2013 16:59:08 -0700 (PDT) From: Gilles Talis To: buildroot@busybox.net Date: Fri, 21 Jun 2013 16:59:03 -0700 Message-Id: <1371859143-31329-1-git-send-email-gilles.talis@gmail.com> X-Mailer: git-send-email 1.7.4.1 Subject: [Buildroot] [PATCH] libevent: disable building test programs X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Libevent test programs use fork(), function that is not available on MMU-less architecture. This patch prevents compiling libevent test programs so that library can successfully build on architectures like blackfin Fixes: http://autobuild.buildroot.org/results/2e0/2e0422f1042d0cb00f5bab0dc190930581ed4ef2/ Signed-off-by: Gilles Talis --- .../libevent-disable-building-test-programs.patch | 30 ++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) create mode 100644 package/libevent/libevent-disable-building-test-programs.patch diff --git a/package/libevent/libevent-disable-building-test-programs.patch b/package/libevent/libevent-disable-building-test-programs.patch new file mode 100644 index 0000000..4b0f0d9 --- /dev/null +++ b/package/libevent/libevent-disable-building-test-programs.patch @@ -0,0 +1,30 @@ +From e932c8864e1bb8b6a7901d4b049a1100c4becba5 Mon Sep 17 00:00:00 2001 +From: Gilles Talis +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 +--- + Makefile.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 2ebefa2..4fba1ff 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -487,7 +487,7 @@ LIBEVENT_LIBS_LA = libevent.la libevent_core.la libevent_extra.la \ + @INSTALL_LIBEVENT_TRUE@lib_LTLIBRARIES = $(LIBEVENT_LIBS_LA) + @INSTALL_LIBEVENT_TRUE@pkgconfig_DATA = $(LIBEVENT_PKGCONFIG) + @INSTALL_LIBEVENT_FALSE@noinst_LTLIBRARIES = $(LIBEVENT_LIBS_LA) +-SUBDIRS = . include sample test ++SUBDIRS = . include sample + @BUILD_WIN32_FALSE@SYS_LIBS = + @BUILD_WIN32_TRUE@SYS_LIBS = -lws2_32 -lshell32 -ladvapi32 + @BUILD_WIN32_FALSE@SYS_SRC = $(am__append_5) $(am__append_6) \ +-- +1.7.4.1 +