Hello community,

here is the log from the commit of package libdlm for openSUSE:Factory checked 
in at 2012-05-26 09:26:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdlm (Old)
 and      /work/SRC/openSUSE:Factory/.libdlm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdlm/libdlm.changes    2011-12-25 
17:35:39.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libdlm.new/libdlm.changes       2012-05-26 
09:26:23.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 24 10:38:35 UTC 2012 - [email protected]
+
+- Fix build with gcc 4.7 
+
+-------------------------------------------------------------------

New:
----
  libdlm-gcc47.patch

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

Other differences:
------------------
++++++ libdlm.spec ++++++
--- /var/tmp/diff_new_pack.mzM0bI/_old  2012-05-26 09:26:27.000000000 +0200
+++ /var/tmp/diff_new_pack.mzM0bI/_new  2012-05-26 09:26:27.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libdlm
 #
-# 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,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %if 0%{?suse_version}
 %define _libexecdir %{_libdir}
 %endif
@@ -36,6 +37,7 @@
 Url:            http://sources.redhat.com/cluster/wiki
 Source:         libdlm.tar.bz2
 Patch0:         libdlm-pacemaker.patch
+Patch1:         libdlm-gcc47.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       pacemaker
 BuildRequires:  glib2-devel
@@ -178,6 +180,7 @@
 ###########################################################
 %setup -n libdlm
 %patch0
+%patch1 -p1
 ###########################################################
 
 %build

++++++ libdlm-gcc47.patch ++++++
Index: libdlm/group/include/rbtree.h
===================================================================
--- libdlm.orig/group/include/rbtree.h
+++ libdlm/group/include/rbtree.h
@@ -91,6 +91,8 @@ static inline struct page * rb_insert_pa
 -----------------------------------------------------------------------
 */
 
+#include <stddef.h> // for NULL
+
 #ifndef        _LINUX_RBTREE_H
 #define        _LINUX_RBTREE_H
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to