Skip to contentSkip to conversation

slang: disable termcap

PATCH New Gustavo Zacarias 2 participants 2 messages Oct 6, 2014 – Oct 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 slang: disable termcap

We don't have/do it and sometimes it misdetects. Fixes:
http://autobuild.buildroot.net/results/ec9/ec9f1d7680aa50357d9a6646cef610dcaa1e8041/

Also add hash file.

---
 package/slang/slang.hash | 2 ++
 package/slang/slang.mk   | 6 ++++++
 2 files changed, 8 insertions(+)
 create mode 100644 package/slang/slang.hash
package/slang/slang.hash new file +2 -0
new file mode 100644
index 0000000..000ac11
@@ -0,0 +1,2 @@
+# From http://www.jedsoft.org/releases/slang/
+sha1	c3270b58a58e6cbfd47f0a6e3d2194dd9e7c7d14	slang-2.3.0.tar.gz
package/slang/slang.mk +6 -0
index 6962e77..15b65b3 100644
@@ -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
Signature · 1 line
2.0.4