From e573f5d3267e5916c580e499ecd127c60107b8e1 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Thu, 31 Jul 2014 00:02:20 -0300 Subject: [PATCH] packages: autoreconf non-vanilla libtool packages Some packages no longer apply the libtool patch since commit 97703978ac870ce2b14ad144f8e082de82aa2c64 because they use a non-vanilla version of libtool 1.5.x Fixes many failures like: http://autobuild.buildroot.net/results/34e/34e4898e2bdc08e5d34e16e556384b3086b76467/ http://autobuild.buildroot.net/results/ecf/ecf4e7d6812f972d05c95203fb665235856c0817/ http://autobuild.buildroot.net/results/5d9/5d9a05fb70e8a65f2399c4f38375aeafb9686ea4/ Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/faad2/faad2.mk | 2 ++ package/ipkg/ipkg.mk | 2 ++ package/jasper/jasper.mk | 2 ++ package/jpeg-turbo/jpeg-turbo.mk | 2 ++ package/libmhash/libmhash.mk | 8 ++++++++ package/librsync/librsync.mk | 2 ++ package/libsysfs/libsysfs.mk | 3 +++ package/libungif/libungif.mk | 2 ++ package/speex/speex.mk | 2 ++ 9 files changed, 25 insertions(+) diff --git a/package/faad2/faad2.mk b/package/faad2/faad2.mk index 8c4fc1aae2..76dd9e9ace 100644 --- a/package/faad2/faad2.mk +++ b/package/faad2/faad2.mk @@ -11,5 +11,7 @@ FAAD2_LICENSE_FILES = COPYING # frontend/faad calls frexp() FAAD2_CONF_ENV = LIBS=-lm FAAD2_INSTALL_STAGING = YES +# libtool 1.5 patch failure +FAAD2_AUTORECONF = YES $(eval $(autotools-package)) diff --git a/package/ipkg/ipkg.mk b/package/ipkg/ipkg.mk index 10ef207242..097e15ef40 100644 --- a/package/ipkg/ipkg.mk +++ b/package/ipkg/ipkg.mk @@ -9,5 +9,7 @@ IPKG_SITE = http://www.handhelds.org/download/packages/ipkg IPKG_INSTALL_STAGING = YES IPKG_LICENSE = GPLv2+ IPKG_LICENSE_FILES = COPYING +# libtool 1.5 patch failure +IPKG_AUTORECONF = YES $(eval $(autotools-package)) diff --git a/package/jasper/jasper.mk b/package/jasper/jasper.mk index 7917c6a6bf..53da53f8b5 100644 --- a/package/jasper/jasper.mk +++ b/package/jasper/jasper.mk @@ -8,6 +8,8 @@ JASPER_VERSION = 1.900.1 JASPER_SITE = http://sources.openelec.tv/devel JASPER_SOURCE = jasper-$(JASPER_VERSION).tar.bz2 JASPER_INSTALL_STAGING = YES +# libtool 1.5 patch failure +JASPER_AUTORECONF = YES JASPER_DEPENDENCIES = jpeg JASPER_LICENSE = MIT JASPER_LICENSE_FILES = LICENSE diff --git a/package/jpeg-turbo/jpeg-turbo.mk b/package/jpeg-turbo/jpeg-turbo.mk index d35c365fda..3e09c19e2a 100644 --- a/package/jpeg-turbo/jpeg-turbo.mk +++ b/package/jpeg-turbo/jpeg-turbo.mk @@ -11,6 +11,8 @@ JPEG_TURBO_LICENSE = jpeg-license (BSD-3c-like) JPEG_TURBO_LICENSE_FILES = README README-turbo.txt JPEG_TURBO_INSTALL_STAGING = YES JPEG_TURBO_CONF_OPT = --with-jpeg8 +# libtool 1.5 patch failure +JPEG_TURBO_AUTORECONF = YES ifeq ($(BR2_X86_CPU_HAS_MMX)$(BR2_ARM_CPU_HAS_NEON),y) JPEG_TURBO_CONF_OPT += --with-simd diff --git a/package/libmhash/libmhash.mk b/package/libmhash/libmhash.mk index f7b8e72997..00da7c1e22 100644 --- a/package/libmhash/libmhash.mk +++ b/package/libmhash/libmhash.mk @@ -8,7 +8,15 @@ LIBMHASH_VERSION = 0.9.9.9 LIBMHASH_SITE = http://downloads.sourceforge.net/project/mhash/mhash/$(LIBMHASH_VERSION) LIBMHASH_SOURCE = mhash-$(LIBMHASH_VERSION).tar.bz2 LIBMHASH_INSTALL_STAGING = YES +# libtool 1.5 patch failure +LIBMHASH_AUTORECONF = YES LIBMHASH_LICENSE = LGPLv2 LIBMHASH_LICENSE_FILES = COPYING +# Two trees in the tarball cause autoreconf problems +define LIBMHASH_REMOVE_DUPLICATE + $(RM) -rf $(@D)/mhash-0.9.9 +endef +LIBMHASH_POST_EXTRACT_HOOKS += LIBMHASH_REMOVE_DUPLICATE + $(eval $(autotools-package)) diff --git a/package/librsync/librsync.mk b/package/librsync/librsync.mk index d475c7333d..986c23e3d5 100644 --- a/package/librsync/librsync.mk +++ b/package/librsync/librsync.mk @@ -6,6 +6,8 @@ LIBRSYNC_VERSION = 0.9.7 LIBRSYNC_SITE = http://downloads.sourceforge.net/project/librsync/librsync/$(LIBRSYNC_VERSION) +# libtool 1.5 patch failure +LIBRSYNC_AUTORECONF = YES LIBRSYNC_LICENSE = LGPLv2.1+ LIBRSYNC_LICENSE_FILES = COPYING LIBRSYNC_INSTALL_STAGING = YES diff --git a/package/libsysfs/libsysfs.mk b/package/libsysfs/libsysfs.mk index fb0310fcb5..accfec5940 100644 --- a/package/libsysfs/libsysfs.mk +++ b/package/libsysfs/libsysfs.mk @@ -8,6 +8,9 @@ LIBSYSFS_VERSION = 2.1.0 LIBSYSFS_SITE = http://downloads.sourceforge.net/project/linux-diag/sysfsutils/$(LIBSYSFS_VERSION) LIBSYSFS_SOURCE = sysfsutils-$(LIBSYSFS_VERSION).tar.gz LIBSYSFS_INSTALL_STAGING = YES +# libtool 1.5 patch failure +LIBSYSFS_AUTORECONF = YES +LIBSYSFS_AUTORECONF_OPT = -Im4/ LIBSYSFS_LICENSE = GPLv2 (utilities), LGPLv2.1+ (library) LIBSYSFS_LICENSE_FILES = cmd/GPL lib/LGPL diff --git a/package/libungif/libungif.mk b/package/libungif/libungif.mk index 019a489737..1f2cc8592f 100644 --- a/package/libungif/libungif.mk +++ b/package/libungif/libungif.mk @@ -9,6 +9,8 @@ LIBUNGIF_SOURCE = libungif-$(LIBUNGIF_VERSION).tar.bz2 LIBUNGIF_SITE = http://downloads.sourceforge.net/project/giflib/libungif-4.x/libungif-$(LIBUNGIF_VERSION) LIBUNGIF_INSTALL_STAGING = YES LIBUNGIF_CONF_OPT = --without-x +# libtool 1.5 patch failure +LIBUNGIF_AUTORECONF = YES LIBUNGIF_LICENSE = MIT LIBUNGIF_LICENSE_FILES = COPYING diff --git a/package/speex/speex.mk b/package/speex/speex.mk index 6eb7e90dbb..beb8290c4c 100644 --- a/package/speex/speex.mk +++ b/package/speex/speex.mk @@ -11,6 +11,8 @@ SPEEX_LICENSE_FILES = COPYING SPEEX_INSTALL_STAGING = YES SPEEX_DEPENDENCIES = libogg +# libtool 1.5 patch failure +SPEEX_AUTORECONF = YES SPEEX_CONF_OPT = --with-ogg-libraries=$(STAGING_DIR)/usr/lib \ --with-ogg-includes=$(STAGING_DIR)/usr/include \ --enable-fixed-point -- 2.30.2