From 0e05dd0e4d67d88ca51780dafe4029744269e6fa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 07:55:35 +0200 Subject: Adding debian version 4:24.2.0-1. Signed-off-by: Daniel Baumann --- debian/patches/we-dont-have-the-needed-fonts.diff | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 debian/patches/we-dont-have-the-needed-fonts.diff (limited to 'debian/patches/we-dont-have-the-needed-fonts.diff') diff --git a/debian/patches/we-dont-have-the-needed-fonts.diff b/debian/patches/we-dont-have-the-needed-fonts.diff new file mode 100644 index 0000000000..0c70297a87 --- /dev/null +++ b/debian/patches/we-dont-have-the-needed-fonts.diff @@ -0,0 +1,30 @@ +diff --git a/sw/qa/core/text/text.cxx b/sw/qa/core/text/text.cxx +index a4d4540ab228..46d262f6f0b8 100644 +--- a/sw/qa/core/text/text.cxx ++++ b/sw/qa/core/text/text.cxx +@@ -9,6 +9,8 @@ + + #include + ++#include ++ + #include + + #include +@@ -1363,6 +1365,8 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testParaUpperMarginFlyIntersect) + CPPUNIT_ASSERT_EQUAL(521, nHeight); + } + ++/* needs Source Han Serif SC*/ ++#if HAVE_MORE_FONTS + CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testTdf129810) + { + // Load the document. +@@ -1394,6 +1398,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testTdf129810) + } + } + } ++#endif + + CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testScriptinfosurrogatePairs) + { -- cgit v1.2.3