rpms/parted/devel parted-1.8.8-s390-compile.patch, NONE, 1.1 parted.spec, 1.124, 1.125
Joel Andres Granados Moreno
jgranado at fedoraproject.org
Thu Nov 6 13:31:50 UTC 2008
Author: jgranado
Update of /cvs/pkgs/rpms/parted/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5729
Modified Files:
parted.spec
Added Files:
parted-1.8.8-s390-compile.patch
Log Message:
Fix the build for s390(x).
parted-1.8.8-s390-compile.patch:
--- NEW FILE parted-1.8.8-s390-compile.patch ---
--- parted-1.8.8/libparted/labels/fdasd.c.orig 2008-08-28 09:07:06.000000000 -0400
+++ parted-1.8.8/libparted/labels/fdasd.c 2008-08-28 09:08:28.000000000 -0400
@@ -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);
@@ -780,7 +780,6 @@ fdasd_get_geometry (fdasd_anchor_t *anc,
PDEBUG
int blksize = 0;
dasd_information_t dasd_info;
- char s[LINE_LENGTH];
if (ioctl(f, HDIO_GETGEO, &anc->geo) != 0)
fdasd_error(anc, unable_to_ioctl,
Index: parted.spec
===================================================================
RCS file: /cvs/pkgs/rpms/parted/devel/parted.spec,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -r1.124 -r1.125
--- parted.spec 5 Jun 2008 21:32:09 -0000 1.124
+++ parted.spec 6 Nov 2008 13:31:20 -0000 1.125
@@ -4,7 +4,7 @@
Summary: The GNU disk partition manipulation program
Name: parted
Version: 1.8.8
-Release: 8%{?dist}
+Release: 9%{?dist}
License: GPLv3+
Group: Applications/System
URL: http://www.gnu.org/software/parted
@@ -19,6 +19,7 @@
Patch6: %{name}-1.8.8-alpha.patch
Patch7: %{name}-1.8.8-dospartrec.patch
Patch8: %{name}-1.8.8-appletv.patch
+Patch9: %{name}-1.8.8-s390-compile.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: e2fsprogs-devel
@@ -64,6 +65,7 @@
%patch6 -p1 -b .alpha
%patch7 -p1 -b .dospartrec
%patch8 -p1 -b .appletv
+%patch9 -p1 -b .s390-compile
%build
%configure --enable-device-mapper --enable-selinux --disable-static
@@ -121,6 +123,9 @@
%{_exec_prefix}/%{_lib}/pkgconfig/libparted.pc
%changelog
+* Thu Nov 06 2008 Joel Granados <jgranado at redhat.com> - 1.8.8-9
+- Fix the build for the s390(x) archs (#470211).
+
* Thu Jun 05 2008 Peter Jones <pjones at redhat.com> - 1.8.8-8
- Fix some of the atvrecv code (and the msftres code) so that the flags
actually stick.
More information about the fedora-extras-commits
mailing list