[arch-commits] Commit in seed/trunk (PKGBUILD rl63.patch)
Jan Steffens
heftig at nymeria.archlinux.org
Wed Mar 5 09:41:33 UTC 2014
Date: Wednesday, March 5, 2014 @ 10:41:33
Author: heftig
Revision: 206704
FS#39158 readline
Added:
seed/trunk/rl63.patch
Modified:
seed/trunk/PKGBUILD
------------+
PKGBUILD | 14 ++++++++++----
rl63.patch | 12 ++++++++++++
2 files changed, 22 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-05 09:33:16 UTC (rev 206703)
+++ PKGBUILD 2014-03-05 09:41:33 UTC (rev 206704)
@@ -4,7 +4,7 @@
pkgname=seed
pkgver=3.8.1
-pkgrel=2
+pkgrel=3
pkgdesc="Library and interpreter for JavaScript with GObject type system bindings."
arch=('i686' 'x86_64')
url="http://live.gnome.org/Seed/"
@@ -12,13 +12,19 @@
depends=('webkitgtk3' 'gobject-introspection' 'gnome-js-common' 'mpfr')
makedepends=('intltool')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/3.8/${pkgname}-${pkgver}.tar.xz
- GLib.js)
+ GLib.js rl63.patch)
sha256sums=('80cb4db7fa6f6cf8d3e255fc45a81657388d458bc8bf23e4089e35f69eeaac32'
- '2a8185df661056e12830d0a29155dc539016fc349a823f5aec09dd15bbb9239b')
+ '2a8185df661056e12830d0a29155dc539016fc349a823f5aec09dd15bbb9239b'
+ '8d91b5c46438350b139609e63f6f863fcd9949d631f87c3c4e267ad4987181a1')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../rl63.patch # Readline 6.3 compat (deprecated typedefs gone)
+ cp ../GLib.js extensions/
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- install -m644 ../GLib.js extensions/
./configure --prefix=/usr --disable-static
make
}
Added: rl63.patch
===================================================================
--- rl63.patch (rev 0)
+++ rl63.patch 2014-03-05 09:41:33 UTC (rev 206704)
@@ -0,0 +1,12 @@
+diff -u -r seed-3.8.1/modules/readline/seed-readline.c seed-3.8.1-rl63/modules/readline/seed-readline.c
+--- seed-3.8.1/modules/readline/seed-readline.c 2013-04-16 09:58:20.000000000 +0200
++++ seed-3.8.1-rl63/modules/readline/seed-readline.c 2014-03-05 10:29:53.393385674 +0100
+@@ -77,7 +77,7 @@
+ key = seed_value_to_string(ctx, arguments[0], exception);
+ c = seed_make_rl_closure((SeedObject) arguments[1]);
+
+- rl_bind_key(*key, (Function *) c);
++ rl_bind_key(*key, (rl_command_func_t *) c);
+
+ g_free(key);
+
More information about the arch-commits
mailing list