From patchwork Sun Jun 22 12:51:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 362545 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 8506E14007C for ; Sun, 22 Jun 2014 22:52:07 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8644788291; Sun, 22 Jun 2014 12:52:06 +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 cl1cwKLXU+iy; Sun, 22 Jun 2014 12:52:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 8538488F4C; Sun, 22 Jun 2014 12:52:05 +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 EABA71BF97E for ; Sun, 22 Jun 2014 12:52:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E468F88F4C for ; Sun, 22 Jun 2014 12:52:03 +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 e0PyQnOj0m2J for ; Sun, 22 Jun 2014 12:52:02 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 40C9988291 for ; Sun, 22 Jun 2014 12:52:02 +0000 (UTC) Received: from asgard (host213.190-31-126.telecom.net.ar [190.31.126.213]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.9/8.14.9) with ESMTP id s5MCpt2L005165 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 22 Jun 2014 12:51:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1403441519; bh=J3eEpoMhVzOJHlljnPk6wAZ99rCNNXA2QFWIbK6C+ls=; h=From:To:Cc:Subject:Date; b=kPqbV+LarNm+9XrOtekNT3ulwJAJKbyF7qGTcIQhOiH5Gc/LZpQo21tYAd+puqxDE vdsbtB28ez75ghfuBM8TyNMR/m+JzxwlnCKKzsghDo1Jf7JnxiiQ8xL5JJ/HktgkCJ yVffY8kpKNBH8NZ/bCkRJEECcGHhLnTshxUdx3tA= Received: by asgard (sSMTP sendmail emulation); Sun, 22 Jun 2014 09:51:49 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Sun, 22 Jun 2014 09:51:49 -0300 Message-Id: <1403441509-27982-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.5.5 X-Virus-Scanned: clamav-milter 0.98.1 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] libhid: fix for nommu 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 Make it accept uclinux in the tuple as linux. Fixes: http://autobuild.buildroot.net/results/07f/07f2a560d9915ff7bad830be11f95aa856ce0e73/ Upstream seems dead with the last commit in svn being 5+ years ago and with some recent patches in the mailing list just sitting there. Signed-off-by: Gustavo Zacarias --- ...libhid-0001-dont-fiddle-with-debug-flags.patch} | 0 ...tch => libhid-0002-no-newline-in-ldflags.patch} | 0 package/libhid/libhid-0003-uclinux.patch | 27 ++++++++++++++++++++++ 3 files changed, 27 insertions(+) rename package/libhid/{libhid-dont-fiddle-with-debug-flags.patch => libhid-0001-dont-fiddle-with-debug-flags.patch} (100%) rename package/libhid/{libhid-no-newline-in-ldflags.patch => libhid-0002-no-newline-in-ldflags.patch} (100%) create mode 100644 package/libhid/libhid-0003-uclinux.patch diff --git a/package/libhid/libhid-dont-fiddle-with-debug-flags.patch b/package/libhid/libhid-0001-dont-fiddle-with-debug-flags.patch similarity index 100% rename from package/libhid/libhid-dont-fiddle-with-debug-flags.patch rename to package/libhid/libhid-0001-dont-fiddle-with-debug-flags.patch diff --git a/package/libhid/libhid-no-newline-in-ldflags.patch b/package/libhid/libhid-0002-no-newline-in-ldflags.patch similarity index 100% rename from package/libhid/libhid-no-newline-in-ldflags.patch rename to package/libhid/libhid-0002-no-newline-in-ldflags.patch diff --git a/package/libhid/libhid-0003-uclinux.patch b/package/libhid/libhid-0003-uclinux.patch new file mode 100644 index 0000000..cb3c452 --- /dev/null +++ b/package/libhid/libhid-0003-uclinux.patch @@ -0,0 +1,27 @@ +Good old 'uclinux is also linux' + +Signed-off-by: Gustavo Zacarias + +diff -Nura libhid-0.2.16.orig/configure.ac libhid-0.2.16/configure.ac +--- libhid-0.2.16.orig/configure.ac 2014-06-22 09:35:50.277261742 -0300 ++++ libhid-0.2.16/configure.ac 2014-06-22 09:36:10.688951947 -0300 +@@ -80,6 +80,7 @@ + + MD_CONF_DEBUGGING + MD_CONF_COMPILER ++AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "uclinux") + AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "linux") + AM_CONDITIONAL(OS_BSD, test "$MD_OS" = "bsd") + AM_CONDITIONAL(OS_SOLARIS, test "$MD_OS" = "solaris") +diff -Nura libhid-0.2.16.orig/m4/md_check_os.m4 libhid-0.2.16/m4/md_check_os.m4 +--- libhid-0.2.16.orig/m4/md_check_os.m4 2014-06-22 09:35:50.275261675 -0300 ++++ libhid-0.2.16/m4/md_check_os.m4 2014-06-22 09:46:17.651475891 -0300 +@@ -3,7 +3,7 @@ + AC_CANONICAL_HOST + AC_MSG_CHECKING(for target OS) + case $host in +- *-linux*) ++ *-linux*|*-uclinux*) + AC_DEFINE(OS_LINUX, [], [define to 1 if building for Linux]) + AC_SUBST(OS_LINUX) + MD_OS=linux