Commit 41bd41be authored by Michal Hrusecky's avatar Michal Hrusecky 🦎

w_scan: Try to fix build

parent 3764face
......@@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/nls.mk
define Package/w_scan
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libiconv-full +librt
DEPENDS:=+BUILD_NLS:libiconv-full +librt
TITLE:=Performd frequency scans for DVB and ATSC transmissions
URL:=https://www.linuxtv.org/wiki/index.php/W_scan
endef
......@@ -43,7 +43,14 @@ endef
CONFIGURE_ARGS+= \
--with-libiconv="$(ICONV_PREFIX)"
ifeq ($(CONFIG_BUILD_NLS),y)
TARGET_LDFLAGS+="-liconv"
endif
define Build/Configure
$(call Build/Configure/Default)
$(call Build/Compile/Default, version)
endef
define Package/w_scan/install
$(INSTALL_DIR) $(1)/usr/bin
......
Index: w_scan-20170107/Makefile.in
===================================================================
--- w_scan-20170107.orig/Makefile.in
+++ w_scan-20170107/Makefile.in
@@ -836,7 +836,7 @@ version:
@echo "/* AUTOMATICALLY GENERATED - DO NOT EDIT MANUALLY */" > version.h
@echo "#ifndef W_SCAN_VERSION_H" >> version.h
@echo "#define W_SCAN_VERSION_H" >> version.h
- @echo "uint version=$(__VERSION);" >> version.h
+ @echo "unsigned int version=$(__VERSION);" >> version.h
@echo "#endif" >> version.h
@echo "" >> version.h
@chmod a-x version.h
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment