gnome-builder: rebuild against libgit2-1.0.0
This commit is contained in:
parent
ebe4318875
commit
caf34680f2
2 changed files with 24 additions and 2 deletions
22
srcpkgs/gnome-builder/patches/libgit2-1.0.0.patch
Normal file
22
srcpkgs/gnome-builder/patches/libgit2-1.0.0.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
commit 44136a2e5c52623b0e62c38846f511f307615ce2
|
||||
Author: q66 <daniel@octaforge.org>
|
||||
Date: Sun May 3 19:52:09 2020 +0200
|
||||
|
||||
fix build with libgit2-1.0.0
|
||||
|
||||
diff --git a/src/plugins/git/daemon/ipc-git-repository-impl.c b/src/plugins/git/daemon/ipc-git-repository-impl.c
|
||||
index 7f01042..2ccc4df 100644
|
||||
--- a/src/plugins/git/daemon/ipc-git-repository-impl.c
|
||||
+++ b/src/plugins/git/daemon/ipc-git-repository-impl.c
|
||||
@@ -33,11 +33,7 @@
|
||||
#include "ipc-git-types.h"
|
||||
#include "ipc-git-util.h"
|
||||
|
||||
-#if LIBGIT2_SOVERSION >= 28
|
||||
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (git_buf, git_buf_dispose)
|
||||
-#else
|
||||
-G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (git_buf, git_buf_free)
|
||||
-#endif
|
||||
|
||||
typedef enum
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'gnome-builder'
|
||||
pkgname=gnome-builder
|
||||
version=3.34.1
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=meson
|
||||
configure_args="-Dwith_webkit=true -Dwith_sysprof=true -Dhelp=true"
|
||||
hostmakedepends="pkg-config appdata-tools desktop-file-utils flex gobject-introspection
|
||||
gspell-devel llvm mm-common vala python3-Sphinx python3-sphinx_rtd_theme"
|
||||
gspell-devel llvm mm-common vala python3-Sphinx python3-sphinx_rtd_theme gettext"
|
||||
makedepends="cairo-devel clang devhelp-devel enchant2-devel flatpak-devel
|
||||
gspell-devel gtksourceview4-devel gtk+3-devel json-glib-devel jsonrpc-glib-devel
|
||||
libdazzle-devel libgit2-glib-devel libglib-devel libostree-devel libpeas-devel
|
||||
|
|
Loading…
Reference in a new issue