gentoo-ebuilds/media-libs/vigra/files/vigra-1.12.1-python311.patch
Alfred Wingate 41afa10470
media-libs/vigra: add 1.12.1
* Fix build with clang19
* Re-enable tests (and set -ffp-contract=off).
* Enable python3.13.
* Remove old quirks.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2024-12-11 01:53:16 +00:00

37 lines
1.1 KiB
Diff

https://github.com/ukoethe/vigra/issues/529
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>
--- a/docsrc/post.py
+++ b/docsrc/post.py
@@ -85,18 +85,18 @@ headingSummary = re.compile(r'''(<!-- Generated by Doxygen .+ -->
</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 .+ -->)
--
2.47.1