diff options
author | Larry Hajali <larryhaja@gmail.com> | 2020-05-02 09:43:40 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-03 08:48:37 +0700 |
commit | 9083bbe6816559ccaf82e0dba1f4d85aff2a178b (patch) | |
tree | 3e29d28209bac4e05b2a020b45a0de7c27b089e8 /misc/subsurface/subsurface.SlackBuild | |
parent | 9adf294b488fe73dab2f1b77819b917331c76976 (diff) |
misc/subsurface: Fix building against newer version of libgit2
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/subsurface/subsurface.SlackBuild')
-rw-r--r-- | misc/subsurface/subsurface.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/subsurface/subsurface.SlackBuild b/misc/subsurface/subsurface.SlackBuild index c0d02297a3bc1..8242455158969 100644 --- a/misc/subsurface/subsurface.SlackBuild +++ b/misc/subsurface/subsurface.SlackBuild @@ -73,6 +73,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix building against newer versions of libgit2 +patch -p1 < $CWD/libgit2-version.patch + # Ugly hack to avoid header collision between grantlee and grantlee-qt5. # https://mail.kde.org/pipermail/release-team/2015-August/008911.html sed -i 's|#include <grantlee_templates.h>|#include "grantlee_templates_local.h"|' \ |