[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - configure.ac sd/Library_sd.mk

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Thu Oct 31 06:53:54 UTC 2019


 configure.ac     |    4 ++++
 sd/Library_sd.mk |    5 ++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

New commits:
commit e93e0fb7ac8f14230434653e5d5f318707712667
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Jun 5 02:06:00 2019 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Thu Oct 31 07:53:15 2019 +0100

    The Bluetooth code doesn't compile with macOS SDK 10.15
    
    Change-Id: I8fffa4cef9628e6872c881cd0cbdfe85495fa324
    (cherry picked from commit 1e95c8dd006147f7a94e24135396277ee2f469b8)
    Reviewed-on: https://gerrit.libreoffice.org/81772
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>

diff --git a/configure.ac b/configure.ac
index b9fb4765932a..f04351f6cc41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10493,6 +10493,10 @@ if test -n "$enable_sdremote" -a "$enable_sdremote" != "no"; then
     ENABLE_SDREMOTE=TRUE
     AC_MSG_CHECKING([whether to enable Bluetooth support in Impress remote control])
 
+    if test $OS = MACOSX -a "$MAC_OS_X_VERSION_MAX_ALLOWED" -ge 101500; then
+        # The Bluetooth code doesn't compile with macOS SDK 10.15
+        enable_sdremote_bluetooth=no
+    fi
     # If not explicitly enabled or disabled, default
     if test -z "$enable_sdremote_bluetooth"; then
         case "$OS" in
diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk
index a38184c07673..85953e285575 100644
--- a/sd/Library_sd.mk
+++ b/sd/Library_sd.mk
@@ -517,6 +517,10 @@ $(eval $(call gb_Library_add_objcxxobjects,sd,\
 	sd/source/ui/remotecontrol/OSXNetworkService \
 ))
 
+$(eval $(call gb_Library_use_system_darwin_frameworks,sd,\
+	Foundation \
+))
+
 else # OS!=MACSOX
 
 ifeq ($(ENABLE_AVAHI),TRUE)
@@ -565,7 +569,6 @@ $(eval $(call gb_Library_add_libs,sd,\
 ))
 
 $(eval $(call gb_Library_use_system_darwin_frameworks,sd,\
-	Foundation \
 	IOBluetooth \
 ))
 


More information about the Libreoffice-commits mailing list