From 7f6b350c0ad296bd48ca68510a714e9a2b9363e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 30 Aug 2021 08:53:14 +0700 Subject: [PATCH] kea: patch for Sphinx 4.x add_stylesheet was renamed to add_css_file from Sphinx 1.8. --- srcpkgs/kea/patches/sphinx-4.0.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 srcpkgs/kea/patches/sphinx-4.0.patch diff --git a/srcpkgs/kea/patches/sphinx-4.0.patch b/srcpkgs/kea/patches/sphinx-4.0.patch new file mode 100644 index 00000000000..ffe68522a57 --- /dev/null +++ b/srcpkgs/kea/patches/sphinx-4.0.patch @@ -0,0 +1,13 @@ + add_stylesheet was renamed to add_css_file from Sphinx 1.8 +Index: kea-1.9.5/doc/sphinx/conf.py +=================================================================== +--- kea-1.9.5.orig/doc/sphinx/conf.py ++++ kea-1.9.5/doc/sphinx/conf.py +@@ -228,6 +228,6 @@ def run_generate_docs(_): + + # custom setup hook + def setup(app): +- app.add_stylesheet('kea.css') ++ app.add_css_file('kea.css') + + app.connect('builder-inited', run_generate_docs)