slang: disable termcap
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 6 Oct 2014 19:06:22 +0000 (16:06 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 7 Oct 2014 20:36:02 +0000 (22:36 +0200)
We don't have/do it and sometimes it misdetects. Fixes:
http://autobuild.buildroot.net/results/ec9/ec9f1d7680aa50357d9a6646cef610dcaa1e8041/

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/slang/slang.hash [new file with mode: 0644]
package/slang/slang.mk

diff --git a/package/slang/slang.hash b/package/slang/slang.hash
new file mode 100644 (file)
index 0000000..000ac11
--- /dev/null
@@ -0,0 +1,2 @@
+# From http://www.jedsoft.org/releases/slang/
+sha1   c3270b58a58e6cbfd47f0a6e3d2194dd9e7c7d14        slang-2.3.0.tar.gz
index 6962e775942fd0dd895bb549410fd06821ffa958..15b65b36340fbbedefb64c2b00e80bb5427b8310 100644 (file)
@@ -11,6 +11,12 @@ SLANG_LICENSE_FILES = COPYING
 SLANG_INSTALL_STAGING = YES
 SLANG_MAKE = $(MAKE1)
 
+# Racy and we don't have/do libtermcap
+define SLANG_DISABLE_TERMCAP
+       $(SED) '/^TERMCAP=/s:=.*:=:' $(@D)/configure
+endef
+SLANG_POST_PATCH_HOOKS += SLANG_DISABLE_TERMCAP
+
 # Absolute path hell, sigh...
 ifeq ($(BR2_PACKAGE_LIBPNG),y)
        SLANG_CONF_OPTS += --with-png=$(STAGING_DIR)/usr