libmms/libmms-nognetexport.patch
Philipp Thomas 79d9b66576 Accepting request 160728 from home:elvigia:branches:multimedia:libs
- libmms-nognetexport.patch: libmms 
  exports functions that belong to gnome's gnet
  library, that will of course cause symbol clashes.
  We cannot just link to the system's gnet because it uses
  and slightly older API, just hide the symbols instead.

OBS-URL: https://build.opensuse.org/request/show/160728
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmms?expand=0&rev=10
2013-03-26 11:56:45 +00:00

18 lines
315 B
Diff

--- src/uri.h.orig
+++ src/uri.h
@@ -27,6 +27,7 @@
extern "C" {
#endif /* __cplusplus */
+#pragma GCC visibility push(hidden)
/**
* GURI:
@@ -90,5 +91,5 @@ char* gnet_mms_helper(const GURI* ur
#ifdef __cplusplus
}
#endif /* __cplusplus */
-
+#pragma GCC visibility pop
#endif /* _GNET_URI_H */