Hello community,
here is the log from the commit of package lkcdutils
checked in at Sun Nov 19 23:28:58 CET 2006.
--------
--- lkcdutils/lkcdutils.changes 2006-11-19 21:58:55.000000000 +0100
+++ /mounts/work_src_done/STABLE/lkcdutils/lkcdutils.changes 2006-11-19 22:29:46.000000000 +0100
@@ -1,0 +2,5 @@
+Sun Nov 19 22:29:39 CET 2006 - schwab@suse.de
+
+- Don't use kernel headers.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lkcdutils.spec ++++++
--- /var/tmp/diff_new_pack.hj81Ba/_old 2006-11-19 23:28:47.000000000 +0100
+++ /var/tmp/diff_new_pack.hj81Ba/_new 2006-11-19 23:28:47.000000000 +0100
@@ -14,7 +14,7 @@
BuildRequires: glib2-devel libelf popt-devel
Summary: Linux Kernel Crash Dump (LKCD) Utilities
Version: 7.0.1
-Release: 42
+Release: 43
License: GNU General Public License (GPL)
Group: System/Kernel
# Original source is from Sourceforge CVS:
@@ -182,6 +182,8 @@
#/usr/sbin/netdump-login-client
%changelog -n lkcdutils
+* Sun Nov 19 2006 - schwab@suse.de
+- Don't use kernel headers.
* Sun Nov 19 2006 - ro@suse.de
- locally define offsetof if it does not come from kernel header
* Sat Nov 11 2006 - aj@suse.de
++++++ lkcdutils-offsetof.patch ++++++
--- /var/tmp/diff_new_pack.hj81Ba/_old 2006-11-19 23:28:47.000000000 +0100
+++ /var/tmp/diff_new_pack.hj81Ba/_new 2006-11-19 23:28:47.000000000 +0100
@@ -1,80 +1,55 @@
--- lib/libklib/kl_dump_i386.c
+++ lib/libklib/kl_dump_i386.c
-@@ -20,6 +20,13 @@
+@@ -19,7 +19,7 @@
+ */
#include
- #include /* offsetof */
-+#ifndef offsetof
-+#ifdef __compiler_offsetof
-+#define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
-+#else
-+#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
-+#endif
-+#endif
+-#include /* offsetof */
++#include /* offsetof */
static kl_dump_header_i386_t arch_hdr;
--- lib/libklib/kl_dump_ia64.c
+++ lib/libklib/kl_dump_ia64.c
-@@ -20,6 +20,13 @@
+@@ -19,7 +19,7 @@
+ */
#include
- #include /*offsetof*/
-+#ifndef offsetof
-+#ifdef __compiler_offsetof
-+#define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
-+#else
-+#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
-+#endif
-+#endif
+-#include /*offsetof*/
++#include /*offsetof*/
/*
* dha_num_cpus_ia64()
--- lib/libklib/kl_dump_ppc64.c
+++ lib/libklib/kl_dump_ppc64.c
-@@ -20,6 +20,13 @@
+@@ -19,7 +19,7 @@
+ */
#include
- #include /* offsetof */
-+#ifndef offsetof
-+#ifdef __compiler_offsetof
-+#define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
-+#else
-+#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
-+#endif
-+#endif
+-#include /* offsetof */
++#include /* offsetof */
extern kaddr_t kl_mmap_virtop_ppc64(kaddr_t, void *);
static kl_dump_header_ppc64_t arch_hdr;
--- lib/libklib/kl_dump_x86_64.c
+++ lib/libklib/kl_dump_x86_64.c
-@@ -23,6 +23,13 @@
+@@ -22,7 +22,7 @@
+ */
#include
- #include /* offsetof */
-+#ifndef offsetof
-+#ifdef __compiler_offsetof
-+#define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
-+#else
-+#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
-+#endif
-+#endif
+-#include /* offsetof */
++#include /* offsetof */
static kl_dump_header_x86_64_t arch_hdr;
--- lib/libklib/kl_savedump.c
+++ lib/libklib/kl_savedump.c
-@@ -23,6 +23,13 @@
+@@ -22,7 +22,7 @@
+ #include
#include
#include
- #include
-+#ifndef offsetof
-+#ifdef __compiler_offsetof
-+#define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
-+#else
-+#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
-+#endif
-+#endif
+-#include
++#include
static int kl_check_type_dev(char *);
static int kl_check_type_dir(char *);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org