From patchwork Fri Dec 30 13:21:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Sverzut Barbieri X-Patchwork-Id: 709784 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tqnPq06Sjz9ssP for ; Sat, 31 Dec 2016 00:29:34 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=profusion-mobi.20150623.gappssmtp.com header.i=@profusion-mobi.20150623.gappssmtp.com header.b="PfVRmXNu"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 622578631A; Fri, 30 Dec 2016 13:29:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i-cZZjn7W6x0; Fri, 30 Dec 2016 13:29:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id EB56286292; Fri, 30 Dec 2016 13:29:31 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id D87CB1C0423 for ; Fri, 30 Dec 2016 13:29:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C6C062E82A for ; Fri, 30 Dec 2016 13:29:30 +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 6h3dU-zTmUy3 for ; Fri, 30 Dec 2016 13:29:29 +0000 (UTC) X-Greylist: delayed 00:07:59 by SQLgrey-1.7.6 Received: from mail-yw0-f194.google.com (mail-yw0-f194.google.com [209.85.161.194]) by silver.osuosl.org (Postfix) with ESMTPS id C205D2E7E0 for ; Fri, 30 Dec 2016 13:29:29 +0000 (UTC) Received: by mail-yw0-f194.google.com with SMTP id a10so29468330ywa.1 for ; Fri, 30 Dec 2016 05:29:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=profusion-mobi.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uSBaUBspD+kffnD9M3xQ7x3Fl2/2XvN5EpArV+Oo1H0=; b=PfVRmXNutf5WSxQm3YffzR5zn5q2EK3oYuGw7FgXViNxhSud15PMHUR+Bz4RPYFwGK JHKos/Jdzyq//7/uJxwxwuLxuQkg/okBn2+RRJsg83qF40wWfAgvaPss68fPanDJbmvR GB20uj8NBLGxH2ACux7S+8n11xSSQ9gMXvLDdMQcEXLTdZe5VFaglf9AaKk5kAEM3Xdd d2O0lqrjoUX4DpRkSsvWQnX5obwxZRb+s9r0qwHJlMyVC02lSUgi5wvOiexkzny1Zk0Q Bj+kbnLM/rystobY3BqVngd3wkozBDLqh9LpPTa4mvnwaIjuVUrvDPIdSRTFUhudXZ/K m6xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=uSBaUBspD+kffnD9M3xQ7x3Fl2/2XvN5EpArV+Oo1H0=; b=kPHN2WZRgPtaF3iK8xIgt2QN0i7FgzE8aPC2Xl/vB5Wa1Y9IjQp3RIU/B1Wet1g3YE q8DmlzHLc5Vr2IxpmAxTnAU85zTanehZrmC8xesqAsWO9zRUyJnzBcp3uXGTqf1iyc1l Lsm/IaJ2CsDwWFwcQl13OmcNXO0D88HQfhbYu8+/fnJ98AZf1w9VYhr0jOmvFSPhyAHf MIbLhZZUVCfN9JNXa15FhMykKOvnW3arVH70djRQdODr5zQzaZ9XfR7iuzpbXH9zxz9L /e41fQ+v7Rj/RROeuh3X44AuYEuAo013mQzwCLstWw98vQaSsIVmyt7/R2w8J1Lpp2cQ R2hQ== X-Gm-Message-State: AIkVDXJekksUi4zqoYrECBaUIH30YS/AmVdfJ3WH7DLokAPeA/w2urdxqR/uPBSnFVKWYQ== X-Received: by 10.129.104.212 with SMTP id d203mr41902488ywc.97.1483104089102; Fri, 30 Dec 2016 05:21:29 -0800 (PST) Received: from localhost.localdomain ([186.222.125.226]) by smtp.gmail.com with ESMTPSA id a143sm23158049ywe.40.2016.12.30.05.21.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Dec 2016 05:21:28 -0800 (PST) From: Gustavo Sverzut Barbieri To: buildroot@buildroot.org Date: Fri, 30 Dec 2016 11:21:08 -0200 Message-Id: <20161230132108.23805-1-barbieri@profusion.mobi> X-Mailer: git-send-email 2.11.0 In-Reply-To: <53d19a79-a06e-df52-ae4f-1bc0decb7e0c@gmail.com> References: <53d19a79-a06e-df52-ae4f-1bc0decb7e0c@gmail.com> Cc: Bernd Kuhls , Eric Le Bihan , Romain Naour , Gustavo Sverzut Barbieri Subject: [Buildroot] [PATCH 1/4] eudev: build with older kernels. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" Add missing defines so eudev builds for older kernels such as 2.6 Signed-off-by: Gustavo Sverzut Barbieri Reviewed-by: Romain Naour --- .../0002-missing-defines-for-old-kernels.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/eudev/0002-missing-defines-for-old-kernels.patch diff --git a/package/eudev/0002-missing-defines-for-old-kernels.patch b/package/eudev/0002-missing-defines-for-old-kernels.patch new file mode 100644 index 000000000..f2a3eff57 --- /dev/null +++ b/package/eudev/0002-missing-defines-for-old-kernels.patch @@ -0,0 +1,22 @@ +build with older kernels. + +Add missing defines so eudev builds for older kernels such as 2.6 + +Signed-off-by: Gustavo Sverzut Barbieri + +--- a/src/udev/udev-builtin-input_id.c 2016-12-23 16:43:55.398985478 +0000 ++++ b/src/udev/udev-builtin-input_id.c 2016-12-23 16:48:40.907182701 +0000 +@@ -33,6 +33,13 @@ + #include "udev.h" + #include "util.h" + ++#ifndef BTN_TRIGGER_HAPPY ++#define BTN_TRIGGER_HAPPY 0x2c0 ++#endif ++#ifndef INPUT_PROP_MAX ++#define INPUT_PROP_MAX 0x1f ++#endif ++ + /* we must use this kernel-compatible implementation */ + #define BITS_PER_LONG (sizeof(unsigned long) * 8) + #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)