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

New commits:
commit f68b89cbfd76e43a701f8457a3a97c87be74758a
Author: Tor Lillqvist <[email protected]>
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 <[email protected]>
    Reviewed-by: Michael Meeks <[email protected]>
    Tested-by: Michael Meeks <[email protected]>

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)
 {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to