diff --git a/srcpkgs/w_scan/patches/fix-uint.patch b/srcpkgs/w_scan/patches/fix-uint.patch new file mode 100644 index 0000000000..93f5b06b69 --- /dev/null +++ b/srcpkgs/w_scan/patches/fix-uint.patch @@ -0,0 +1,21 @@ +--- Makefile.in 2014-11-22 12:00:00.000000000 +0100 ++++ Makefile.in 2016-05-03 23:44:44.859376553 +0200 +@@ -836,7 +836,7 @@ + @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 +--- version.h 2014-11-22 11:59:56.000000000 +0100 ++++ version.h 2016-05-03 23:42:59.612376864 +0200 +@@ -1,6 +1,6 @@ + /* AUTOMATICALLY GENERATED - DO NOT EDIT MANUALLY */ + #ifndef W_SCAN_VERSION_H + #define W_SCAN_VERSION_H +-uint version=20141122; ++unsigned int version=20141122; + #endif + diff --git a/srcpkgs/w_scan/patches/musl-time_h.patch b/srcpkgs/w_scan/patches/musl-time_h.patch new file mode 100644 index 0000000000..0817ecb91d --- /dev/null +++ b/srcpkgs/w_scan/patches/musl-time_h.patch @@ -0,0 +1,32 @@ +--- dump-xml.c 2014-11-22 09:49:26.000000000 +0100 ++++ dump-xml.c 2016-05-03 23:36:55.792377942 +0200 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + + #include "si_types.h" + #include "dump-xml.h" +--- scan.c 2014-11-23 10:59:26.000000000 +0100 ++++ scan.c 2016-05-03 23:39:03.783377563 +0200 +@@ -51,6 +51,7 @@ +-#include ++#include + #include + #include ++#include + #include + #include + #include +--- emulate.c 2014-11-22 09:49:26.000000000 +0100 ++++ emulate.c 2016-05-03 23:40:41.457377274 +0200 +@@ -3,6 +3,7 @@ + #include + #include + #include ++#include +-#include ++#include + #include "emulate.h" + diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template index e62cbf287a..b0b94d2718 100644 --- a/srcpkgs/w_scan/template +++ b/srcpkgs/w_scan/template @@ -1,7 +1,8 @@ # Template file for 'w_scan' pkgname="w_scan" version="20141122" -revision=1 +revision=2 +hostmakedepends="automake libtool" short_desc="A universal ATSC and DVB blind scanner" maintainer="Stefan Mühlinghaus " license="GPL-2" @@ -10,3 +11,6 @@ distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2" checksum="b6d7c9ab997c53a0b0d92e8390f313cc3b82ee8ece1756b4e526119fd5ba09b4" build_style="gnu-configure" +pre_configure() { + autoreconf -if +}