[arch-commits] Commit in parted/trunk (PKGBUILD linux.c.patch parted.install)

Giovanni Scafora giovanni at nymeria.archlinux.org
Sun May 19 14:21:02 UTC 2013


    Date: Sunday, May 19, 2013 @ 16:21:01
  Author: giovanni
Revision: 185833

upgpkg: parted 3.1-2

remove /usr/sbin

Modified:
  parted/trunk/PKGBUILD
  parted/trunk/parted.install
Deleted:
  parted/trunk/linux.c.patch

----------------+
 PKGBUILD       |    3 ++-
 linux.c.patch  |   25 -------------------------
 parted.install |    2 +-
 3 files changed, 3 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-19 14:15:45 UTC (rev 185832)
+++ PKGBUILD	2013-05-19 14:21:01 UTC (rev 185833)
@@ -4,7 +4,7 @@
 
 pkgname=parted
 pkgver=3.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A program for creating, destroying, resizing, checking and copying partitions"
 arch=('i686' 'x86_64')
 license=('GPL3')
@@ -20,6 +20,7 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
 
   ./configure --prefix=/usr \
+              --sbindir=/usr/bin \
               --disable-debug \
               --disable-rpath
   make

Deleted: linux.c.patch
===================================================================
--- linux.c.patch	2013-05-19 14:15:45 UTC (rev 185832)
+++ linux.c.patch	2013-05-19 14:21:01 UTC (rev 185833)
@@ -1,25 +0,0 @@
---- a/libparted/arch/linux.c	2011-05-27 14:52:37.000000000 +0200
-+++ b/libparted/arch/linux.c	2011-07-29 20:25:38.000000000 +0200
-@@ -601,17 +601,17 @@
-         static int kver = -1;
- 
-         struct utsname uts;
--        int major;
--        int minor;
--        int teeny;
-+        int major = 0;
-+        int minor = 0;
-+        int teeny = 0;
- 
-         if (kver != -1)
-                 return kver;
- 
-         if (uname (&uts))
-                 return kver = 0;
--        if (sscanf (uts.release, "%u.%u.%u", &major, &minor, &teeny) != 3)
--                return kver = 0;
-+        int n = sscanf (uts.release, "%u.%u.%u", &major, &minor, &teeny);
-+        assert (n == 2 || n == 3);
- 
-         return kver = KERNEL_VERSION (major, minor, teeny);
- }

Modified: parted.install
===================================================================
--- parted.install	2013-05-19 14:15:45 UTC (rev 185832)
+++ parted.install	2013-05-19 14:21:01 UTC (rev 185833)
@@ -8,7 +8,7 @@
 }
 
 post_upgrade() {
-  post_install $1
+  post_install
 }
 
 pre_remove() {




More information about the arch-commits mailing list