From patchwork Thu Dec 29 14:46:49 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: 709513 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tqCLc2581z9sR9 for ; Fri, 30 Dec 2016 01:54:48 +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="v73cVGT1"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5AF7086B72; Thu, 29 Dec 2016 14:54:45 +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 Vg29TZLZR2Zt; Thu, 29 Dec 2016 14:54:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9B9428679A; Thu, 29 Dec 2016 14:54:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B31DC1C0197 for ; Thu, 29 Dec 2016 14:54:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A5AE281DFB for ; Thu, 29 Dec 2016 14:54:42 +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 1wwIfR-LSMlq for ; Thu, 29 Dec 2016 14:54:41 +0000 (UTC) X-Greylist: delayed 00:07:37 by SQLgrey-1.7.6 Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) by whitealder.osuosl.org (Postfix) with ESMTPS id B19AB81D10 for ; Thu, 29 Dec 2016 14:54:41 +0000 (UTC) Received: by mail-qk0-f195.google.com with SMTP id t184so35775676qkd.1 for ; Thu, 29 Dec 2016 06:54:41 -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; bh=tHyHCZaRSNEOQDi6Y571ELlsoT/mas2wXjuIBEnkEkg=; b=v73cVGT18kCQWmpFmfvkvY8Fcf4im2uVj7dWppMyBiYsAvKoF+pZFXcRDcAlUDM9k7 BIVRBwLiL/UPeyK2MkKidwUCjhDxClwR2BejMwwjU2oEBz30y1L17z4ko8gozzYOpz3p +28ysLdQFCEPVEZ6tyMahh+pq1kCd5sj2oYLbzQLeros6rL+YS99f0tPPDAKrYw8Wvi7 Qvl1zTTflUDHDgD/PEDoLK8J31Dl7MDlf49LzsRkrITp3gUqKYW0ZO1e2jq3Lwmmur6X ZR1HP/UEUu/z3Fv8mZQJPaA1MoRPuZ1GQ0RqOlIPg6ssP7Gr7MBZp8mjOhdkCGqja31N Q/EA== 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; bh=tHyHCZaRSNEOQDi6Y571ELlsoT/mas2wXjuIBEnkEkg=; b=hhlWpugyvn7yXCdd1oBWaTmVFd+hrPzhdLNbtjDoxSW4UEhDCPFup4LhsZM7hz5EBA dIP6kzToNu41CxbaJcmTDKiRNHSM/DWYpN8li0KWdbJeANF3FAk2KqzsmvzwdxAqt4aX eu6WNOVDHnTECXJLOKwozaGrbz+hraNYgmwZpNV4ZLEyimhx2VUc8H8XEgqpirx9Kl+i CvDDFNe3tcW8mkX/xzZ6JNtg5sJ9X/20Mma3TbzTBYtvUJYGOGYzqNo7ciVDKB3eZwJy dNGejjiBV7M1E7tmiObKfqHfrAqvbKhx3RlVEfdRsF6dcZzTdNhqmB4AI2GmSpviiOAF Pa/w== X-Gm-Message-State: AIkVDXJ/981jWC6Fao6h1zMCSiqRQw7YKHUZp2NLBKQ5zqvWe70/yT5ozkWmfapBTSM0XA== X-Received: by 10.55.19.224 with SMTP id 93mr44479933qkt.198.1483022823948; Thu, 29 Dec 2016 06:47:03 -0800 (PST) Received: from localhost.localdomain ([186.222.125.226]) by smtp.gmail.com with ESMTPSA id c76sm33121858qke.0.2016.12.29.06.47.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Dec 2016 06:47:03 -0800 (PST) From: Gustavo Sverzut Barbieri To: buildroot@buildroot.org Date: Thu, 29 Dec 2016 12:46:49 -0200 Message-Id: <20161229144649.29850-1-barbieri@profusion.mobi> X-Mailer: git-send-email 2.11.0 Cc: Eric Le Bihan , Bernd Kuhls , Romain Naour , Gustavo Sverzut Barbieri Subject: [Buildroot] [PATCH] 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 --- package/eudev/0002-missing-defines-for-old-kernels.patch | 16 ++++++++++++++++ 1 file changed, 16 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..d34020f04 --- /dev/null +++ b/package/eudev/0002-missing-defines-for-old-kernels.patch @@ -0,0 +1,16 @@ +--- 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)