Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/mplayerplug-in/files: mplayerplug-in-3.55-glibc210.patch
Date: Sun, 31 May 2009 00:47:20
Message-Id: E1MAZCh-00046t-EP@stork.gentoo.org
1 dirtyepic 09/05/31 00:47:11
2
3 Added: mplayerplug-in-3.55-glibc210.patch
4 Log:
5 Add patch from en.ABCD fixing build with glibc 2.10. (bug #271843)
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 www-plugins/mplayerplug-in/files/mplayerplug-in-3.55-glibc210.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mplayerplug-in/files/mplayerplug-in-3.55-glibc210.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mplayerplug-in/files/mplayerplug-in-3.55-glibc210.patch?rev=1.1&content-type=text/plain
13
14 Index: mplayerplug-in-3.55-glibc210.patch
15 ===================================================================
16 https://bugs.gentoo.org/show_bug.cgi?id=271843
17
18 --- mplayerplug-in-3.55-orig/Source/plugin-list.cpp
19 +++ mplayerplug-in-3.55/Source/plugin-list.cpp
20 @@ -132,9 +132,9 @@ void insert_area(Node * parent, char *ta
21
22 void find_area_tags(const char *smilbuffer, Node * parent)
23 {
24 - char *startarea;
25 - char *endvideo;
26 - char *start;
27 + const char *startarea;
28 + const char *endvideo;
29 + const char *start;
30
31 int tagtime = 0;
32 char tagtarget[128];
33 --- mplayerplug-in-3.55-orig/Source/plugin-setup.h
34 +++ mplayerplug-in-3.55/Source/plugin-setup.h
35 @@ -174,7 +174,7 @@ char *getURLHostname(char *url);
36 char *getURLFilename(const char *url);
37 int isMms(char *url, int nomediacache);
38 void mmsToHttp(char *dest, char *src);
39 -int sendCommand(nsPluginInstance * instance, char *command);
40 +int sendCommand(nsPluginInstance * instance, const char *command);
41 int URLcmp(const char *url1, const char *url2);
42 extern void remove_quotes(char *url);
43 void killmplayer(nsPluginInstance * instance);
44 --- mplayerplug-in-3.55-orig/Source/plugin-support.cpp
45 +++ mplayerplug-in-3.55/Source/plugin-support.cpp
46 @@ -109,7 +109,7 @@ char *getURLFilename(const char *url)
47 {
48
49 char *filename;
50 - char *tmp;
51 + const char *tmp;
52 int len;
53
54 if (DEBUG > 1)
55 @@ -454,7 +454,7 @@ void remove_quotes(char *url)
56 // in cleanup routines (like destroyCB and shut), when we know that
57 // the player thread is not running, it is safe to call without locking
58
59 -int sendCommand(nsPluginInstance * instance, char *command)
60 +int sendCommand(nsPluginInstance * instance, const char *command)
61 {
62 int retval;
63 char buffer[1024];