diff --git a/util-linux-2.12r-partx_gpt_warning.patch b/util-linux-2.12r-partx_gpt_warning.patch new file mode 100644 index 0000000..eff2e26 --- /dev/null +++ b/util-linux-2.12r-partx_gpt_warning.patch @@ -0,0 +1,13 @@ +Index: util-linux-2.12r/partx/gpt.h +=================================================================== +--- util-linux-2.12r.orig/partx/gpt.h ++++ util-linux-2.12r/partx/gpt.h +@@ -36,7 +36,7 @@ + #define MSDOS_MBR_SIGNATURE 0xaa55 + #define GPT_BLOCK_SIZE 512 + +-#define GPT_HEADER_SIGNATURE 0x5452415020494645 ++#define GPT_HEADER_SIGNATURE 0x5452415020494645LL + #define GPT_HEADER_REVISION_V1_02 0x00010200 + #define GPT_HEADER_REVISION_V1_00 0x00010000 + #define GPT_HEADER_REVISION_V0_99 0x00009900 diff --git a/util-linux.changes b/util-linux.changes index 4c2e5e0..3693702 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 8 17:27:22 CET 2007 - mkoenig@suse.de + +- partx: fix warning for too long literal + ------------------------------------------------------------------- Wed Mar 7 16:58:08 CET 2007 - rguenther@suse.de diff --git a/util-linux.spec b/util-linux.spec index c05f8aa..4edab4e 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -20,7 +20,7 @@ License: BSD License and BSD-like, GNU General Public License (GPL) Group: System/Base Autoreqprov: on Version: 2.12r -Release: 77 +Release: 78 Summary: A collection of basic system utilities Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-%version.tar.bz2 Source2: nologin.c @@ -111,6 +111,7 @@ Patch109: util-linux-2.12r-losetup_password.patch Patch110: util-linux-2.12r-mkfs_open_exclusive.patch Patch111: util-linux-2.12r-fdisk_remove_bogus_warnings.patch Patch112: util-linux-2.12r-mount_racy_loop.patch +Patch113: util-linux-2.12r-partx_gpt_warning.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %insserv_prereq %fillup_prereq /bin/sed @@ -187,6 +188,7 @@ cd - %patch110 -p1 %patch111 -p1 %patch112 -p1 +%patch113 -p1 # setctsid cp %{S:22} %{S:23} . # nologin and guessfstype @@ -620,6 +622,8 @@ fi %endif %changelog +* Thu Mar 08 2007 - mkoenig@suse.de +- partx: fix warning for too long literal * Wed Mar 07 2007 - rguenther@suse.de - fix changelog entry order * Tue Feb 27 2007 - mkoenig@suse.de