[openhpi-subagent] rebuilt against net-snmp 5.7 and openhpi 2.17

Dan Horák sharkcz at fedoraproject.org
Mon Jul 11 20:06:20 UTC 2011


commit 5280c5a2ddfbf2ad293189350dfe7d3e737717f2
Author: Dan Horák <dan at danny.cz>
Date:   Mon Jul 11 22:06:08 2011 +0200

    rebuilt against net-snmp 5.7 and openhpi 2.17

 openhpi-subagent-2.3.4-no-werror.patch |   24 ++++++++++++++++++++++++
 openhpi-subagent.spec                  |    8 +++++++-
 2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/openhpi-subagent-2.3.4-no-werror.patch b/openhpi-subagent-2.3.4-no-werror.patch
new file mode 100644
index 0000000..bec30ca
--- /dev/null
+++ b/openhpi-subagent-2.3.4-no-werror.patch
@@ -0,0 +1,24 @@
+diff -up openhpi-subagent-2.3.4/configure.ac.werror openhpi-subagent-2.3.4/configure.ac
+--- openhpi-subagent-2.3.4/configure.ac.werror	2011-07-11 22:00:09.000000000 +0200
++++ openhpi-subagent-2.3.4/configure.ac	2011-07-11 22:00:47.000000000 +0200
+@@ -135,7 +135,7 @@ CC_WARNINGS="-Wall -Wmissing-prototypes 
+ 	-Wmissing-declarations \
+ 	-Wstrict-prototypes \
+ 	-Wpointer-arith \
+-	-Werror \
++#	-Werror \
+ #	-fprofile-arcs -ftest-coverage \
+ 	-Wcast-qual -Wcast-align "
+ 
+diff -up openhpi-subagent-2.3.4/configure.werror openhpi-subagent-2.3.4/configure
+--- openhpi-subagent-2.3.4/configure.werror	2011-07-11 22:00:14.000000000 +0200
++++ openhpi-subagent-2.3.4/configure	2011-07-11 22:00:35.000000000 +0200
+@@ -4759,7 +4759,7 @@ CC_WARNINGS="-Wall -Wmissing-prototypes 
+ 	-Wmissing-declarations \
+ 	-Wstrict-prototypes \
+ 	-Wpointer-arith \
+-	-Werror \
++#	-Werror \
+ #	-fprofile-arcs -ftest-coverage \
+ 	-Wcast-qual -Wcast-align "
+ 
diff --git a/openhpi-subagent.spec b/openhpi-subagent.spec
index aaeadb9..9875610 100644
--- a/openhpi-subagent.spec
+++ b/openhpi-subagent.spec
@@ -1,6 +1,6 @@
 Name:           openhpi-subagent
 Version:        2.3.4
-Release:        15%{?dist}
+Release:        16%{?dist}
 Summary:        NetSNMP subagent for OpenHPI
 
 Group:          System Environment/Base
@@ -14,6 +14,8 @@ Patch1:         %{name}-2.3.4-format.patch
 # https://sourceforge.net/tracker/?func=detail&aid=2951290&group_id=71730&atid=532251
 # https://bugzilla.redhat.com/show_bug.cgi?id=564644
 Patch2:         %{name}-2.3.4-dso.patch
+# disable -Werror as gcc >= 4.6 is too strict for our code
+Patch3:         %{name}-2.3.4-no-werror.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  openhpi-devel >= 2.10, net-snmp-devel, openssl-devel
@@ -31,6 +33,7 @@ Hardware Platform Interface SNMP sub-agent.
 %setup -q
 %patch1 -p1 -b .format
 %patch2 -p1 -b .dso
+%patch3 -p1 -b .werror
 
 # set timestamps back
 touch -r configure.ac.dso configure.ac
@@ -82,6 +85,9 @@ fi
 %{_datadir}/snmp/mibs/*.mib
 
 %changelog
+* Mon Jul 11 2011 Dan Horák <dan[at]danny.cz> - 2.3.4-16
+- rebuilt against net-snmp 5.7 and openhpi 2.17
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.3.4-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list