rpms/openhpi/devel openhpi-2.2.1-nowerror.patch, NONE, 1.1 openhpi.spec, 1.27, 1.28

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jan 10 00:56:40 UTC 2006


Author: pjones

Update of /cvs/dist/rpms/openhpi/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv4476

Modified Files:
	openhpi.spec 
Added Files:
	openhpi-2.2.1-nowerror.patch 
Log Message:
- remove -Werror


openhpi-2.2.1-nowerror.patch:
 configure    |    6 ++----
 configure.ac |    6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

--- NEW FILE openhpi-2.2.1-nowerror.patch ---
--- openhpi-2.2.1/configure.ac.nowerror	2006-01-09 19:52:30.000000000 -0500
+++ openhpi-2.2.1/configure.ac	2006-01-09 19:53:05.000000000 -0500
@@ -547,8 +547,7 @@
         -Wformat-nonliteral \
 	-Wno-format-y2k \
 	-Wcast-qual \
-	-Wcast-align \
-	-Werror "
+	-Wcast-align "
 
 CXX_WARNINGS="\
         -Wall \
@@ -560,8 +559,7 @@
 	-Wcast-align \
         -Wshadow \
         -Wwrite-strings \
-        -Wredundant-decls \
-	-Werror "
+        -Wredundant-decls "
 
 dnl remerge the warnings into the FLAGS
 CXXFLAGS="$CFLAGS $CXX_WARNINGS"
--- openhpi-2.2.1/configure.nowerror	2006-01-09 19:52:21.000000000 -0500
+++ openhpi-2.2.1/configure	2006-01-09 19:52:58.000000000 -0500
@@ -22673,8 +22673,7 @@
         -Wformat-nonliteral \
 	-Wno-format-y2k \
 	-Wcast-qual \
-	-Wcast-align \
-	-Werror "
+	-Wcast-align "
 
 CXX_WARNINGS="\
         -Wall \
@@ -22686,8 +22685,7 @@
 	-Wcast-align \
         -Wshadow \
         -Wwrite-strings \
-        -Wredundant-decls \
-	-Werror "
+        -Wredundant-decls "
 
 CXXFLAGS="$CFLAGS $CXX_WARNINGS"
 CFLAGS="$CFLAGS $CC_WARNINGS"


Index: openhpi.spec
===================================================================
RCS file: /cvs/dist/rpms/openhpi/devel/openhpi.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- openhpi.spec	9 Jan 2006 22:01:43 -0000	1.27
+++ openhpi.spec	10 Jan 2006 00:56:35 -0000	1.28
@@ -1,7 +1,7 @@
 Summary: openhpi Hardware Platform Interface (HPI) library and tools
 Name: openhpi
 Version: 2.2.1
-Release: 3
+Release: 4
 License: BSD
 Group: System Environment/Base
 Source: http://prdownloads.sourceforge.net/openhpi/%{name}-%{version}.tar.gz
@@ -10,6 +10,7 @@
 Patch2: openhpi-1.9.2-overflow.patch
 Patch3: openhpi-1.9.2-werror.patch
 Patch4: openhpi-2.2.1-gcc4.patch
+Patch5: openhpi-2.2.1-nowerror.patch
 BuildRoot: /var/tmp/%{name}-root
 BuildRequires: sysfsutils-devel, net-snmp-devel, OpenIPMI-devel
 BuildRequires: elfutils-devel, rpm-devel, libtool-ltdl-devel, bzip2-devel
@@ -44,6 +45,7 @@
 %patch2 -p1 -b .overflow
 %patch3 -p1 -b .werror
 %patch4 -p1 -b .gcc4
+%patch5 -p1 -b .nowerror
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
@@ -91,6 +93,9 @@
 
 
 %changelog
+* Mon Jan  9 2006 Peter Jones <pjones at redhat.com> 2.2.1-4
+- Don't use -Werror, it doesn't build with that on ppc64 currently.
+
 * Mon Jan 06 2006 Jesse Keating <jkeating at redhat.com> 2.2.1-3
 - Fix to not use stict-aliasing.
 




More information about the fedora-cvs-commits mailing list