Hello community,
here is the log from the commit of package msr-tools
checked in at Thu Oct 9 18:52:08 CEST 2008.
--------
--- msr-tools/msr-tools.changes 2008-04-10 10:56:01.000000000 +0200
+++ /mounts/work_src_done/STABLE/msr-tools/msr-tools.changes 2008-10-09 15:28:57.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Oct 09 15:00:13 CEST 2008 - bwalle@suse.de
+
+- Add "#define _XOPEN_SOURCE 500" to fix compile warning that
+ pread() is undefined.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
msr-tools-fix-compile-warning.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ msr-tools.spec ++++++
--- /var/tmp/diff_new_pack.k12524/_old 2008-10-09 18:51:55.000000000 +0200
+++ /var/tmp/diff_new_pack.k12524/_new 2008-10-09 18:51:55.000000000 +0200
@@ -2,9 +2,16 @@
# spec file for package msr-tools (Version 1.1.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@@ -15,12 +22,13 @@
Url: http://www.kernel.org/pub/linux/utils/cpu/msr-tools/
Summary: Tool for reading and writing MSRs (model specific register)
Version: 1.1.2
-Release: 2
+Release: 34
License: GPL v2 or later
Group: System/Base
Source: %{name}-%{version}.tar.bz2
Source1: COPYING
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Patch0: %{name}-fix-compile-warning.diff
%description
Tool to read and write MSRs (model specific registers). You have to
@@ -34,6 +42,7 @@
%prep
%setup -q
+%patch0 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS"
@@ -52,5 +61,8 @@
%{_sbindir}/*
%changelog
+* Thu Oct 09 2008 bwalle@suse.de
+- Add "#define _XOPEN_SOURCE 500" to fix compile warning that
+ pread() is undefined.
* Thu Apr 10 2008 bwalle@suse.de
- new package
++++++ msr-tools-fix-compile-warning.diff ++++++
---
rdmsr.c | 1 +
1 file changed, 1 insertion(+)
--- a/rdmsr.c
+++ b/rdmsr.c
@@ -17,6 +17,7 @@
* Utility to read an MSR.
*/
+#define _XOPEN_SOURCE 500 /* for pread() */
#include