parted: bump to 2.3, deleted ancient patch

sg3_utils: bump to 1.29
This commit is contained in:
Drake Justice 2010-07-10 00:03:55 +00:00
parent 1eebf4229a
commit a68df95764
3 changed files with 4 additions and 34 deletions

View File

@ -3,7 +3,7 @@
# Contributor: Aaron Griffin <aaron@archlinux.org>
pkgname=parted
pkgver=2.2
pkgver=2.3
pkgrel=1
pkgdesc="A program for creating, destroying, resizing, checking and copying partitions"
arch=('i686' 'x86_64')
@ -13,7 +13,7 @@ depends=('device-mapper' 'e2fsprogs')
options=('!libtool')
install=parted.install
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('9c262afd6673d7724a60b7c632ce80fa')
md5sums=('30ceb6df7e8681891e865e2fe5a7903d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"

View File

@ -1,30 +0,0 @@
--- a/libparted/disk.c 2009-07-23 10:52:08.000000000 -0700
+++ b/libparted/disk.c 2009-12-02 23:53:24.000000000 -0800
@@ -489,9 +489,25 @@
int
ped_disk_commit (PedDisk* disk)
{
+ /* Open the device here, so that the underlying fd is not closed
+ between commit_to_dev and commit_to_os (closing causes unwanted
+ udev events to be sent under Linux). */
+ if (!ped_device_open (disk->dev))
+ goto error;
+
if (!ped_disk_commit_to_dev (disk))
- return 0;
- return ped_disk_commit_to_os (disk);
+ goto error_close_dev;
+
+ if (!ped_disk_commit_to_os (disk))
+ goto error_close_dev;
+
+ ped_device_close (disk->dev);
+ return 1;
+
+error_close_dev:
+ ped_device_close (disk->dev);
+error:
+ return 0;
}
/**

View File

@ -1,7 +1,7 @@
#$Id: PKGBUILD 57693 2009-11-01 14:51:33Z jgc $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
pkgname=sg3_utils
pkgver=1.28
pkgver=1.29
pkgrel=1
pkgdesc="Generic SCSI utilities"
arch=(i686 x86_64)
@ -11,7 +11,7 @@ depends=('glibc')
options=('!libtool')
source=(http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tgz
stdint.patch)
md5sums=('e59d5eb56475e2443b6188cf50ac8f67'
md5sums=('17b8f2bc1b32bd036515683cc87328ea'
'795480007541389d2ceebb364c75dbcf')
build() {