summaryrefslogtreecommitdiffstats
path: root/debian/patches/fix-system-libfixmath.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:07:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:07:31 +0000
commitedaebb65d92a48d7075c8c1f64c5ffd87054827b (patch)
tree045c941e1851cde1665bea22d97a2976b7a5bb69 /debian/patches/fix-system-libfixmath.diff
parentAdding upstream version 4:7.4.7. (diff)
downloadlibreoffice-edaebb65d92a48d7075c8c1f64c5ffd87054827b.tar.xz
libreoffice-edaebb65d92a48d7075c8c1f64c5ffd87054827b.zip
Adding debian version 4:7.4.7-1+deb12u1.debian/4%7.4.7-1+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/fix-system-libfixmath.diff29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/fix-system-libfixmath.diff b/debian/patches/fix-system-libfixmath.diff
new file mode 100644
index 000000000..ab771b535
--- /dev/null
+++ b/debian/patches/fix-system-libfixmath.diff
@@ -0,0 +1,29 @@
+diff --git a/config_host.mk.in b/config_host.mk.in
+index 9de974e472f9..1352749754e3 100644
+--- a/config_host.mk.in
++++ b/config_host.mk.in
+@@ -645,6 +645,7 @@ export SYSTEM_LIBATOMIC_OPS=@SYSTEM_LIBATOMIC_OPS@
+ export SYSTEM_LIBEOT=@SYSTEM_LIBEOT@
+ export SYSTEM_LIBEXTTEXTCAT=@SYSTEM_LIBEXTTEXTCAT@
+ export SYSTEM_LIBEXTTEXTCAT_DATA=@SYSTEM_LIBEXTTEXTCAT_DATA@
++export SYSTEM_LIBFIXMATH=@SYSTEM_LIBFIXMATH@
+ export SYSTEM_LIBLANGTAG=@SYSTEM_LIBLANGTAG@
+ export SYSTEM_LIBNUMBERTEXT=@SYSTEM_LIBNUMBERTEXT@
+ export SYSTEM_LIBNUMBERTEXT_DATA=@SYSTEM_LIBNUMBERTEXT_DATA@
+diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
+index 1d18d2325ad8..b40cb77cb34f 100644
+--- a/vcl/Library_vcl.mk
++++ b/vcl/Library_vcl.mk
+@@ -569,6 +569,12 @@ vcl_headless_freetype_code=\
+ vcl/unx/generic/printer/jobdata \
+ vcl/unx/generic/printer/ppdparser \
+
++ifeq ($(SYSTEM_LIBFIXMATH),TRUE)
++$(eval $(call gb_Library_add_libs,vcl,\
++ -llibfixmath \
++))
++endif
++
+ ifeq ($(USING_X11),TRUE)
+ $(eval $(call gb_Library_add_exception_objects,vcl,\
+ vcl/unx/generic/window/screensaverinhibitor \