Skip to contentSkip to conversation

diffstat: use HTTP mirror for SRC_URI

PATCH New Ross Burton 1 participant 2 messages Aug 8, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 diffstat: use HTTP mirror for SRC_URI

The Invisible Mirror FTP service is currently down, and FTP is horrible, so switch to the HTTP mirror.

---
 meta/recipes-devtools/diffstat/diffstat_1.61.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/diffstat/diffstat_1.61.bb +1 -1
index 0ec41c3abfd..583b387e957 100644
@@ -7,7 +7,7 @@ SECTION = "devel"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://install-sh;endline=42;md5=b3549726c1022bee09c174c72a0ca4a5"
 
-SRC_URI = "ftp://invisible-island.net/diffstat/diffstat-${PV}.tgz \
+SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
            file://run-ptest \
 "
 
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 diffstat: exclude aclocal

Instead of moving aclocal.m4 to acinclude.m4 in a custom do_configure, simply tell autoreconf not to run aclocal.

---
 meta/recipes-devtools/diffstat/diffstat_1.61.bb | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
meta/recipes-devtools/diffstat/diffstat_1.61.bb +2 -7
index 583b387e957..f8b7b06cf24 100644
@@ -18,14 +18,9 @@ S = "${WORKDIR}/diffstat-${PV}"
 
 inherit autotools gettext ptest
 
-LDFLAGS += "${TOOLCHAIN_OPTIONS}"
+EXTRA_AUTORECONF += "--exclude=aclocal"
 
-do_configure () {
-	if [ ! -e ${S}/acinclude.m4 ]; then
-		mv ${S}/aclocal.m4 ${S}/acinclude.m4
-	fi
-	autotools_do_configure
-}
+LDFLAGS += "${TOOLCHAIN_OPTIONS}"
 
 do_install_ptest() {
 	cp -r ${S}/testing ${D}${PTEST_PATH}
Signature · 1 line
2.11.0