diff options
Diffstat (limited to 'sys-block/gparted/files/gparted-0.2.5-llabs.patch')
-rw-r--r-- | sys-block/gparted/files/gparted-0.2.5-llabs.patch | 20 |
1 files changed, 20 insertions, 0 deletions
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() ) |