Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 199867 Details for
Bug 270449
gnome-extra/gnome-games-2.24.3 fails to compile with glibc 2.10 due to getline clash
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix glibc-2.10 getline conflict
glibc-2.10.patch (text/plain), 1.28 KB, created by
saellaven
on 2009-08-01 23:58:52 UTC
(
hide
)
Description:
fix glibc-2.10 getline conflict
Filename:
MIME Type:
Creator:
saellaven
Created:
2009-08-01 23:58:52 UTC
Size:
1.28 KB
patch
obsolete
>--- gnome-games-2.24.3.ORIG/dependencies/gnuchess/input.c 2009-01-12 18:47:54.000000000 -0500 >+++ gnome-games-2.24.3/dependencies/gnuchess/input.c 2009-08-01 19:49:01.619421368 -0400 >@@ -127,7 +127,7 @@ > (RealGameCnt+1)/2 + 1 ); > } > pthread_mutex_lock(&input_mutex); >- getline(prompt); >+ getline_gnome(prompt); > input_status = INPUT_AVAILABLE; > pthread_cond_signal(&input_cond); > pthread_mutex_unlock(&input_mutex); >@@ -173,13 +173,13 @@ > { > #ifdef HAVE_LIBREADLINE > if (isatty(STDIN_FILENO)) { >- getline = getline_readline; >+ getline_gnome = getline_readline; > using_history(); > } else { >- getline = getline_standard; >+ getline_gnome = getline_standard; > } > #else >- getline = getline_standard; >+ getline_gnome = getline_standard; > #endif > /* Start input thread */ > pthread_create(&input_thread, NULL, input_func, NULL); > > >--- gnome-games-2.24.3.ORIG/dependencies/gnuchess/common.h 2008-08-08 11:27:51.000000000 -0400 >+++ gnome-games-2.24.3/dependencies/gnuchess/common.h 2009-08-01 19:48:20.296484938 -0400 >@@ -744,7 +744,7 @@ > * Input routine, initialized to one of the specific > * input routines. The given argument is the prompt. > */ >-void (*getline) (char *); >+void (*getline_gnome) (char *); > > #define MAXSTR 128 > extern char inputstr[MAXSTR];
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270449
: 199867