]> git.pld-linux.org Git - packages/mplayer.git/blob - mplayer-visibility-hidden-fix.patch
- up to 20171222
[packages/mplayer.git] / mplayer-visibility-hidden-fix.patch
1 --- mplayer/binary.ver~ 2014-04-29 17:29:35.000000000 +0200
2 +++ mplayer/binary.ver  2014-04-29 17:30:22.560066797 +0200
3 @@ -1,5 +1,7 @@
4  MPLAYER_1 {
5    # to support glibcs abhorrent backwards-compatibility hack
6    global: _IO_stdin_used;
7 +  # for vstream-client
8 +       vstream_error;
9    local: *;
10  };
11 --- mplayer-export-2015-03-01/configure.orig    2015-03-07 08:20:59.164474600 +0100
12 +++ mplayer-export-2015-03-01/configure 2015-03-16 20:50:10.356360513 +0100
13 @@ -7758,7 +7758,7 @@
14  void vstream_error(const char *format, ... ) {}
15  int main(void) { vstream_start(); return 0; }
16  EOF
17 -  cc_check -lvstream-client && _vstream=yes
18 +  cc_check -fvisibility=default -lvstream-client && _vstream=yes
19  fi
20  if test "$_vstream" = yes ; then
21    def_vstream='#define CONFIG_VSTREAM 1'
22 --- mplayer-export-2015-03-01/stream/stream_vstream.c.orig      2014-12-10 23:46:42.000000000 +0100
23 +++ mplayer-export-2015-03-01/stream/stream_vstream.c   2015-03-17 15:59:21.860133559 +0100
24 @@ -51,7 +51,7 @@
25  
26  #include <vstream-client.h>
27  
28 -void vstream_error(const char *format, ...) {
29 +void __attribute__((visibility("default"))) vstream_error(const char *format, ...) {
30      char buf[1024];
31      va_list va;
32      va_start(va, format);
This page took 0.073109 seconds and 3 git commands to generate.