[arch-commits] Commit in geany-plugins/trunk (PKGBUILD libgit2-0.23.patch)
Gaetan Bisson
bisson at archlinux.org
Mon Aug 31 19:44:58 UTC 2015
Date: Monday, August 31, 2015 @ 21:44:58
Author: bisson
Revision: 139029
rebuild for libgit2-0.23
Added:
geany-plugins/trunk/libgit2-0.23.patch
Modified:
geany-plugins/trunk/PKGBUILD
--------------------+
PKGBUILD | 13 ++++++++++---
libgit2-0.23.patch | 12 ++++++++++++
2 files changed, 22 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-31 19:42:05 UTC (rev 139028)
+++ PKGBUILD 2015-08-31 19:44:58 UTC (rev 139029)
@@ -6,7 +6,7 @@
pkgname=geany-plugins
pkgver=1.25
-pkgrel=2
+pkgrel=3
pkgdesc='Plugins for Geany'
arch=('x86_64' 'i686')
url='http://plugins.geany.org/'
@@ -16,9 +16,16 @@
makedepends=('intltool' 'vala' 'gdb' 'cppcheck' 'libgit2')
optdepends=('hspell: hebrew spell checker')
install="$pkgname.install"
-source=("http://plugins.geany.org/$pkgname/$pkgname-$pkgver.tar.bz2")
-sha256sums=('5c13ac1e173284462248ed2faae389a72364c5aa1538de628d2aaa7d286e244b')
+source=("http://plugins.geany.org/$pkgname/$pkgname-$pkgver.tar.bz2"
+ 'libgit2-0.23.patch')
+sha256sums=('5c13ac1e173284462248ed2faae389a72364c5aa1538de628d2aaa7d286e244b'
+ '2af198f08efd247f9c6cfa94e8d9836dbb1d6e3c74fbad8decba0c051c1473db')
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -p1 -i ../libgit2-0.23.patch
+}
+
build() {
cd "$pkgname-$pkgver"
Added: libgit2-0.23.patch
===================================================================
--- libgit2-0.23.patch (rev 0)
+++ libgit2-0.23.patch 2015-08-31 19:44:58 UTC (rev 139029)
@@ -0,0 +1,12 @@
+diff -Naur old/git-changebar/src/gcb-plugin.c new/git-changebar/src/gcb-plugin.c
+--- old/git-changebar/src/gcb-plugin.c 2015-08-31 09:37:32.343517032 -1000
++++ new/git-changebar/src/gcb-plugin.c 2015-08-31 09:37:56.677041414 -1000
+@@ -656,7 +656,7 @@
+ opts.flags = GIT_DIFF_FORCE_TEXT;
+
+ ret = git_diff_buffers (old_buf->ptr, old_buf->size, NULL,
+- buf, len, NULL, &opts, NULL, hunk_cb, NULL, payload);
++ buf, len, NULL, &opts, NULL, NULL, hunk_cb, NULL, payload);
+
+ if (free_buf) {
+ g_free (buf);
More information about the arch-commits
mailing list