diff options
author | Simon Stelling <blubb@gentoo.org> | 2006-07-12 09:58:56 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2006-07-12 09:58:56 +0000 |
commit | 85be35367b40194562fe7255bbd750c3697d80b8 (patch) | |
tree | aee548ec031f5c75c4a4e0e24b5e30601df6831d /sys-block/gparted | |
parent | Added ~ppc64 (diff) | |
download | gentoo-2-85be35367b40194562fe7255bbd750c3697d80b8.tar.gz gentoo-2-85be35367b40194562fe7255bbd750c3697d80b8.tar.bz2 gentoo-2-85be35367b40194562fe7255bbd750c3697d80b8.zip |
fix bug 139638
(Portage version: 3808-svn)
Diffstat (limited to 'sys-block/gparted')
-rw-r--r-- | sys-block/gparted/ChangeLog | 6 | ||||
-rw-r--r-- | sys-block/gparted/files/gparted-0.2.5-llabs.patch | 20 | ||||
-rw-r--r-- | sys-block/gparted/gparted-0.2.5.ebuild | 10 |
3 files changed, 33 insertions, 3 deletions
diff --git a/sys-block/gparted/ChangeLog b/sys-block/gparted/ChangeLog index 023bdb4dbabb..fd2c5c62feb6 100644 --- a/sys-block/gparted/ChangeLog +++ b/sys-block/gparted/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-block/gparted # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/ChangeLog,v 1.25 2006/05/25 21:19:00 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/ChangeLog,v 1.26 2006/07/12 09:58:56 blubb Exp $ + + 12 Jul 2006; Simon Stelling <blubb@gentoo.org> + +files/gparted-0.2.5-llabs.patch, gparted-0.2.5.ebuild: + fix bug 139638 *gparted-0.2.5 (25 May 2006) diff --git a/sys-block/gparted/files/gparted-0.2.5-llabs.patch b/sys-block/gparted/files/gparted-0.2.5-llabs.patch new file mode 100644 index 000000000000..f8622a46f689 --- /dev/null +++ b/sys-block/gparted/files/gparted-0.2.5-llabs.patch @@ -0,0 +1,20 @@ +--- src/OperationResizeMove.cc.bak 2006-07-08 00:09:58.000000000 -0400 ++++ src/OperationResizeMove.cc 2006-07-08 00:09:30.000000000 -0400 +@@ -46,7 +46,7 @@ + { + //FIXME:make messages more informative by specifying shrink/grow instead of resize. + //if startsector has changed we consider it a move +- Sector diff = std::abs( partition_new .sector_start - partition_original .sector_start ) ; ++ Sector diff = llabs( partition_new .sector_start - partition_original .sector_start ) ; + if ( diff ) + { + if ( diff > 0 ) +@@ -60,7 +60,7 @@ + } + + //check if size has changed +- diff = std::abs( partition_original .get_length() - partition_new .get_length() ) ; ++ diff = llabs( partition_original .get_length() - partition_new .get_length() ) ; + if ( diff ) + { + if ( description .empty() ) diff --git a/sys-block/gparted/gparted-0.2.5.ebuild b/sys-block/gparted/gparted-0.2.5.ebuild index 962b7c58c9ec..8882cb1f424e 100644 --- a/sys-block/gparted/gparted-0.2.5.ebuild +++ b/sys-block/gparted/gparted-0.2.5.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/gparted-0.2.5.ebuild,v 1.1 2006/05/25 21:19:00 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/gparted-0.2.5.ebuild,v 1.2 2006/07/12 09:58:56 blubb Exp $ -inherit gnome2 +inherit gnome2 eutils DESCRIPTION="Gnome Partition Editor" HOMEPAGE="http://gparted.sourceforge.net/" @@ -27,3 +27,9 @@ RDEPEND=">=sys-apps/parted-1.6.25 DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.12 >=dev-util/intltool-0.29" + +src_unpack() { + gnome2_src_unpack + + epatch ${FILESDIR}/${P}-llabs.patch +} |