[arch-commits] Commit in parted/trunk (PKGBUILD parted-3.1-readline.patch)
Giovanni Scafora
giovanni at nymeria.archlinux.org
Wed Mar 5 18:41:06 UTC 2014
Date: Wednesday, March 5, 2014 @ 19:41:06
Author: giovanni
Revision: 206905
upgpkg: parted 3.1-4
Fixed FS39139
Added:
parted/trunk/parted-3.1-readline.patch
Modified:
parted/trunk/PKGBUILD
---------------------------+
PKGBUILD | 14 +++++++++++---
parted-3.1-readline.patch | 11 +++++++++++
2 files changed, 22 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-05 18:05:36 UTC (rev 206904)
+++ PKGBUILD 2014-03-05 18:41:06 UTC (rev 206905)
@@ -4,7 +4,7 @@
pkgname=parted
pkgver=3.1
-pkgrel=3
+pkgrel=4
pkgdesc="A program for creating, destroying, resizing, checking and copying partitions"
arch=('i686' 'x86_64')
license=('GPL3')
@@ -12,9 +12,17 @@
depends=('device-mapper' 'e2fsprogs')
makedepends=('pkg-config')
install=parted.install
-source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('5d89d64d94bcfefa9ce8f59f4b81bdcb')
+source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"
+ 'parted-3.1-readline.patch')
+md5sums=('5d89d64d94bcfefa9ce8f59f4b81bdcb'
+ '7f3c0f9d2fa2569054734149c1bf9d0c')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np1 -i "${srcdir}/parted-3.1-readline.patch"
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
Added: parted-3.1-readline.patch
===================================================================
--- parted-3.1-readline.patch (rev 0)
+++ parted-3.1-readline.patch 2014-03-05 18:41:06 UTC (rev 206905)
@@ -0,0 +1,11 @@
+--- a/parted/ui.c
++++ b/parted/ui.c
+@@ -1474,7 +1474,7 @@
+ #ifdef HAVE_LIBREADLINE
+ if (!opt_script_mode) {
+ rl_initialize ();
+- rl_attempted_completion_function = (CPPFunction*) complete_function;
++ rl_attempted_completion_function = (rl_completion_func_t*) complete_function;
+ readline_state.in_readline = 0;
+ }
+ #endif
More information about the arch-commits
mailing list