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
This commit is contained in:
Philipp Thomas 2013-03-26 11:56:45 +00:00 committed by Git OBS Bridge
parent f9005cf00e
commit 79d9b66576
3 changed files with 29 additions and 1 deletions

17
libmms-nognetexport.patch Normal file
View File

@ -0,0 +1,17 @@
--- 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 */

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Mar 24 04:43:36 UTC 2013 - crrodriguez@opensuse.org
- 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.
-------------------------------------------------------------------
Thu Nov 22 18:40:37 UTC 2012 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package libmms
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -38,6 +38,7 @@ Source3: baselibs.conf
BuildRequires: pkg-config
BuildRequires: pkgconfig(glib-2.0)
Patch0: libmms-pkgconfig.patch
Patch1: libmms-nognetexport.patch
%description
LibMMS is a common library for parsing mms:// and mmsh:// type network streams.
@ -67,6 +68,7 @@ Headers and libraries to program against %{name}
%prep
%setup -q
%patch0
%patch1
%build
%configure --disable-static