[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - extensions/source

Tor Lillqvist tml at iki.fi
Tue Feb 19 02:09:40 PST 2013


 extensions/source/macosx/spotlight/main.m |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit f68b89cbfd76e43a701f8457a3a97c87be74758a
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon Feb 18 21:42:00 2013 +0200

    Make sure MetadataImporterPluginFactory has external linkage
    
    Otherwise, in a LO built with hidden visibility (as gcc terminology,
    not ELF, Mac OS X does not use ELF), Spotlight won't be able to use
    our importer.
    
    (cherry picked from commit 7c6b42851bc0a94f6aa8c3e28892d1ab4b297c25)
    
    Change-Id: Ie19082f9f14e4cc75ae6f7583031b929b7b75330
    Reviewed-on: https://gerrit.libreoffice.org/2247
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Reviewed-by: Michael Meeks <michael.meeks at suse.com>
    Tested-by: Michael Meeks <michael.meeks at suse.com>

diff --git a/extensions/source/macosx/spotlight/main.m b/extensions/source/macosx/spotlight/main.m
index 491adc1..3016a8a 100644
--- a/extensions/source/macosx/spotlight/main.m
+++ b/extensions/source/macosx/spotlight/main.m
@@ -212,6 +212,7 @@ ULONG MetadataImporterPluginRelease(void *thisInstance)
 // -----------------------------------------------------------------------------
 //    Implementation of the factory function for this type.
 //
+__attribute__ ((visibility("default")))
 void *
 MetadataImporterPluginFactory(CFAllocatorRef allocator, CFUUIDRef typeID)
 {


More information about the Libreoffice-commits mailing list