File: 06_doxygen.patch

package info (click to toggle)
gdcm 3.0.24-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,840 kB
  • sloc: cpp: 203,722; ansic: 76,471; xml: 48,131; python: 3,473; cs: 2,308; java: 1,629; lex: 1,290; sh: 334; php: 128; makefile: 97
file content (18 lines) | stat: -rw-r--r-- 817 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-12-04
Bug-Debian: https://bugs.debian.org/1114120
Description: Overlong enum table removed due to LaTeX memory constraints

--- a/Utilities/doxygen/CMakeLists.txt
+++ b/Utilities/doxygen/CMakeLists.txt
@@ -123,6 +123,10 @@ if(GDCM_DOCUMENTATION)
       # Command #2
       COMMAND  ${SED_EXECUTABLE}
       ARGS     -i.tmp -e "'s/${sed_gdcm_source_dir}/gdcm/g'" ${CMAKE_CURRENT_BINARY_DIR}/latex/*.tex
+      # Fix UIDs.tex memory issue
+      COMMAND  ${SED_EXECUTABLE}
+      ARGS     -i.tmp -e "'/\\\\begin{DoxyEnumFields/,/\\\\end{DoxyEnumFields/c\\\\% Enum table removed due to LaTeX memory constraints'" ${CMAKE_CURRENT_BINARY_DIR}/latex/classgdcm_1_1UIDs.tex
+
       # Command #3
       COMMAND  make
       ARGS -C ${CMAKE_CURRENT_BINARY_DIR}/latex