diff --git a/debian/changelog b/debian/changelog index 715fbfc957ac64a5b0ce19b12223f639f757b545..c23d407cb94494b18c5db88d1c77fc6c15439d0b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +sphinxcontrib-httpdomain (1.5.0-4) UNRELEASED; urgency=medium + + * Import commit 8243bb6ec1ea0f3c96e0ed6177e743963fdd908b from upstream. + The patch added in 1.5.0-1 had rendered the package unusable. + Closes: #958064. + + -- Martina Ferrari Sat, 18 Apr 2020 00:06:14 +0000 + sphinxcontrib-httpdomain (1.5.0-3) unstable; urgency=medium [ Ondřej Nový ] diff --git a/debian/patches/Add_missing_call_to_add_domain.patch b/debian/patches/Add_missing_call_to_add_domain.patch new file mode 100644 index 0000000000000000000000000000000000000000..0359257c5fcb77bf870c7f9f1424e4c98d228e21 --- /dev/null +++ b/debian/patches/Add_missing_call_to_add_domain.patch @@ -0,0 +1,25 @@ +From 8243bb6ec1ea0f3c96e0ed6177e743963fdd908b Mon Sep 17 00:00:00 2001 +From: Dave Shawley +Date: Tue, 27 Jun 2017 08:01:21 -0400 +Subject: [PATCH] httpdomain: Add missing call to add_domain. + +--- + sphinxcontrib/httpdomain.py | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/sphinxcontrib/httpdomain.py b/sphinxcontrib/httpdomain.py +index 9812671..6a25e2e 100644 +--- a/sphinxcontrib/httpdomain.py ++++ b/sphinxcontrib/httpdomain.py +@@ -763,6 +763,8 @@ def setup(app): + if HTTPDomain.name in app.domains: + return + ++ app.add_domain(HTTPDomain) ++ + try: + get_lexer_by_name('http') + except ClassNotFound: +-- +2.26.1 + diff --git a/debian/patches/series b/debian/patches/series index dc9b16ab8d9e517bce6e51d0cd8ffd67f918119f..df153ffe0472aaabcad7b604c1452ae719de2e76 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ Update_http_domain_detection_to_work_with_new_Sphinx.patch +Add_missing_call_to_add_domain.patch