From patchwork Sat Oct 13 09:47:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 191290 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 8588F2C008A for ; Sat, 13 Oct 2012 20:48:45 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3A9A2A0301; Sat, 13 Oct 2012 09:48:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xR6YiiExOf+Z; Sat, 13 Oct 2012 09:48:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A225DA01B6; Sat, 13 Oct 2012 09:48:42 +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 285818F74A for ; Sat, 13 Oct 2012 09:48:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5A8848F589 for ; Sat, 13 Oct 2012 09:48:41 +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 PtWfI55-uk09 for ; Sat, 13 Oct 2012 09:48:39 +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 E9C648F57E for ; Sat, 13 Oct 2012 09:48:38 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id s43so2578720wey.16 for ; Sat, 13 Oct 2012 02:48:37 -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:mime-version :content-type:content-transfer-encoding; bh=HmZvlcVISPrMWgg1wOnOHFa1n5TCPTUOD2+kYgsQ1tY=; b=nxrJYp2bWyT1Y6rLRGYaJhPditBR+mI+DxDrsJJc1Zu29RwyKIk7zRb6gVfpy8iNk3 QGuIuzmybANqq0ehzp8OcUmilgsVA7gp3GQ2yG8GvFoD0r1zsmByZmI5IYxscmUzf5DY j+52its9QaJ/RnnoIcDoxpKh74TVCmVXrA14DPwcwyE+N9nE0c5Z0CFa4h7m7Ub5of8I 4R7nt68k6qJz1tW6AZtsjrE7SAXXK0F61WHl0xnL2cKIkZwQPJea0kH89H12aOqa71rY yT7AMuscMf87iRho17DLD3URVRHQF0/5nPJZsoDIZsbmLrqUU5nyRxSNYScr4Tvn09v/ KSPA== Received: by 10.180.80.104 with SMTP id q8mr11578705wix.6.1350121717227; Sat, 13 Oct 2012 02:48:37 -0700 (PDT) Received: from localhost.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net. [82.229.165.48]) by mx.google.com with ESMTPS id dt9sm2149992wib.1.2012.10.13.02.48.35 (version=SSLv3 cipher=OTHER); Sat, 13 Oct 2012 02:48:36 -0700 (PDT) From: Samuel Martin To: buildroot@busybox.net Date: Sat, 13 Oct 2012 11:47:48 +0200 Message-Id: <1350121668-28258-1-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 1.7.12.2 MIME-Version: 1.0 Subject: [Buildroot] =?utf-8?q?=5BPATCH_1/1=5D_libecore=3A_fix_build_with_?= =?utf-8?b?Z2xpYmMgPj0yLjE2?= 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 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 +