From patchwork Tue Sep 3 13:36:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 272255 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 38C3F2C008C for ; Tue, 3 Sep 2013 23:37:02 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E49DA83D7E; Tue, 3 Sep 2013 13:37:00 +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 y4zqlPcld-42; Tue, 3 Sep 2013 13:37:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 0B1128B28E; Tue, 3 Sep 2013 13:37:00 +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 12C101BFA1F for ; Tue, 3 Sep 2013 13:36:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0993C8B28E for ; Tue, 3 Sep 2013 13:36:59 +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 VG68crNCq4pb for ; Tue, 3 Sep 2013 13:36:58 +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 CED4183D7E for ; Tue, 3 Sep 2013 13:36:57 +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 r83Dapag017862 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 3 Sep 2013 13:36:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1378215415; bh=3iutJQCGeUrbZsgVfWclAfB919NP5mJin5gHlQnR0k4=; h=From:To:Cc:Subject:Date; b=V3HCs3H/XIOUisGFr+iFxFo9dtw0T2G4qfPUmi6pYXWzhfddAywkxGBkV2v4+peFa ZTTZaoRy1Qux3aVUKAgBuvm0TJEHLeVDedoogyhTiBv1TBPD4UJsUsBAIV8lhawqJv nD/Nw/XHLYHyXWgPBD2UB9bmjKTl+wU+sOCP+UKQ= Received: by asgard (sSMTP sendmail emulation); Tue, 03 Sep 2013 10:36:45 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Tue, 3 Sep 2013 10:36:45 -0300 Message-Id: <1378215405-17885-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] [PATCHv2] 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..cbf48a7 --- /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 10:13:52.212301259 -0300 ++++ libusb-1.0.9/configure 2013-09-03 10:19:08.443669386 -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* | *-uclinux*) + { $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 10:13:52.212301259 -0300 ++++ libusb-1.0.9/configure.ac 2013-09-03 10:19:00.573411346 -0300 +@@ -46,7 +46,7 @@ + + AC_MSG_CHECKING([operating system]) + case $host in +-*-linux*) ++*-linux* | *-uclinux*) + AC_MSG_RESULT([Linux]) + backend="linux" + ;;