diff --git a/acpid-1.0.6-makefile.patch b/acpid-1.0.6-makefile.patch index 49c86bd..2eaab14 100644 --- a/acpid-1.0.6-makefile.patch +++ b/acpid-1.0.6-makefile.patch @@ -1,12 +1,14 @@ ---- acpid-1.0.6/Makefile.flags 2007-06-30 21:15:45.000000000 +0200 -+++ acpid-1.0.6/Makefile 2007-08-07 10:29:18.000000000 +0200 -@@ -21,7 +21,8 @@ acpi_listen_OBJS = $(acpi_listen_SRCS:.c +--- acpid-1.0.6/Makefile.makefile 2007-06-30 21:15:45.000000000 +0200 ++++ acpid-1.0.6/Makefile 2008-02-13 18:05:37.000000000 +0100 +@@ -21,8 +21,9 @@ acpi_listen_OBJS = $(acpi_listen_SRCS:.c MAN8 = acpid.8 acpi_listen.8 MAN8GZ = $(MAN8:.8=.8.gz) -CFLAGS = -Wall -Werror -g $(DEFS) +-DEFS = -DVERSION="\"$(VERSION)\"" +CFLAGS = -Wall -Werror -g $(DEFS) $(RPM_OPT_FLAGS) -fPIE +LDFLAGS = -pie -Wl,-z,relro - DEFS = -DVERSION="\"$(VERSION)\"" ++DEFS = -DVERSION="\"$(VERSION)\"" -D_GNU_SOURCE all: $(PROGS) + diff --git a/acpid.spec b/acpid.spec index b5b7955..f14899f 100644 --- a/acpid.spec +++ b/acpid.spec @@ -1,7 +1,7 @@ Summary: ACPI Event Daemon Name: acpid Version: 1.0.6 -Release: 5%{?dist} +Release: 6%{?dist} License: GPL Group: System Environment/Daemons Source: http://prdownloads.sourceforge.net/acpid/acpid-%{version}.tar.gz @@ -87,6 +87,9 @@ if [ "$1" -ge "1" ]; then fi %changelog +* Thu Feb 14 2008 Zdenek Prikryl - 1.0.6-6.fc9 +- Update of acpid-1.0.6-makefile.patch, it fix building with gcc 4.3 + * Wed Jan 23 2008 Zdenek Prikryl - 1.0.6-5.fc9 - Fixed managing of power button (#361501) - Fixed power script to check for KDE power manager (#419331)