Package: parted Version: 1.6.23-3 Severity: minor Tags: patch Please, apply this patch when possible.
I found a problem while I was building the package using sarge toolchain. After looking the code I realise the following patch to solve the problem. --- parted-1.6.23/debian/patches/lvm2.dpatch +++ parted-1.6.23/debian/patches/lvm2.dpatch @@ -77,7 +77,7 @@ + continue; + + snprintf (buf, sizeof (buf), "/dev/mapper/%s", dent->d_name); -+ if (stat (buf, &st) == 0 && (major (st.st_rdev) == lvm_major)) ++ if (stat (buf, &st) == 0 && ((unsigned int)major (st.st_rdev) == lvm_major)) + _ped_device_probe (buf); + } + closedir (mapper_dir); Thanks in advance, Otavio -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (100, 'unstable'), (99, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-k7 Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) Versions of packages parted depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libncurses5 5.4-9 Shared libraries for terminal hand ii libparted1.6-12 1.6.23-3 The GNU Parted disk partitioning s ii libreadline4 4.3-15 GNU readline and history libraries parted recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

