From 740bc2932fa89806842ae83ed97bb46e94077520 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 19 Apr 2018 15:46:25 +0200 Subject: extra/libgit2: temporary fix for the stack smash during check() --- extra/libgit2/PKGBUILD | 9 +++++++++ extra/libgit2/libgit2-ssp-offset64-stat-buf.patch | Bin 0 -> 547 bytes 2 files changed, 9 insertions(+) create mode 100644 extra/libgit2/PKGBUILD create mode 100644 extra/libgit2/libgit2-ssp-offset64-stat-buf.patch diff --git a/extra/libgit2/PKGBUILD b/extra/libgit2/PKGBUILD new file mode 100644 index 00000000..052719d7 --- /dev/null +++ b/extra/libgit2/PKGBUILD @@ -0,0 +1,9 @@ +# See: https://github.com/libgit2/libgit2/pull/4631 + +source+=('libgit2-ssp-offset64-stat-buf.patch') +sha1sums+=('378a2c3eaef1957145aa58f51f75a07c634f77d7') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i "$srcdir/libgit2-ssp-offset64-stat-buf.patch" +} diff --git a/extra/libgit2/libgit2-ssp-offset64-stat-buf.patch b/extra/libgit2/libgit2-ssp-offset64-stat-buf.patch new file mode 100644 index 00000000..a6ee91d9 Binary files /dev/null and b/extra/libgit2/libgit2-ssp-offset64-stat-buf.patch differ -- cgit v1.2.3-54-g00ecf