From patchwork Thu Nov 22 00:17:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 200887 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 985542C0080 for ; Thu, 22 Nov 2012 11:19:14 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 89C7581696; Thu, 22 Nov 2012 00:19:12 +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 sNn-L8Rvuwhm; Thu, 22 Nov 2012 00:18:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 598A08C5BC; Thu, 22 Nov 2012 00:18:48 +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 8F9878F79A for ; Thu, 22 Nov 2012 00:18:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7E5D78C7EA for ; Thu, 22 Nov 2012 00:18:43 +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 WqCG8+T0FZUN for ; Thu, 22 Nov 2012 00:18:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6606B8C5BC for ; Thu, 22 Nov 2012 00:18:41 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so578127wey.16 for ; Wed, 21 Nov 2012 16:18:40 -0800 (PST) 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:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=AosTYGpGZ4tiRUy8QUMdGbN56Wp9sm6FYMXPYuawo8g=; b=qmjeHh3rxh6ySUOdBkkZwLzLurAE/fivXkS/KCMGU9VWQB40yGBY4CYEct3WC14zvJ a3lcvHoxowz986wDAUEjUyT5FE5bZpCJQxxUcUMeGdiTLaivbLUlxJbUElpxvyxujK/w woMn+RRhLfaMEu4ZI/Bfq143ChEza0Oibj8tPNOiPW8NKSVXpjh9hPFWageCZhaOZutN vJ8ZpsrUvcHCURP8odHAv1PxkWhS4+5xE4RHm/OSGcbBLyBWc8qTYO+H1Qd8E9lKe0eS cNNNutV5T/mOKne6sMAusIXQ8941RWNrXe2KRBrZV50ivQOBZE0dI0rSpRaRurC7VPfP TT/A== Received: by 10.180.19.73 with SMTP id c9mr1799231wie.8.1353543520122; Wed, 21 Nov 2012 16:18:40 -0800 (PST) Received: from localhost.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net. [82.229.165.48]) by mx.google.com with ESMTPS id r10sm1847697wiz.0.2012.11.21.16.18.38 (version=SSLv3 cipher=OTHER); Wed, 21 Nov 2012 16:18:38 -0800 (PST) From: Samuel Martin To: buildroot@busybox.net Date: Thu, 22 Nov 2012 01:17:51 +0100 Message-Id: <1353543503-8952-2-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1353543503-8952-1-git-send-email-s.martin49@gmail.com> References: <1353543503-8952-1-git-send-email-s.martin49@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] =?utf-8?q?=5BPATCH_01/33=5D_libecore=3A_fix_build_wit?= =?utf-8?q?h_glibc_=3E=3D2=2E16?= 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: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Samuel Martin --- ...ecore-ecore_exe-fix-build-with-glibc-2-16.patch | 94 ++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 package/efl/libecore/libecore-ecore_exe-fix-build-with-glibc-2-16.patch diff --git a/package/efl/libecore/libecore-ecore_exe-fix-build-with-glibc-2-16.patch b/package/efl/libecore/libecore-ecore_exe-fix-build-with-glibc-2-16.patch new file mode 100644 index 0000000..d9b439c --- /dev/null +++ b/package/efl/libecore/libecore-ecore_exe-fix-build-with-glibc-2-16.patch @@ -0,0 +1,94 @@ +Backported for commit a0df6712b6afcd07facd32e5a66809170277bdf3 +Fixed the ChangeLog part. + +This patch fix build with glibc >=2.16, avoiding the following error occurs: + +Making all in ecore +make[6]: Entering directory `/opt/buildroot/output/build/host-libecore-1.1.0/src/lib/ecore' + CC ecore.lo + CC ecore_anim.lo + CC ecore_app.lo + CC ecore_events.lo + CC ecore_getopt.lo + CC ecore_idle_enterer.lo + CC ecore_idle_exiter.lo + CC ecore_idler.lo + CC ecore_job.lo + CC ecore_main.lo + CC ecore_pipe.lo + CC ecore_poll.lo + CC ecore_time.lo + CC ecore_timer.lo + CC ecore_thread.lo + CC ecore_glib.lo + CC ecore_throttle.lo + CC ecore_signal.lo + CC ecore_exe.lo +ecore_exe.c: In function ‘ecore_exe_pipe_run’: +ecore_exe.c:486:15: warning: implicit declaration of function ‘setpriority’ [-Wimplicit-function-declaration] +ecore_exe.c:486:27: error ‘PRIO_PROCESS’ undeclared (first use in this function) +ecore_exe.c:486:27: note: each undeclared identifier is reported only once for each function it appears in +make[6]: *** [ecore_exe.lo] Error 1 + + +Signed-off-by: Samuel Martin + +--- +From a0df6712b6afcd07facd32e5a66809170277bdf3 Mon Sep 17 00:00:00 2001 +From: caro +Date: Fri, 22 Jun 2012 05:36:00 +0000 +Subject: [PATCH] ecore_exe: fix compilation on fedora 18. + +setpriority needs sys/resource.h. See: + +http://linux.die.net/man/2/setpriority + +I let sys/time.h, it does not hurt on linux and is anyway needed for BSD systems. + + +git-svn-id: http://svn.enlightenment.org/svn/e@72684 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 +--- + ChangeLog | 4 ++++ + src/lib/ecore/ecore_exe.c | 7 ++----- + 2 files changed, 6 insertions(+), 5 deletions(-) + +diff --git a/ChangeLog b/ChangeLog +index a306f75..549ad19 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -763,3 +763,7 @@ + 2011-11-29 Mike McCormack + + * Allow quitting before entering the glib version of the main loop ++ ++2012-06-22 Vincent Torri ++ ++ * ecore_exe: fix compilation on fedora 18. +diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c +index 7931a96..6db32a9 100644 +--- a/src/lib/ecore/ecore_exe.c ++++ b/src/lib/ecore/ecore_exe.c +@@ -2,11 +2,6 @@ + # include + #endif + +-#if defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) +-# include +-# include +-#endif +- + #include + #include + #include +@@ -14,6 +9,8 @@ + #include + #include + #include ++#include ++#include + + #ifdef HAVE_SYS_PRCTL_H + # include +-- +1.7.12.2 +