libreoffice/use-fixmath-shared-library.patch
Martin Schreiner f606878396 Accepting request 1189287 from home:bmwiedemann:branches:LibreOffice:Factory
Add reproducible-clucene.patch to use new clucene function
  to make index files reproducible (boo#boo#1047218)
- Normalize .jar and .zip mtimes with strip-nondeterminism

OBS-URL: https://build.opensuse.org/request/show/1189287
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=1179
2024-07-24 21:29:33 +00:00

40 lines
1.4 KiB
Diff

Index: libreoffice-7.5.0.2/configure.ac
===================================================================
--- libreoffice-7.5.0.2.orig/configure.ac
+++ libreoffice-7.5.0.2/configure.ac
@@ -10559,7 +10559,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])
Index: libreoffice-7.5.0.2/tools/Library_tl.mk
===================================================================
--- libreoffice-7.5.0.2.orig/tools/Library_tl.mk
+++ libreoffice-7.5.0.2/tools/Library_tl.mk
@@ -115,7 +115,7 @@ endif
ifeq ($(SYSTEM_LIBFIXMATH),TRUE)
$(eval $(call gb_Library_add_libs,tl,\
- -llibfixmath \
+ -lfixmath \
))
endif
Index: libreoffice-7.5.0.2/vcl/Library_vcl.mk
===================================================================
--- libreoffice-7.5.0.2.orig/vcl/Library_vcl.mk
+++ libreoffice-7.5.0.2/vcl/Library_vcl.mk
@@ -572,7 +572,7 @@ vcl_headless_freetype_code=\
ifeq ($(SYSTEM_LIBFIXMATH),TRUE)
$(eval $(call gb_Library_add_libs,vcl,\
- -llibfixmath \
+ -lfixmath \
))
endif