From 21b88d9ffb6d7642a414f44425ffa1097644c9712a52c36cc764ea8bc79ef502 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 18 Dec 2007 17:58:25 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=38 --- util-linux-2.13-hwclock_rtc_wait_busy_tempfix.patch | 13 +++++++++++++ util-linux.changes | 6 ++++++ util-linux.spec | 7 ++++++- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 util-linux-2.13-hwclock_rtc_wait_busy_tempfix.patch diff --git a/util-linux-2.13-hwclock_rtc_wait_busy_tempfix.patch b/util-linux-2.13-hwclock_rtc_wait_busy_tempfix.patch new file mode 100644 index 0000000..0dcad24 --- /dev/null +++ b/util-linux-2.13-hwclock_rtc_wait_busy_tempfix.patch @@ -0,0 +1,13 @@ +Index: util-linux-ng-2.13.0.1+git20071121/hwclock/rtc.c +=================================================================== +--- util-linux-ng-2.13.0.1+git20071121.orig/hwclock/rtc.c ++++ util-linux-ng-2.13.0.1+git20071121/hwclock/rtc.c +@@ -225,7 +225,7 @@ int ret; + } else { + int rc; /* Return code from ioctl */ + /* Turn on update interrupts (one per second) */ +-#if defined(__alpha__) || defined(__sparc__) || defined(__x86_64__) ++#if defined(__alpha__) || defined(__sparc__) || defined(__x86_64__) || defined(__i386__) + /* Not all alpha kernels reject RTC_UIE_ON, but probably they should. */ + rc = -1; + errno = EINVAL; diff --git a/util-linux.changes b/util-linux.changes index f4ada2b..599d5e9 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 18 15:55:19 CET 2007 - mkoenig@suse.de + +- add temporary workaround for broken RTC update interrupts + [#338419] + ------------------------------------------------------------------- Mon Dec 3 11:03:57 CET 2007 - ro@suse.de diff --git a/util-linux.spec b/util-linux.spec index c5b2785..cdb51d5 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -21,7 +21,7 @@ License: BSD 3-Clause; GPL v2 or later Group: System/Base AutoReqProv: on Version: 2.13.0.1+git20071121 -Release: 7 +Release: 11 Summary: A collection of basic system utilities Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-ng-%version.tar.bz2 Source1: util-linux-2.13-rpmlintrc @@ -67,6 +67,7 @@ Patch38: util-linux-2.12r-mount_swapon_swsuspend_resume.patch Patch10: util-linux-mount_losetup_crypto.patch Patch11: util-linux-2.13-mount_fd_leak.patch Patch12: util-linux-2.13-fdisk_cfdisk_ncursesw.patch +Patch13: util-linux-2.13-hwclock_rtc_wait_busy_tempfix.patch ## ## ## adjtimex @@ -109,6 +110,7 @@ Authors: %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 # cd adjtimex-* %patch50 -p1 @@ -556,6 +558,9 @@ fi #%endif %changelog +* Tue Dec 18 2007 - mkoenig@suse.de +- add temporary workaround for broken RTC update interrupts + [#338419] * Mon Dec 03 2007 - ro@suse.de - remove "arch", in coreutils now * Thu Nov 29 2007 - lnussel@suse.de