diff -pruN 31.4.3-4/debian/changelog 31.4.3-4ubuntu1/debian/changelog
--- 31.4.3-4/debian/changelog	2021-08-29 16:48:38.000000000 +0000
+++ 31.4.3-4ubuntu1/debian/changelog	2022-05-17 16:10:07.000000000 +0000
@@ -1,3 +1,10 @@
+golang-gopkg-libgit2-git2go.v31 (31.4.3-4ubuntu1) kinetic; urgency=medium
+
+  * debian/patches/libgit-1.3-compat.patch: raise the upper bound for
+    libgit compat.  Closes: #1010505.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Tue, 17 May 2022 16:10:07 +0000
+
 golang-gopkg-libgit2-git2go.v31 (31.4.3-4) unstable; urgency=medium
 
   * Reupload to unstable
diff -pruN 31.4.3-4/debian/control 31.4.3-4ubuntu1/debian/control
--- 31.4.3-4/debian/control	2021-08-29 16:48:38.000000000 +0000
+++ 31.4.3-4ubuntu1/debian/control	2022-05-17 16:10:07.000000000 +0000
@@ -1,5 +1,6 @@
 Source: golang-gopkg-libgit2-git2go.v31
-Maintainer: pkg-go <pkg-go-maintainers@lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: pkg-go <pkg-go-maintainers@lists.alioth.debian.org>
 Uploaders: Maximiliano Curia <maxy@debian.org>,
            Michael Stapelberg <stapelberg@debian.org>,
            Pirate Praveen <praveen@debian.org>,
diff -pruN 31.4.3-4/debian/patches/libgit-1.3-compat.patch 31.4.3-4ubuntu1/debian/patches/libgit-1.3-compat.patch
--- 31.4.3-4/debian/patches/libgit-1.3-compat.patch	1970-01-01 00:00:00.000000000 +0000
+++ 31.4.3-4ubuntu1/debian/patches/libgit-1.3-compat.patch	2022-05-17 16:09:59.000000000 +0000
@@ -0,0 +1,21 @@
+Description: raise the upper bound for libgit compat
+ Generally best not to put upper version constraints in source code, we don't
+ know the future.
+Author: Steve Langasek <steve.langasek@ubuntu.com>
+Bug-Debian: https://bugs.debian.org/1010505
+Last-Update: 2022-05-17
+Forwarded: no
+
+Index: golang-gopkg-libgit2-git2go.v31-31.4.3/git_system_dynamic.go
+===================================================================
+--- golang-gopkg-libgit2-git2go.v31-31.4.3.orig/git_system_dynamic.go
++++ golang-gopkg-libgit2-git2go.v31-31.4.3/git_system_dynamic.go
+@@ -7,7 +7,7 @@
+ #cgo CFLAGS: -DLIBGIT2_DYNAMIC
+ #include <git2.h>
+ 
+-#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 1 || LIBGIT2_VER_MINOR > 1
++#if LIBGIT2_VER_MAJOR != 1 || LIBGIT2_VER_MINOR < 1 || LIBGIT2_VER_MINOR > 3
+ # error "Invalid libgit2 version; this git2go supports libgit2 between v1.1.0 and v1.1.0"
+ #endif
+ */
diff -pruN 31.4.3-4/debian/patches/series 31.4.3-4ubuntu1/debian/patches/series
--- 31.4.3-4/debian/patches/series	2021-08-29 16:48:38.000000000 +0000
+++ 31.4.3-4ubuntu1/debian/patches/series	2022-05-17 16:08:10.000000000 +0000
@@ -1 +1,2 @@
 Skip-remote-tests.patch
+libgit-1.3-compat.patch
