From b37da1e6fc8a48c620fe8e27de4e5baa35bd5d56 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Sun, 15 Aug 2021 01:39:33 +0300 Subject: [PATCH 1/2] mtools: fix host lib leakage The package does not build due to host lib leakage, as evidenced by config.log: X_CFLAGS=' -I/usr/include' X_LIBS=' -L/usr/lib' Fix this by disabling X with a configure var. Signed-off-by: Stijn Tintel --- utils/mtools/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/mtools/Makefile b/utils/mtools/Makefile index 66400e5b5b..7d7455e93e 100644 --- a/utils/mtools/Makefile +++ b/utils/mtools/Makefile @@ -30,6 +30,8 @@ define Package/mtools/description Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them. endef +CONFIGURE_VARS += ac_cv_have_x="have_x=no" + define Package/mtools/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/amuFormat.sh $(1)/usr/bin/ From 61996a000ed98867187a657320cc2fa913e4eb77 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Sun, 15 Aug 2021 01:42:20 +0300 Subject: [PATCH 2/2] mtools: bump to 4.0.35 Signed-off-by: Stijn Tintel --- utils/mtools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/mtools/Makefile b/utils/mtools/Makefile index 7d7455e93e..55a404dcc1 100644 --- a/utils/mtools/Makefile +++ b/utils/mtools/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mtools -PKG_VERSION:=4.0.26 +PKG_VERSION:=4.0.35 PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@GNU/mtools -PKG_HASH:=539f1c8b476a16e198d8bcb10a5799e22e69de49d854f7dbd85b64c2a45dea1a +PKG_HASH:=34769e173751d2f0d891a08c76c80427e929b8ee43438019b8666cc3d7a44749 PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1