uwimap: fix build using gcc14 and recompile for library/security/openssl-3
[oi-userland.git] / components / desktop / libreoffice / patches / 67-test-add-sun.patch
blob6d05095c07c27775b583b5f7e23629556ae1dc82
1 --- a/vcl/qa/cppunit/BitmapTest.cxx Fri May 6 16:49:44 2022
2 +++ b/vcl/qa/cppunit/BitmapTest.cxx Fri Oct 28 16:21:25 2022
3 @@ -313,7 +313,7 @@
4 if (SkiaHelper::isVCLSkiaEnabled()) // aligned to 4 bytes
5 CPPUNIT_ASSERT_EQUAL(sal_uInt32(32), pReadAccess->GetScanlineSize());
6 else
7 -#if defined LINUX || defined FREEBSD
8 +#if defined LINUX || defined FREEBSD || defined SUN
10 CPPUNIT_ASSERT_EQUAL(sal_uInt32(32), pReadAccess->GetScanlineSize());
12 --- a/svx/qa/unit/gallery/test_gallery.cxx Fri May 6 16:49:44 2022
13 +++ b/svx/qa/unit/gallery/test_gallery.cxx Fri Oct 28 16:23:25 2022
14 @@ -172,7 +172,7 @@
15 CPPUNIT_ASSERT_MESSAGE("Could not create theme", pGallery->CreateTheme(myThemeName));
16 CPPUNIT_ASSERT_MESSAGE("Could not find theme", pGallery->HasTheme(myThemeName));
18 -#if defined(LINUX)
19 +#if defined(LINUX) || defined(SUN)
20 CPPUNIT_ASSERT_MESSAGE("[LINUX] Could not find .thm in lowercase",
21 comphelper::DirectoryHelper::fileExists(
22 aGalleryURL + "/" + myThemeName.toAsciiLowerCase() + ".thm"));
23 --- a/sal/qa/osl/mutex/osl_Mutex.cxx Fri May 6 16:49:44 2022
24 +++ b/sal/qa/osl/mutex/osl_Mutex.cxx Fri Oct 28 16:24:42 2022
25 @@ -855,7 +855,7 @@
26 bRes1 );
29 -#ifdef LINUX
30 +#if defined(LINUX) || defined(SUN)
31 void reset_002( )
33 Mutex aMutex;
34 @@ -878,7 +878,7 @@
36 CPPUNIT_TEST_SUITE(reset);
37 CPPUNIT_TEST(reset_001);
38 -#ifdef LINUX
39 +#if defined(LINUX) || defined(SUN)
40 CPPUNIT_TEST(reset_002);
41 #endif
42 CPPUNIT_TEST_SUITE_END();
43 --- a/cppu/qa/cppumaker/test_cppumaker.cxx Fri May 6 16:49:44 2022
44 +++ b/cppu/qa/cppumaker/test_cppumaker.cxx Fri Oct 28 16:25:28 2022
45 @@ -445,7 +445,7 @@
47 //This is a very platform specific test.
48 #if defined __GNUC__ // see CPPU_GCC3_ALIGN
49 -#if defined(LINUX) && (defined (X86_64) || defined(X86) || defined(PPC))
50 +#if (defined(LINUX) || defined(SUN)) && (defined (X86_64) || defined(X86) || defined(PPC))
51 static_assert(
52 sizeof (test::codemaker::cppumaker::AlignmentDerivedStruct) ==
53 #if defined X86_64 || defined PPC