Update mtools to 4.0.23
Drop patch, workaround in upstream
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
include $(TOPDIR)/rules.mk
PKG_NAME:=mtools
-PKG_VERSION:=4.0.19
+PKG_VERSION:=4.0.23
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
-PKG_HASH:=1bc197199ea1c2c317f597879486eeb817f3199b526d94cc6841624768d910df
+PKG_HASH:=f188db26751aeb5692a79b2380b440ecc05fd1848a52f869d7ca1193f2ef8ee3
HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
+HOST_CONFIGURE_ARGS += --without-x
+
HOST_CONFIGURE_VARS += \
ac_cv_header_iconv_h=no
+++ /dev/null
---- a/sysincludes.h
-+++ b/sysincludes.h
-@@ -101,14 +101,8 @@ typedef void *caddr_t;
- #if defined __GNUC__ && defined __STDC__
- /* gcc -traditional doesn't have PACKED, UNUSED and NORETURN */
- # define PACKED __attribute__ ((packed))
--# if __GNUC__ == 2 && __GNUC_MINOR__ > 6 || __GNUC__ >= 3
--/* gcc 2.6.3 doesn't have "unused" */ /* mool */
--# define UNUSED(x) x __attribute__ ((unused));x
--# define UNUSEDP __attribute__ ((unused))
--# else
--# define UNUSED(x) x
--# define UNUSEDP /* */
--# endif
-+# define UNUSED(x) x
-+# define UNUSEDP /* */
- # define NORETURN __attribute__ ((noreturn))
- #else
- # define UNUSED(x) x