Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2012-03-22 12:33:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and      /work/SRC/openSUSE:Factory/.kdump.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdump", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdump/kdump.changes      2011-09-23 
02:06:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new/kdump.changes 2012-03-22 
12:34:03.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Mar 17 15:23:22 UTC 2012 - [email protected]
+
+- Add kdump-gcc47.patch: Fix build with gcc 4.7.
+
+-------------------------------------------------------------------

New:
----
  kdump-gcc47.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdump.spec ++++++
--- /var/tmp/diff_new_pack.XOdK4e/_old  2012-03-22 12:34:14.000000000 +0100
+++ /var/tmp/diff_new_pack.XOdK4e/_new  2012-03-22 12:34:14.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kdump
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,20 +15,26 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 Url:            http://freehg.org/u/bwalle/kdump/
 
 Name:           kdump
-License:        GPL-2.0+
 Version:        0.8.1
-Release:        11
-Requires:       curl openssh makedumpfile
+Release:        0
+Requires:       curl
+Requires:       makedumpfile
+Requires:       openssh
 Summary:        Script for kdump
+License:        GPL-2.0+
 Group:          System/Kernel
+BuildRequires:  asciidoc
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  libcurl-devel
+BuildRequires:  libelf0-devel
 BuildRequires:  libesmtp-devel
-BuildRequires:  gcc-c++ libcurl-devel libelf0-devel zlib-devel
-BuildRequires:  asciidoc cmake libxslt
+BuildRequires:  libxslt
+BuildRequires:  zlib-devel
 #!BuildIgnore:  fop
 %if %suse_version > 1100
 BuildRequires:  libssh2-devel
@@ -37,6 +43,7 @@
 Source:         %{name}-%{version}.tar.bz2
 Source2:        %{name}-%{version}-rpmlintrc
 Patch0:         %{name}-fix-gcc46.diff
+Patch1:         kdump-gcc47.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # rename "kdump-helpers" (10.3) -> "kdump" (11.0/SP2)
 Provides:       kdump-helpers = 0.2.4
@@ -71,6 +78,7 @@
 %prep
 %setup
 %patch0 -p1
+%patch1 -p1
 
 %build
 export CFLAGS="%optflags"

++++++ kdump-gcc47.patch ++++++
Index: kdump-0.8.1/kdumptool/dataprovider.cc
===================================================================
--- kdump-0.8.1.orig/kdumptool/dataprovider.cc
+++ kdump-0.8.1/kdumptool/dataprovider.cc
@@ -20,6 +20,7 @@
 #include <cstdarg>
 #include <cerrno>
 #include <algorithm>
+#include <unistd.h>
 
 #include "dataprovider.h"
 #include "global.h"
Index: kdump-0.8.1/kdumptool/debug.cc
===================================================================
--- kdump-0.8.1.orig/kdumptool/debug.cc
+++ kdump-0.8.1/kdumptool/debug.cc
@@ -22,6 +22,7 @@
 #include <cstring>
 #include <string>
 #include <sstream>
+#include <unistd.h>
 
 #include "debug.h"
 
Index: kdump-0.8.1/kdumptool/socket.cc
===================================================================
--- kdump-0.8.1.orig/kdumptool/socket.cc
+++ kdump-0.8.1/kdumptool/socket.cc
@@ -16,6 +16,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  * 02110-1301, USA.
  */
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to