summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0001-Make-fetch-ocsp-response-use-python3.patch18
-rw-r--r--debian/patches/0002-Workaround-for-963648.patch22
-rw-r--r--debian/patches/series2
3 files changed, 42 insertions, 0 deletions
diff --git a/debian/patches/0001-Make-fetch-ocsp-response-use-python3.patch b/debian/patches/0001-Make-fetch-ocsp-response-use-python3.patch
new file mode 100644
index 0000000..319ed21
--- /dev/null
+++ b/debian/patches/0001-Make-fetch-ocsp-response-use-python3.patch
@@ -0,0 +1,18 @@
+From: Tomasz Buchert <tomasz@debian.org>
+Date: Tue, 2 Jan 2018 11:09:26 +0100
+Subject: Make fetch-ocsp-response use python3
+
+---
+ script/fetch-ocsp-response | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/script/fetch-ocsp-response b/script/fetch-ocsp-response
+index 0ff7461..185116b 100755
+--- a/script/fetch-ocsp-response
++++ b/script/fetch-ocsp-response
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # -*- coding: utf-8 -*-
+
+ # nghttp2 - HTTP/2 C Library
diff --git a/debian/patches/0002-Workaround-for-963648.patch b/debian/patches/0002-Workaround-for-963648.patch
new file mode 100644
index 0000000..7837346
--- /dev/null
+++ b/debian/patches/0002-Workaround-for-963648.patch
@@ -0,0 +1,22 @@
+From: Tomasz Buchert <tomasz@debian.org>
+Date: Sun, 16 Aug 2020 12:56:51 +0200
+Subject: Workaround for #963648.
+
+---
+ doc/_exts/rubydomain/rubydomain.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/doc/_exts/rubydomain/rubydomain.py b/doc/_exts/rubydomain/rubydomain.py
+index db35233..105467b 100644
+--- a/doc/_exts/rubydomain/rubydomain.py
++++ b/doc/_exts/rubydomain/rubydomain.py
+@@ -24,6 +24,9 @@ from sphinx.directives import ObjectDescription
+ from sphinx.util.nodes import make_refnode
+ from sphinx.util.docfields import Field, GroupedField, TypedField
+
++# NOTE(#963648): Fix for sphinx >= 3.
++l_ = _
++
+ # REs for Ruby signatures
+ rb_sig_re = re.compile(
+ r'''^ ([\w.]*\.)? # class name(s)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8670f6c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Make-fetch-ocsp-response-use-python3.patch
+0002-Workaround-for-963648.patch