Niklas Poslovski
2023-07-28 733068db1a6f0b8f7b58e9e9c8f1e2b93eaa2312
geany-plugins: Patch for libgit2 update and rebuild

1 files added
2 files modified
26 ■■■■ changed files
components/editor/geany-plugins/Makefile 2 ●●● patch | view | raw | blame | history
components/editor/geany-plugins/patches/libgit2.patch 22 ●●●●● patch | view | raw | blame | history
components/editor/geany-plugins/pkg5 2 ●●●●● patch | view | raw | blame | history
components/editor/geany-plugins/Makefile
@@ -19,7 +19,7 @@
COMPONENT_NAME=         geany-plugins
COMPONENT_VERSION=      1.38
COMPONENT_REVISION=     5
COMPONENT_REVISION=     6
COMPONENT_CLASSIFICATION=System/Text Tools
COMPONENT_FMRI=         editor/geany/plugins
COMPONENT_SUMMARY=      Plugins for Geany editor
components/editor/geany-plugins/patches/libgit2.patch
New file
@@ -0,0 +1,22 @@
diff --git i/git-changebar/src/gcb-plugin.c w/git-changebar/src/gcb-plugin.c
index f8ce20cd..4488b22f 100644
--- i/git-changebar/src/gcb-plugin.c
+++ w/git-changebar/src/gcb-plugin.c
@@ -216,7 +216,7 @@ static int
 gcb_git_buf_grow (git_buf  *buf,
                   size_t    target_size)
 {
-  if (buf->asize == 0) {
+  if (buf->reserved == 0) {
     if (target_size == 0) {
       target_size = buf->size;
     }
@@ -234,7 +234,7 @@ buf_zero (git_buf *buf)
   if (buf) {
     buf->ptr = NULL;
     buf->size = 0;
-    buf->asize = 0;
+    buf->reserved = 0;
   }
 }
components/editor/geany-plugins/pkg5
@@ -1,6 +1,5 @@
{
    "dependencies": [
        "SUNWcs",
        "developer/vala",
        "editor/geany",
        "gnome/config/gconf",
@@ -17,7 +16,6 @@
        "library/python/pygobject-3-39",
        "library/security/gpgme",
        "library/spell-checking/enchant",
        "shell/ksh93",
        "system/library"
    ],
    "fmris": [