From patchwork Tue Sep 3 12:28:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 272214 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id DB9DF2C0097 for ; Tue, 3 Sep 2013 22:28:38 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E4C268B0C7; Tue, 3 Sep 2013 12:28:37 +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 aSqAYhJRwGHN; Tue, 3 Sep 2013 12:28:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9CF658B14E; Tue, 3 Sep 2013 12:28:35 +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 4FF4F1BFA6F for ; Tue, 3 Sep 2013 12:28:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 487968B0E3 for ; Tue, 3 Sep 2013 12:28:34 +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 fFYWVVcbjF9J for ; Tue, 3 Sep 2013 12:28:31 +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 CE70284E94 for ; Tue, 3 Sep 2013 12:28:30 +0000 (UTC) Received: from asgard (host126.190-136-121.telecom.net.ar [190.136.121.126]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.7/8.14.7) with ESMTP id r83CSNAO014870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 3 Sep 2013 12:28:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1378211308; bh=Q2oFBDTCkHcCyVZiu8UZu4a5f+ayIALrakcpUiXWNq0=; h=From:To:Cc:Subject:Date; b=mC/4gBet2sgBuoeMXwsob2k3smOh4sI2mcXeNMhgBc32OkTKCOWdHeLFo6lO56nij 1TiSjwU0hcevLMNXIJ2dt5DBdj+CgiijY1rsekzFx8mX7Ho9xzVEuIHaupZL5Bx48r UyKciwavDmfGo2rESM+HWj+Hk1bY+e2SVKOf/jG4= Received: by asgard (sSMTP sendmail emulation); Tue, 03 Sep 2013 09:28:18 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Tue, 3 Sep 2013 09:28:17 -0300 Message-Id: <1378211297-2226-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.1.5 X-Virus-Scanned: clamav-milter 0.97.7 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] libusb: build fix for flat binaries 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 Fixes: http://autobuild.buildroot.net/results/4d1/4d1b9c6132e7836bc2ecab4b1483b80d2e042dcd/ Signed-off-by: Gustavo Zacarias --- package/libusb/libusb-01-uclinux.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/libusb/libusb-01-uclinux.patch diff --git a/package/libusb/libusb-01-uclinux.patch b/package/libusb/libusb-01-uclinux.patch new file mode 100644 index 0000000..9d8cbb9 --- /dev/null +++ b/package/libusb/libusb-01-uclinux.patch @@ -0,0 +1,30 @@ +*-uclinux* is valid in the tuple for linux, it's used for flat binaries +for example. +Patch both configure* for consistency and to avoid an unnecessary autoreconf. + +Signed-off-by: Gustavo Zacarias + +diff -Nura libusb-1.0.9.orig/configure libusb-1.0.9/configure +--- libusb-1.0.9.orig/configure 2013-09-03 08:57:14.412645064 -0300 ++++ libusb-1.0.9/configure 2013-09-03 09:08:16.530353595 -0300 +@@ -11093,7 +11093,7 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5 + $as_echo_n "checking operating system... " >&6; } + case $host in +-*-linux*) ++*-*linux*) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5 + $as_echo "Linux" >&6; } + backend="linux" +diff -Nura libusb-1.0.9.orig/configure.ac libusb-1.0.9/configure.ac +--- libusb-1.0.9.orig/configure.ac 2013-09-03 08:57:14.412645064 -0300 ++++ libusb-1.0.9/configure.ac 2013-09-03 09:08:23.046567236 -0300 +@@ -46,7 +46,7 @@ + + AC_MSG_CHECKING([operating system]) + case $host in +-*-linux*) ++*-*linux*) + AC_MSG_RESULT([Linux]) + backend="linux" + ;;