diff --git a/srcpkgs/acpid/patches/disable-logging-to-console.patch b/srcpkgs/acpid/patches/disable-logging-to-console.patch index 1b2b16bead9..32acb35d836 100644 --- a/srcpkgs/acpid/patches/disable-logging-to-console.patch +++ b/srcpkgs/acpid/patches/disable-logging-to-console.patch @@ -1,11 +1,11 @@ ---- acpid.c.orig 2015-02-06 20:32:04.341695981 +0100 -+++ acpid.c 2015-02-06 20:32:13.540974475 +0100 -@@ -390,7 +390,7 @@ open_log(void) +--- acpid.c ++++ acpid.c +@@ -389,7 +389,7 @@ open_log(void) int log_opts; /* open the syslog */ - log_opts = LOG_CONS|LOG_NDELAY; + log_opts = LOG_NDELAY; - if (acpid_debug) { - log_opts |= LOG_PERROR; - } + openlog(PACKAGE, log_opts, LOG_DAEMON); + } + diff --git a/srcpkgs/acpid/template b/srcpkgs/acpid/template index 8a025fa6a0d..b5b0abb3a6a 100644 --- a/srcpkgs/acpid/template +++ b/srcpkgs/acpid/template @@ -1,15 +1,15 @@ # Template file for 'acpid' pkgname=acpid -version=2.0.28 +version=2.0.29 revision=1 build_style=gnu-configure -conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh" short_desc="The ACPI Daemon (acpid) With Netlink Support" maintainer="Juan RP " -license="GPL-2" +license="GPL-2.0-or-later" homepage="http://sourceforge.net/projects/acpid2/" distfiles="${SOURCEFORGE_SITE}/acpid2/acpid-$version.tar.xz" -checksum=980c3a54b0d3f2fd49fd845a0584c5c2abeaab9e9ac09fcbb68686bbb57a7110 +checksum=58503b27975c466e627eb741c5453dd662f97edef1a3d0aac822fd03a84203ff +conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh" post_install() { vinstall ${FILESDIR}/handler.sh 755 etc/acpi