summaryrefslogtreecommitdiff
path: root/app-doc/doxygen/files/doxygen-1.9.2-xml-static.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-doc/doxygen/files/doxygen-1.9.2-xml-static.patch')
-rw-r--r--app-doc/doxygen/files/doxygen-1.9.2-xml-static.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-doc/doxygen/files/doxygen-1.9.2-xml-static.patch b/app-doc/doxygen/files/doxygen-1.9.2-xml-static.patch
new file mode 100644
index 000000000000..a106d6eb5a93
--- /dev/null
+++ b/app-doc/doxygen/files/doxygen-1.9.2-xml-static.patch
@@ -0,0 +1,29 @@
+https://github.com/doxygen/doxygen/pull/8862
+https://github.com/doxygen/doxygen/issues/8855
+
+[sam: deleted msc hunk b/c we had it in a patch of our
+own.]
+
+From 5c3a4ad2773fc911b341b36b00528603afbe1602 Mon Sep 17 00:00:00 2001
+From: albert-github <albert.tests@gmail.com>
+Date: Wed, 27 Oct 2021 16:41:28 +0200
+Subject: [PATCH] issue #8855 Unable to build 1.9.2
+
+All other libraries have been declared STATIC so better to declare the cmls and mscgen libraries also STATIC.
+---
+ libxml/CMakeLists.txt | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libxml/CMakeLists.txt b/libxml/CMakeLists.txt
+index 96c56534f9..596ed90887 100644
+--- a/libxml/CMakeLists.txt
++++ b/libxml/CMakeLists.txt
+@@ -11,7 +11,7 @@ set_source_files_properties(${GENERATED_SRC}/xml.l.h PROPERTIES GENERATED 1)
+
+ FLEX_TARGET(xml xml.l ${GENERATED_SRC}/xml.cpp COMPILE_FLAGS "${LEX_FLAGS}")
+
+-add_library(xml
++add_library(xml STATIC
+ ${GENERATED_SRC}/xml.cpp
+ ${GENERATED_SRC}/xml.l.h
+ )