summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/gtk-doc-mkhtml-test-fix.patch
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2025-09-30 16:54:14 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2025-09-30 16:54:14 +0900
commit3dfd671fb70c22c537f9f8cc7ebdc29c2e206661 (patch)
tree5df82c0c77ce45fb414227a95652aed136f07734 /gnu/packages/patches/gtk-doc-mkhtml-test-fix.patch
parentc5348a51cbb55c75e64a972bf55a33f982fb6e90 (diff)
parent83305987401f215100847ad16a51716b8bcc7d7c (diff)
Merge branch 'mesa-updates'
* mesa-updates: (173 commits) tests/pack: Fix rpm tests. gnu: rpm: Restore localstatedir to /var. tests/builders: Avoid races in unpack tests. gnu: friction: Build with ffmpeg-6. gnu: php: Disable the bug65148 and bug46347 flaky tests. gnu: php: Add autoconf to native inputs. gnu: gnome-planner: Some follow-ups. gnu: gnome-planner: Update to 0.14.92. gnu: Remove scrollkeeper dependencies. Revert "gnu: msamr: Update to (git-version 1.1.4 revision commit)." gnu: php: Update to 8.3.26. gnu: php: Run tests in parallel. gnu: php: Improve style. gnu: ungoogled-chromium: Fix build with libxml2@2.14. gnu: kodi: Build with ffmpeg@6. gnu: emacs-next-minimal: Fix test. gnu: vlc: Build with ffmpeg@6. gnu: qtwebengine: Fix build. gnu: python-html5-parser: Fix build. gnu: gnucash: Update to 5.13. ... Change-Id: I61bcbe2de06cb030113c9c51bb7d2aa7d3b187e9
Diffstat (limited to 'gnu/packages/patches/gtk-doc-mkhtml-test-fix.patch')
-rw-r--r--gnu/packages/patches/gtk-doc-mkhtml-test-fix.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/patches/gtk-doc-mkhtml-test-fix.patch b/gnu/packages/patches/gtk-doc-mkhtml-test-fix.patch
new file mode 100644
index 0000000000..b6adbbba8e
--- /dev/null
+++ b/gnu/packages/patches/gtk-doc-mkhtml-test-fix.patch
@@ -0,0 +1,33 @@
+From 951743698610eaaa0cc9030f7d7d02437419ac24 Mon Sep 17 00:00:00 2001
+From: Neil Hanlon <neil@shrug.pw>
+Date: Fri, 9 Feb 2024 15:32:38 -0500
+Subject: [PATCH] Add gobject example source code to path for mkhtml test
+
+Fixes #150
+
+I'm not really sure why this is required, but I suspect it has to do
+with changes in how GCC handles path traversal due to recent (ish)
+security issues, as the code here is evaluated to
+`../xml/../../examples/gobject.c` which probably looks unhealthy to
+automatically include.
+
+Signed-off-by: Neil Hanlon <neil@shrug.pw>
+---
+ tests/gobject/docs/meson.build | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tests/gobject/docs/meson.build b/tests/gobject/docs/meson.build
+index a1dd66ca..236a1cc0 100644
+--- a/tests/gobject/docs/meson.build
++++ b/tests/gobject/docs/meson.build
+@@ -119,6 +119,7 @@ test(
+ '--path=@0@'.format(':'.join([
+ gobject_test_docs_dir,
+ srcdir,
++ join_paths(srcdir, 'tests/gobject/examples'),
+ ])
+ ),
+ ],
+--
+GitLab
+