OBS User unknown 2008-11-28 11:31:02 +00:00 committed by Git OBS Bridge
parent 0e0549b6c1
commit 15f18eaa80
3 changed files with 31 additions and 1 deletions

21
fix-dasd-probe.patch Normal file
View File

@ -0,0 +1,21 @@
# fixes (bnc#438681)
# calling ped_exception_throw(*,*,NULL) causes endless loop allocating memory
# since it does not output any usefull data anyway, we can remove that call completely
--- ./libparted/labels/dasd.c.orig 2008-11-26 13:55:11.000000000 +0100
+++ ./libparted/labels/dasd.c 2008-11-26 13:55:49.000000000 +0100
@@ -211,7 +211,6 @@ ped_disk_dasd_done ()
static int
dasd_probe (const PedDevice *dev)
{
- char *errstr = 0;
LinuxSpecific* arch_specific;
struct fdasd_anchor anchor;
@@ -238,7 +237,6 @@ dasd_probe (const PedDevice *dev)
error_cleanup:
fdasd_cleanup(&anchor);
- ped_exception_throw(PED_EXCEPTION_ERROR,PED_EXCEPTION_IGNORE_CANCEL,errstr);
return 0;
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 26 13:59:06 CET 2008 - puzel@suse.cz
- fix-dasd-probe.patch (bnc#438681)
-------------------------------------------------------------------
Fri Nov 7 21:58:52 CET 2008 - puzel@suse.cz

View File

@ -26,7 +26,7 @@ License: GPL v2 or later
Group: System/Filesystems
Summary: GNU partitioner
Version: 1.8.8
Release: 90
Release: 91
Source0: %{name}-%{version}.tar.bz2
Patch: always-resize-part.dif
Patch1: parted-type.patch
@ -48,6 +48,7 @@ Patch56: parted-no-inttypes-include
Patch57: fix-improper-data-conversion.patch
Patch58: fix-corrupted-gpt-crash.patch
Patch59: fix-dvh-update.patch
Patch60: fix-dasd-probe.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://www.gnu.org/software/parted/
PreReq: %install_info_prereq
@ -105,6 +106,7 @@ Authors:
%patch57 -p1
%patch58 -p1
%patch59 -p1
%patch60 -p1
%build
AUTOPOINT=true autoreconf --force --install
@ -149,6 +151,8 @@ rm -rf "$RPM_BUILD_ROOT"
%{_libdir}/*.so
%changelog
* Wed Nov 26 2008 puzel@suse.cz
- fix-dasd-probe.patch (bnc#438681)
* Fri Nov 07 2008 puzel@suse.cz
- fix-corrupted-gpt-crash.patch (bnc#439910)
- fix-dvh-update.patch (bnc#397210)