SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
devel/libgit2/py-git2/patches/patch-pygit2_decl_diff_h
Normal file
16
devel/libgit2/py-git2/patches/patch-pygit2_decl_diff_h
Normal file
|
@ -0,0 +1,16 @@
|
|||
From 1473e8eb6eb59dc7521dcd5f8a4c9390e9b53223 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= <jdavid.ibp@gmail.com>
|
||||
Date: Mon, 17 Jul 2023 22:23:30 +0200
|
||||
Subject: [PATCH] Upgrade to libgit2 v1.7.0
|
||||
|
||||
Index: pygit2/decl/diff.h
|
||||
--- pygit2/decl/diff.h.orig
|
||||
+++ pygit2/decl/diff.h
|
||||
@@ -54,6 +54,7 @@ typedef struct {
|
||||
void *payload;
|
||||
uint32_t context_lines;
|
||||
uint32_t interhunk_lines;
|
||||
+ git_oid_t oid_type;
|
||||
uint16_t id_abbrev;
|
||||
git_off_t max_size;
|
||||
const char *old_prefix;
|
16
devel/libgit2/py-git2/patches/patch-pygit2_decl_oid_h
Normal file
16
devel/libgit2/py-git2/patches/patch-pygit2_decl_oid_h
Normal file
|
@ -0,0 +1,16 @@
|
|||
From 1473e8eb6eb59dc7521dcd5f8a4c9390e9b53223 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= <jdavid.ibp@gmail.com>
|
||||
Date: Mon, 17 Jul 2023 22:23:30 +0200
|
||||
Subject: [PATCH] Upgrade to libgit2 v1.7.0
|
||||
|
||||
Index: pygit2/decl/oid.h
|
||||
--- pygit2/decl/oid.h.orig
|
||||
+++ pygit2/decl/oid.h
|
||||
@@ -1,3 +1,7 @@
|
||||
+typedef enum {
|
||||
+ GIT_OID_SHA1 = 1, /**< SHA1 */
|
||||
+} git_oid_t;
|
||||
+
|
||||
typedef struct git_oid {
|
||||
unsigned char id[20];
|
||||
} git_oid;
|
16
devel/libgit2/py-git2/patches/patch-pygit2_decl_remote_h
Normal file
16
devel/libgit2/py-git2/patches/patch-pygit2_decl_remote_h
Normal file
|
@ -0,0 +1,16 @@
|
|||
From 1473e8eb6eb59dc7521dcd5f8a4c9390e9b53223 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= <jdavid.ibp@gmail.com>
|
||||
Date: Mon, 17 Jul 2023 22:23:30 +0200
|
||||
Subject: [PATCH] Upgrade to libgit2 v1.7.0
|
||||
|
||||
Index: pygit2/decl/remote.h
|
||||
--- pygit2/decl/remote.h.orig
|
||||
+++ pygit2/decl/remote.h
|
||||
@@ -83,6 +83,7 @@ typedef struct {
|
||||
int update_fetchhead;
|
||||
git_remote_autotag_option_t download_tags;
|
||||
git_proxy_options proxy_opts;
|
||||
+ int depth;
|
||||
git_remote_redirect_t follow_redirects;
|
||||
git_strarray custom_headers;
|
||||
} git_fetch_options;
|
19
devel/libgit2/py-git2/patches/patch-src_types_h
Normal file
19
devel/libgit2/py-git2/patches/patch-src_types_h
Normal file
|
@ -0,0 +1,19 @@
|
|||
From 1473e8eb6eb59dc7521dcd5f8a4c9390e9b53223 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= <jdavid.ibp@gmail.com>
|
||||
Date: Mon, 17 Jul 2023 22:23:30 +0200
|
||||
Subject: [PATCH] Upgrade to libgit2 v1.7.0
|
||||
|
||||
Index: src/types.h
|
||||
--- src/types.h.orig
|
||||
+++ src/types.h
|
||||
@@ -32,8 +32,8 @@
|
||||
#include <Python.h>
|
||||
#include <git2.h>
|
||||
|
||||
-#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 6)
|
||||
-#error You need a compatible libgit2 version (1.6.x)
|
||||
+#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 7)
|
||||
+#error You need a compatible libgit2 version (1.7.x)
|
||||
#endif
|
||||
|
||||
/*
|
Loading…
Add table
Add a link
Reference in a new issue