aports/community/vigra/regex.patch
Sertonix 71385008f4 community/vigra: upgrade to 1.12.1
Also causes the C docs to not be included twice anymore
2025-02-27 19:02:13 +00:00

39 lines
1.2 KiB
Diff

Patch-Source: https://github.com/ukoethe/vigra/pull/594
From 5c2c21f7075836cdab84457632480a1cfabcec0f Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
Date: Wed, 4 Dec 2024 23:36:44 +0200
Subject: [PATCH] Move away from inline global regex flag
Fixes: https://github.com/ukoethe/vigra/issues/529
Signed-off-by: Alfred Wingate <parona@protonmail.com>
---
docsrc/post.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docsrc/post.py b/docsrc/post.py
index 7aaf22214..0e77811c0 100644
--- a/docsrc/post.py
+++ b/docsrc/post.py
@@ -85,18 +85,18 @@
</div>
<div class="header">)
<div class="summary">
-(?s).*?</div>''')
+(?s:.)*?</div>''')
# tested with doxygen 1.8.2
headingSummary2 = re.compile(r'''(<!-- Generated by Doxygen .+ -->
</div><!-- top -->
<div class="header">)
<div class="summary">
-(?s).*?</div>''')
+(?s:.)*?</div>''')
# tested with doxygen 1.7.5.1
headingNavpath = re.compile(r'''(<!-- Generated by Doxygen .+ -->)
- <div id="nav-path" class="navpath">(?s).*?</div>''')
+ <div id="nav-path" class="navpath">(?s:.)*?</div>''')
# tested with doxygen 1.8.2
headingNavpath2 = re.compile(r'''(<!-- Generated by Doxygen .+ -->)