diff --git a/srcpkgs/thermald/patches/musl.patch b/srcpkgs/thermald/patches/musl.patch new file mode 100644 index 00000000000..4f33f846eb0 --- /dev/null +++ b/srcpkgs/thermald/patches/musl.patch @@ -0,0 +1,14 @@ +diff --git Makefile.am Makefile.am +index 68c89d0..403407d 100644 +--- Makefile.am ++++ Makefile.am +@@ -23,7 +23,8 @@ AM_CXXFLAGS = ${DBUS_CFLAGS}\ + -Wmissing-field-initializers\ + -Wtype-limits\ + -Wuninitialized\ +- -Werror ++ -Werror\ ++ -Wno-error=cpp + + EXTRA_DIST=Makefile.glib \ + thermald.pc.in diff --git a/srcpkgs/thermald/template b/srcpkgs/thermald/template index 664bca87077..53b9c64ac38 100644 --- a/srcpkgs/thermald/template +++ b/srcpkgs/thermald/template @@ -1,6 +1,6 @@ # Template file for 'thermald' pkgname=thermald -version=1.5.1 +version=1.7.1 revision=1 _pkgname=thermal_daemon wrksrc="${_pkgname}-${version}" @@ -13,7 +13,7 @@ maintainer="Andrea Brancaleoni " license="GPL-2" homepage="https://github.com/01org/${_pkgname}" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=fa4be6163bdc85f0fee54b8fb90982b8910349db5d815667ca6d6739b47e5e3d +checksum=c4465d9312304b879908289e2e9da7417e88151c1529dff42acb8e3fb6aa4f47 conf_files=" /etc/thermald/thermal-conf.xml /etc/thermald/thermal-cpu-cdev-order.xml" diff --git a/srcpkgs/thermald/update b/srcpkgs/thermald/update deleted file mode 100644 index 2b4a7130cb0..00000000000 --- a/srcpkgs/thermald/update +++ /dev/null @@ -1,2 +0,0 @@ -site="https://api.github.com/repos/01org/thermal_daemon/tags" -pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'