1 |
flameeyes 09/06/02 12:53:35 |
2 |
|
3 |
Added: ezbounce-1.99.14+glibc-2.10.patch |
4 |
ezbounce-1.99.14-asneeded.patch |
5 |
Log: |
6 |
Add --as-needed patch by Kevin Pyle (bug #248017); fix building with glibc 2.10. |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-irc/ezbounce/files/ezbounce-1.99.14+glibc-2.10.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/ezbounce/files/ezbounce-1.99.14+glibc-2.10.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/ezbounce/files/ezbounce-1.99.14+glibc-2.10.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: ezbounce-1.99.14+glibc-2.10.patch |
16 |
=================================================================== |
17 |
Index: ezbounce-1.99.14/src/irc/server_info.cc |
18 |
=================================================================== |
19 |
--- ezbounce-1.99.14.orig/src/irc/server_info.cc |
20 |
+++ ezbounce-1.99.14/src/irc/server_info.cc |
21 |
@@ -131,7 +131,7 @@ int server_info::parse_numeric(const tex |
22 |
/* static */ int server_info::get_005_token(const char * text, |
23 |
const char * token, char * buf, int bufflen) |
24 |
{ |
25 |
- char * tok = strstr(text, token); |
26 |
+ const char * tok = strstr(text, token); |
27 |
int c = 0; |
28 |
if (!tok) { |
29 |
return 0; |
30 |
Index: ezbounce-1.99.14/src/util/tokenizer.cc |
31 |
=================================================================== |
32 |
--- ezbounce-1.99.14.orig/src/util/tokenizer.cc |
33 |
+++ ezbounce-1.99.14/src/util/tokenizer.cc |
34 |
@@ -45,7 +45,7 @@ char * modifying_tokenizer::next() |
35 |
{ |
36 |
int state = 0; |
37 |
char * p; |
38 |
- char * d; |
39 |
+ const char * d; |
40 |
|
41 |
if (end) { |
42 |
if (end_char == 0) |
43 |
|
44 |
|
45 |
|
46 |
1.1 net-irc/ezbounce/files/ezbounce-1.99.14-asneeded.patch |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/ezbounce/files/ezbounce-1.99.14-asneeded.patch?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/ezbounce/files/ezbounce-1.99.14-asneeded.patch?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: ezbounce-1.99.14-asneeded.patch |
52 |
=================================================================== |
53 |
diff -ur a/Makefile.in b/Makefile.in |
54 |
--- a/Makefile.in 2008-04-09 23:12:05.000000000 -0500 |
55 |
+++ b/Makefile.in 2009-01-25 16:25:43.000000000 -0600 |
56 |
@@ -91,7 +91,7 @@ |
57 |
|
58 |
$(EXE): $(OBJECTS) |
59 |
@echo " [LINK] " $@ " (options: $(CXX_LINKER_FLAGS) $(CXX_LIBS))" |
60 |
- @$(CXX_LINKER) -o $@ $(CXX_LINKER_FLAGS) $(CXX_LIBS) $(CXX_OPTIMIZATIONS) $(OBJECTS) |
61 |
+ @$(CXX_LINKER) -o $@ $(CXX_LINKER_FLAGS) $(CXX_OPTIMIZATIONS) $(OBJECTS) $(CXX_LIBS) |
62 |
|
63 |
$(SYMLINK): $(EXE) |
64 |
@ln -sf $(EXE) $(SYMLINK) |