[flac-dev] 1.3.0: Symbol visibility breaks XMMS plugin

Christian Weisgerber naddy at mips.inka.de
Thu May 30 12:34:13 PDT 2013


FLAC now defaults to building with -fvisibility=hidden on GCC4-ELF
platforms.  This breaks the XMMS plugin.  At least get_iplugin_info()
needs to be externally visible.

--- src/plugin_xmms/plugin.c.orig	Sun May 26 05:30:33 2013
+++ src/plugin_xmms/plugin.c	Thu May 30 15:23:20 2013
@@ -140,7 +140,7 @@ static FLAC__bool is_big_endian_host_;
 static unsigned bitrate_history_[BITRATE_HIST_SIZE];
 
 
-InputPlugin *get_iplugin_info(void)
+FLAC_API InputPlugin *get_iplugin_info(void)
 {
 	flac_ip.description = g_strdup_printf("Reference FLAC Player v%s", FLAC__VERSION_STRING);
 	return &flac_ip;
-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de


More information about the flac-dev mailing list