Hello community,

here is the log from the commit of package parted for openSUSE:Factory
checked in at Mon Sep 5 16:43:46 CEST 2011.



--------
--- parted/parted.changes       2011-08-25 12:50:38.000000000 +0200
+++ parted/parted.changes       2011-09-05 14:34:13.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Sep  5 12:08:48 UTC 2011 - pu...@suse.com
+
+- add parted-use-ext-range.patch (bnc#715695) 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  parted-use-ext-range.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ parted.spec ++++++
--- /var/tmp/diff_new_pack.ahY41M/_old  2011-09-05 16:43:11.000000000 +0200
+++ /var/tmp/diff_new_pack.ahY41M/_new  2011-09-05 16:43:11.000000000 +0200
@@ -19,7 +19,7 @@
 
 Name:           parted
 Version:        2.4
-Release:        11
+Release:        13
 License:        GPLv3+
 Summary:        GNU partitioner
 Url:            http://www.gnu.org/software/parted/
@@ -41,6 +41,7 @@
 Patch12:        more-reliable-informing-the-kernel.patch
 Patch13:        parted-2.4-ncursesw6.patch
 Patch14:        parted-gpt-sync-mbr-label.patch
+Patch15:        parted-use-ext-range.patch
 Requires:       /sbin/udevadm
 BuildRequires:  check-devel
 BuildRequires:  device-mapper-devel >= 1.02.33
@@ -105,6 +106,7 @@
 %patch12 -p1
 %patch13
 %patch14 -p1
+%patch15 -p1
 
 %build
 export CFLAGS="%{optflags} `ncursesw6-config --cflags`"

++++++ parted-use-ext-range.patch ++++++
Index: parted-2.4/libparted/arch/linux.c
===================================================================
--- parted-2.4.orig/libparted/arch/linux.c
+++ parted-2.4/libparted/arch/linux.c
@@ -2413,7 +2413,7 @@ _blkpg_remove_partition (PedDisk* disk,
 
 /*
  * The number of partitions that a device can have depends on the kernel.
- * If we don't find this value in /sys/block/DEV/range, we will use our own
+ * If we don't find this value in /sys/block/DEV/ext_range, we will use our own
  * value.
  */
 static unsigned int
@@ -2424,7 +2424,7 @@ _device_get_partition_range(PedDevice* d
         FILE*       fp;
         bool        ok;
 
-        r = snprintf(path, sizeof(path), "/sys/block/%s/range",
+        r = snprintf(path, sizeof(path), "/sys/block/%s/ext_range",
                      last_component(dev->path));
         if (r < 0 || r >= sizeof(path))
                 return MAX_NUM_PARTS;

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to