Klaus Kämpf 2013-05-15 12:04:44 +00:00 committed by Git OBS Bridge
parent 118a1b8a90
commit c38aedcaf2
3 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 15 12:04:25 UTC 2013 - kkaempf@suse.com
- fix GCC 4.3 build
-------------------------------------------------------------------
Mon Mar 18 11:29:30 UTC 2013 - dvaleev@suse.com

View File

@ -39,6 +39,8 @@ Patch8: several_more_compile_fixes.patch
Patch9: automake-1.13.patch
#PATCH-FIX-UPSTREAM https://sourceforge.net/tracker/?func=detail&aid=3578022&group_id=95200&atid=610550
Patch10: ipmitool-bigendian.patch
#gcc 4.3 does not like -Wno-unused-result -Wno-packed-bitfield-compat, kkaempf@suse.de
Patch11: old-gcc-options.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -71,6 +73,9 @@ and setting LAN configuration, and chassis power control.
%patch8 -p1
%patch9 -p1
%patch10 -p1
%if 0%{?suse_version} < 1140
%patch11 -p1
%endif
%build
touch INSTALL NEWS

12
old-gcc-options.patch Normal file
View File

@ -0,0 +1,12 @@
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile ../orig-ipmitool-1.8.12/configure.in ./configure.in
--- ../orig-ipmitool-1.8.12/configure.in 2013-02-28 13:52:11.893152359 +0100
+++ ./configure.in 2013-05-15 14:01:22.874811257 +0200
@@ -34,7 +34,7 @@
AC_CHECK_FUNCS([memmove memset strchr strdup strerror])
AC_CHECK_FUNCS([getpassphrase])
-CFLAGS="$CFLAGS -fno-strict-aliasing -Wreturn-type -Wno-unused-result -Wno-packed-bitfield-compat"
+CFLAGS="$CFLAGS -fno-strict-aliasing -Wreturn-type"
AM_PROG_LIBTOOL
LIBTOOL="$LIBTOOL --silent"