From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-la0-f50.google.com ([209.85.215.50]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Ts0DG-0006n5-Lq for openembedded-core@lists.openembedded.org; Mon, 07 Jan 2013 01:05:10 +0100 Received: by mail-la0-f50.google.com with SMTP id fs13so13991984lab.9 for ; Sun, 06 Jan 2013 15:50:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=04MGmqTVNyB+DMy5lnwTquTGeBVIub8MOwVCn/cR2rA=; b=cX/fE39gSBU4nmCR0/roAB+d71qUiQg0DuE2zOefyNn3CFPydrfs2LbhL9cVOJPANP ZxMF25JEdVWetqNHwoJrEOYg8RR+cO/CeIT/LShWaO8eT1OCfmk+jf7N7bKDUnrHTN6h E+xPFi8FSWLPB1/iXJFe3V+KR9Cyte/yuseXne+ZXZ5lp77NjpaFp1O1xvmK9crIOJEz gp7W2h6l+EwRPtSE9yzVFcRJGinf3vaGSKgX+wpHhGjEsw1xu+XKv8J6zUldckrNNKdA yNUdgn2zWqnFFq0edzI3L/rpoqPNLIBjfZe722uBBW21aGyHMR4Q4cluJKZ4K07V71DN Y3oA== X-Received: by 10.112.46.199 with SMTP id x7mr23927080lbm.109.1357516202081; Sun, 06 Jan 2013 15:50:02 -0800 (PST) Received: from prime (a91-153-5-18.elisa-laajakaista.fi. [91.153.5.18]) by mx.google.com with ESMTPS id ee5sm20240492lbb.14.2013.01.06.15.49.58 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Jan 2013 15:50:00 -0800 (PST) Received: from cazfi by prime with local (Exim 4.80) (envelope-from ) id 1TrzyS-0001Pt-It; Mon, 07 Jan 2013 01:49:52 +0200 From: Marko Lindqvist To: openembedded-core@lists.openembedded.org Date: Mon, 7 Jan 2013 01:49:35 +0200 Message-Id: <1357516181-5358-10-git-send-email-cazfi74@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1357516181-5358-9-git-send-email-cazfi74@gmail.com> References: <1357516181-5358-1-git-send-email-cazfi74@gmail.com> <1357516181-5358-2-git-send-email-cazfi74@gmail.com> <1357516181-5358-3-git-send-email-cazfi74@gmail.com> <1357516181-5358-4-git-send-email-cazfi74@gmail.com> <1357516181-5358-5-git-send-email-cazfi74@gmail.com> <1357516181-5358-6-git-send-email-cazfi74@gmail.com> <1357516181-5358-7-git-send-email-cazfi74@gmail.com> <1357516181-5358-8-git-send-email-cazfi74@gmail.com> <1357516181-5358-9-git-send-email-cazfi74@gmail.com> Subject: [PATCH v2 09/15] libusb: replace obsolete automake macros with working ones X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2013 00:05:10 -0000 Add obsolete-automake-macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. Signed-off-by: Marko Lindqvist --- .../libusb-compat-0.1.4/obsolete_automake_macros.patch | 15 +++++++++++++++ meta/recipes-support/libusb/libusb-compat_0.1.4.bb | 3 ++- .../libusb/libusb1-1.0.9/obsolete_automake_macros.patch | 15 +++++++++++++++ meta/recipes-support/libusb/libusb1_1.0.9.bb | 6 ++++-- 4 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-support/libusb/libusb-compat-0.1.4/obsolete_automake_macros.patch create mode 100644 meta/recipes-support/libusb/libusb1-1.0.9/obsolete_automake_macros.patch diff --git a/meta/recipes-support/libusb/libusb-compat-0.1.4/obsolete_automake_macros.patch b/meta/recipes-support/libusb/libusb-compat-0.1.4/obsolete_automake_macros.patch new file mode 100644 index 0000000..bb07f81 --- /dev/null +++ b/meta/recipes-support/libusb/libusb-compat-0.1.4/obsolete_automake_macros.patch @@ -0,0 +1,15 @@ +Upstream-status: Submitted (https://libusb.org/ticket/161) + +Signed-off-by: Marko Lindqvist +diff -Nurd libusb-compat-0.1.4/configure.ac libusb-compat-0.1.4/configure.ac +--- libusb-compat-0.1.4/configure.ac 2012-04-24 08:45:46.000000000 +0300 ++++ libusb-compat-0.1.4/configure.ac 2013-01-02 16:41:30.440115202 +0200 +@@ -1,7 +1,7 @@ + AC_INIT([libusb-compat], [0.1.4]) + AM_INIT_AUTOMAKE + AC_CONFIG_SRCDIR([libusb/core.c]) +-AM_CONFIG_HEADER([config.h]) ++AC_CONFIG_HEADERS([config.h]) + AC_CONFIG_MACRO_DIR([m4]) + + AC_PREREQ([2.50]) diff --git a/meta/recipes-support/libusb/libusb-compat_0.1.4.bb b/meta/recipes-support/libusb/libusb-compat_0.1.4.bb index 24df017..d743072 100644 --- a/meta/recipes-support/libusb/libusb-compat_0.1.4.bb +++ b/meta/recipes-support/libusb/libusb-compat_0.1.4.bb @@ -16,9 +16,10 @@ PROVIDES = "libusb virtual/libusb0" BBCLASSEXTEND = "native nativesdk" PE = "1" -PR = "r0" +PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \ + file://obsolete_automake_macros.patch \ " # file://0.1.0-beta1-gcc3.4-fix.patch" diff --git a/meta/recipes-support/libusb/libusb1-1.0.9/obsolete_automake_macros.patch b/meta/recipes-support/libusb/libusb1-1.0.9/obsolete_automake_macros.patch new file mode 100644 index 0000000..02a447c --- /dev/null +++ b/meta/recipes-support/libusb/libusb1-1.0.9/obsolete_automake_macros.patch @@ -0,0 +1,15 @@ +Upstream-Status: Submitted (https://libusb.org/ticket/159) + +Signed-off-by: Marko Lindqvist +diff -Nurd libusb-1.0.9/configure.ac libusb-1.0.9/configure.ac +--- libusb-1.0.9/configure.ac 2012-04-20 09:44:27.000000000 +0300 ++++ libusb-1.0.9/configure.ac 2013-01-02 16:36:44.152121483 +0200 +@@ -31,7 +31,7 @@ + + AC_CONFIG_SRCDIR([libusb/core.c]) + AC_CONFIG_MACRO_DIR([m4]) +-AM_CONFIG_HEADER([config.h]) ++AC_CONFIG_HEADERS([config.h]) + m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) + + AC_PREREQ([2.50]) diff --git a/meta/recipes-support/libusb/libusb1_1.0.9.bb b/meta/recipes-support/libusb/libusb1_1.0.9.bb index e002374..012ac27 100644 --- a/meta/recipes-support/libusb/libusb1_1.0.9.bb +++ b/meta/recipes-support/libusb/libusb1_1.0.9.bb @@ -8,9 +8,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" BBCLASSEXTEND = "native nativesdk" -PR = "r0" +PR = "r1" -SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2" +SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \ + file://obsolete_automake_macros.patch \ + " SRC_URI[md5sum] = "7f5a02375ad960d4e33a6dae7d63cfcb" SRC_URI[sha256sum] = "e920eedc2d06b09606611c99ec7304413c6784cba6e33928e78243d323195f9b" -- 1.7.10.4