forked from pool/parted
This commit is contained in:
parent
f43cd257e0
commit
ba434769ac
13
parted-fdasd-compile-fixes
Normal file
13
parted-fdasd-compile-fixes
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: parted-1.8.8/libparted/labels/fdasd.c
|
||||||
|
===================================================================
|
||||||
|
--- parted-1.8.8.orig/libparted/labels/fdasd.c
|
||||||
|
+++ parted-1.8.8/libparted/labels/fdasd.c
|
||||||
|
@@ -149,7 +149,7 @@ fdasd_error (fdasd_anchor_t *anc, enum f
|
||||||
|
case device_verification_failed:
|
||||||
|
sprintf(error, "fdasd: %s -- %s\n",
|
||||||
|
_("Device verification failed"),
|
||||||
|
- _("The specified device is not a valid DASD device"));,
|
||||||
|
+ _("The specified device is not a valid DASD device"));
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
sprintf(error, "fdasd: %s: %s\n", _("Fatal error"), str);
|
27
parted-no-inttypes-include
Normal file
27
parted-no-inttypes-include
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
Index: parted-1.8.8/libparted/fs/ext2/ext2.h
|
||||||
|
===================================================================
|
||||||
|
--- parted-1.8.8.orig/libparted/fs/ext2/ext2.h
|
||||||
|
+++ parted-1.8.8/libparted/fs/ext2/ext2.h
|
||||||
|
@@ -24,10 +24,6 @@
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include "tune.h"
|
||||||
|
|
||||||
|
-#if HAVE_INTTYPES_H
|
||||||
|
-# include <inttypes.h>
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#if ENABLE_NLS
|
||||||
|
# include <libintl.h>
|
||||||
|
# define _(String) dgettext (PACKAGE, String)
|
||||||
|
Index: parted-1.8.8/libparted/labels/gpt.c
|
||||||
|
===================================================================
|
||||||
|
--- parted-1.8.8.orig/libparted/labels/gpt.c
|
||||||
|
+++ parted-1.8.8/libparted/labels/gpt.c
|
||||||
|
@@ -31,7 +31,6 @@
|
||||||
|
#include <parted/debug.h>
|
||||||
|
#include <parted/endian.h>
|
||||||
|
#include <parted/crc32.h>
|
||||||
|
-#include <inttypes.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/ioctl.h>
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 22 13:27:27 CEST 2008 - hare@suse.de
|
||||||
|
|
||||||
|
- Fix fdasd.c compilation
|
||||||
|
- Don't include broken inttypes.h
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 18 10:03:52 CEST 2008 - agraf@suse.de
|
Fri Jul 18 10:03:52 CEST 2008 - agraf@suse.de
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ License: GPL v2 or later
|
|||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
Summary: GNU partitioner
|
Summary: GNU partitioner
|
||||||
Version: 1.8.8
|
Version: 1.8.8
|
||||||
Release: 53
|
Release: 56
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Patch: always-resize-part.dif
|
Patch: always-resize-part.dif
|
||||||
Patch1: parted-type.patch
|
Patch1: parted-type.patch
|
||||||
@ -36,6 +36,8 @@ Patch51: parted.tty.patch
|
|||||||
Patch52: parted.no-O_DIRECT.patch
|
Patch52: parted.no-O_DIRECT.patch
|
||||||
Patch53: largest_partition_number.patch
|
Patch53: largest_partition_number.patch
|
||||||
Patch54: parted-gpt-mbr-sync.patch
|
Patch54: parted-gpt-mbr-sync.patch
|
||||||
|
Patch55: parted-fdasd-compile-fixes
|
||||||
|
Patch56: parted-no-inttypes-include
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Url: http://www.gnu.org/software/parted/
|
Url: http://www.gnu.org/software/parted/
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
@ -89,6 +91,8 @@ Authors:
|
|||||||
%patch52 -p1
|
%patch52 -p1
|
||||||
%patch53 -p1
|
%patch53 -p1
|
||||||
%patch54
|
%patch54
|
||||||
|
%patch55 -p1
|
||||||
|
%patch56 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
AUTOPOINT=true autoreconf --force --install
|
AUTOPOINT=true autoreconf --force --install
|
||||||
@ -132,6 +136,9 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 22 2008 hare@suse.de
|
||||||
|
- Fix fdasd.c compilation
|
||||||
|
- Don't include broken inttypes.h
|
||||||
* Fri Jul 18 2008 agraf@suse.de
|
* Fri Jul 18 2008 agraf@suse.de
|
||||||
- add GPT sync, so whenever the GPT is modified, fake MBR entries
|
- add GPT sync, so whenever the GPT is modified, fake MBR entries
|
||||||
for the first 4 partitions will be created. This fixes booting
|
for the first 4 partitions will be created. This fixes booting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user