- fix GCC 4.3 build
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=15
This commit is contained in:
parent
118a1b8a90
commit
c38aedcaf2
@ -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
|
Mon Mar 18 11:29:30 UTC 2013 - dvaleev@suse.com
|
||||||
|
|
||||||
|
@ -39,6 +39,8 @@ Patch8: several_more_compile_fixes.patch
|
|||||||
Patch9: automake-1.13.patch
|
Patch9: automake-1.13.patch
|
||||||
#PATCH-FIX-UPSTREAM https://sourceforge.net/tracker/?func=detail&aid=3578022&group_id=95200&atid=610550
|
#PATCH-FIX-UPSTREAM https://sourceforge.net/tracker/?func=detail&aid=3578022&group_id=95200&atid=610550
|
||||||
Patch10: ipmitool-bigendian.patch
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -71,6 +73,9 @@ and setting LAN configuration, and chassis power control.
|
|||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
|
%if 0%{?suse_version} < 1140
|
||||||
|
%patch11 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
touch INSTALL NEWS
|
touch INSTALL NEWS
|
||||||
|
12
old-gcc-options.patch
Normal file
12
old-gcc-options.patch
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user