summarylogtreecommitdiffstats
path: root/0004-Sphinx-7.2.2-8.0-PosixPath.patch
blob: cacf8ccced2488ae6dd6397a7777a3cdfa93a83f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ru a/Documentation/sphinx/kfigure.py b/Documentation/sphinx/kfigure.py
--- a/Documentation/sphinx/kfigure.py	2023-08-16 12:21:03.000000000 -0400
+++ b/Documentation/sphinx/kfigure.py	2023-08-22 10:54:07.629742553 -0400
@@ -266,7 +266,7 @@
     if dst_fname:
         # the builder needs not to copy one more time, so pop it if exists.
         translator.builder.images.pop(img_node['uri'], None)
-        _name = dst_fname[len(translator.builder.outdir) + 1:]
+        _name = dst_fname[len(str(translator.builder.outdir)) + 1:]
 
         if isNewer(dst_fname, src_fname):
             kernellog.verbose(app,