ports/devel/libgit2-glib/files/patch-libgit2-glib_ggit-config.c
Raphael Kubo da Costa 303fad494e devel/libgit2-glib: Unbreak with libgit2 0.27.
The fix is two-fold:
* Adjust the path for the sed call in devel/libgit2 so that we leave out
  openssl from libgit2.pc's Requires.private line, otherwise libgit2-glib will
  look for openssl.pc, which does not exist when OpenSSL from base is used.

* Reset libgit2-glib back to 0.26, and import a patch both Arch Linux and
  openSUSE have been carrying to fix the build with libgit2 0.27. PORTEPOCH was
  not set because there is no libgit2-glib 0.27 and no package could have
  possibly been built after r469930.

Approved by:	mfechner, gnome (kwm)
Differential Revision:	https://reviews.freebsd.org/D15437
2018-05-15 12:21:41 +00:00

13 lines
629 B
C

Fix the build with libgit2 0.27.
Obtained from: https://git.archlinux.org/svntogit/packages.git/commit/trunk/libgit2-0.27.0.diff?h=packages/libgit2-glib&id=5c8af6b8236ed9a108ad980899477cb50ffeb324
--- libgit2-glib/ggit-config.c.orig 2015-08-10 06:33:13 UTC
+++ libgit2-glib/ggit-config.c
@@ -295,6 +295,7 @@ ggit_config_add_file (GgitConfig *config,
ret = git_config_add_file_ondisk (_ggit_native_get (config),
path,
(git_config_level_t)level,
+ NULL,
force);
g_free (path);