diff --git a/libreoffice.changes b/libreoffice.changes index 036c9b8..06b12a8 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 13 17:25:49 UTC 2022 - Danilo Spinella + +- Use fixmath shared library + * use-fixmath-shared-library.patch + ------------------------------------------------------------------- Wed Nov 23 15:44:20 UTC 2022 - Danilo Spinella diff --git a/libreoffice.spec b/libreoffice.spec index 1f9ea0d..c401bf9 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -111,6 +111,8 @@ Patch11: fix_webp_on_sle12_sp5.patch Patch12: fix_harfbuzz_on_sle12_sp5.patch # PATCH-FIX-UPSTREAM remove egrep/fgrep calls Patch13: libreoffice-7.4.1.2-grep.patch +# PATCH-FIX-SUSE use fixmath shared library +Patch14: use-fixmath-shared-library.patch # Build with java 8 Patch101: 0001-Revert-java-9-changes.patch # try to save space by using hardlinks @@ -1034,6 +1036,7 @@ Provides %{langname} translations and additional resources (help files, etc.) fo %patch101 -p1 %endif %patch13 -p1 +%patch14 -p1 %patch990 -p1 %patch991 -p1 diff --git a/use-fixmath-shared-library.patch b/use-fixmath-shared-library.patch new file mode 100644 index 0000000..0e10a2e --- /dev/null +++ b/use-fixmath-shared-library.patch @@ -0,0 +1,13 @@ +Index: libreoffice-7.4.3.2/configure.ac +=================================================================== +--- libreoffice-7.4.3.2.orig/configure.ac ++++ libreoffice-7.4.3.2/configure.ac +@@ -10594,7 +10594,7 @@ if test "$with_system_libfixmath" = "yes + AC_LANG_PUSH([C++]) + AC_CHECK_HEADER([libfixmath/fix16.hpp], [], + [AC_MSG_ERROR([libfixmath/fix16.hpp not found. install libfixmath])], []) +- AC_CHECK_LIB([libfixmath], [fix16_mul], [:], [AC_MSG_ERROR(libfixmath lib not found or functional)], []) ++ AC_SEARCH_LIBS([fix16_mul], [fixmath libfixmath], [:], [AC_MSG_ERROR(libfixmath lib not found or functional)], []) + AC_LANG_POP([C++]) + else + AC_MSG_RESULT([internal])