From 00f69475f9255c01fbc5fd8f63af9579a926b24f2fd4971d14b1184af0934796 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 3 Nov 2008 00:03:14 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=65 --- util-linux-2.14.1-fdisk_missing_include.patch | 14 ++++++++++++++ util-linux.changes | 5 +++++ util-linux.spec | 14 +++++++++----- 3 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 util-linux-2.14.1-fdisk_missing_include.patch diff --git a/util-linux-2.14.1-fdisk_missing_include.patch b/util-linux-2.14.1-fdisk_missing_include.patch new file mode 100644 index 0000000..2bdcbec --- /dev/null +++ b/util-linux-2.14.1-fdisk_missing_include.patch @@ -0,0 +1,14 @@ +Index: util-linux-ng-2.14.1/fdisk/partname.c +=================================================================== +--- util-linux-ng-2.14.1.orig/fdisk/partname.c 2008-05-29 01:01:02.000000000 +0200 ++++ util-linux-ng-2.14.1/fdisk/partname.c 2008-10-27 17:01:15.000000000 +0100 +@@ -1,6 +1,9 @@ + #include + #include + #include ++#include ++#include ++#include "blkdev.h" + #include "common.h" + + /* diff --git a/util-linux.changes b/util-linux.changes index 70863d8..7c5beab 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 27 17:33:01 CET 2008 - mkoenig@suse.de + +- fdisk: add missing includes [bnc#438670] + ------------------------------------------------------------------- Thu Oct 23 17:58:28 CEST 2008 - mkoenig@suse.de diff --git a/util-linux.spec b/util-linux.spec index f84e0a1..105c3b8 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -30,7 +30,7 @@ License: BSD 3-Clause; GPL v2 or later Group: System/Base AutoReqProv: on Version: 2.14.1 -Release: 4 +Release: 5 Requires: %name-lang = %{version} Summary: A collection of basic system utilities Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-ng-%version.tar.bz2 @@ -77,6 +77,7 @@ Patch10: util-linux-2.14.1-lscpu_add_hypervisor_detection.patch Patch11: util-linux-2.14.1-mount_swap_pagesize.patch Patch12: util-linux-2.14.1-sys-utils_lscpu_exit.patch Patch13: util-linux-2.14.1-disk-utils_mkfs.minix_file_size_detection.patch +Patch14: util-linux-2.14.1-fdisk_missing_include.patch # crypto patch Patch20: util-linux-mount_losetup_crypto.patch ## @@ -126,6 +127,7 @@ Authors: %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 %patch20 -p1 cp %{SOURCE7} %{SOURCE8} . # @@ -593,6 +595,8 @@ fi #%endif %changelog +* Mon Oct 27 2008 mkoenig@suse.de +- fdisk: add missing includes [bnc#438670] * Thu Oct 23 2008 mkoenig@suse.de - swapon: add swap pagesize detection [bnc#433028] - lscpu: fix return code [bnc#437367] @@ -673,7 +677,7 @@ fi * Thu Apr 03 2008 mkoenig@suse.de - cfdisk: accept english answer [bnc#369043] - use upstream getfs fix -* Thu Mar 27 2008 coolo@suse.de +* Wed Mar 26 2008 coolo@suse.de - actually require the split out package * Sun Mar 23 2008 coolo@suse.de - splitting out 60%% of the size of the package: @@ -729,7 +733,7 @@ fi - merged upstream: util-linux-2.13-mount_helper_fix.patch util-linux-2.13-hwclock_rtc_option.patch -* Fri Oct 05 2007 bg@suse.de +* Thu Oct 04 2007 bg@suse.de - don't use parisc, parisc32 and parisc64. * Mon Oct 01 2007 mkoenig@suse.de - update to version 2.13 @@ -1395,7 +1399,7 @@ fi - The install_info macros need PreReq: %%install_info_prereq * Fri Feb 07 2003 ro@suse.de - added install_info macros -* Wed Feb 05 2003 ro@suse.de +* Tue Feb 04 2003 ro@suse.de - don't package /bin/kill (part of coreutils now) * Tue Feb 04 2003 meissner@suse.de - Include tarball with pmac-utils manpages, so we do not need @@ -1812,7 +1816,7 @@ fi - rdev is not built on alpha * Mon Jan 18 1999 florian@suse.de - fixed one broken case to delete a partition in fdisk -* Mon Dec 14 1998 bs@suse.de +* Sun Dec 13 1998 bs@suse.de - fixed file list * Thu Dec 10 1998 fehr@suse.de - fix bug in fdisk