Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 181018 Details for
Bug 257766
app-admin/gam-server-0.1.10 requires patch to build on IRIX
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix IRIX/MIPSpro build errors
gam_server-0.1.10.patch (text/plain), 1.17 KB, created by
Stuart Shelton
on 2009-02-05 10:49:58 UTC
(
hide
)
Description:
Fix IRIX/MIPSpro build errors
Filename:
MIME Type:
Creator:
Stuart Shelton
Created:
2009-02-05 10:49:58 UTC
Size:
1.17 KB
patch
obsolete
>--- ./server/gam_channel.c.dist 2009-02-05 10:17:12.212499400 +0000 >+++ ./server/gam_channel.c 2009-02-05 10:33:57.965238760 +0000 >@@ -825,6 +825,7 @@ gam_client_conn_write(GIOChannel * sourc > { > int written; > int remaining; >+ int tmp; > > /** > * Todo: check if write will block, or use non-blocking options >@@ -848,7 +849,8 @@ gam_client_conn_write(GIOChannel * sourc > return (FALSE); > } > >- data += written; >+ tmp = (int)data + written; >+ data = (gpointer)tmp; > remaining -= written; > } while (remaining > 0); > >--- ./server/gam_connection.c.dist 2009-02-05 10:37:26.300740920 +0000 >+++ ./server/gam_connection.c 2009-02-05 10:42:13.393285360 +0000 >@@ -451,6 +451,7 @@ int > gam_connection_data(GamConnDataPtr conn, int len) > { > GAMPacketPtr req; >+ GAMPacketPtr tmp; > > g_assert(conn); > g_assert(len >= 0); >@@ -521,7 +522,8 @@ gam_connection_data(GamConnDataPtr conn, > #if defined(__i386__) || defined(__x86_64__) > req = (void *) req + req->len; > #else >- memmove(&conn->request, (void *)req + req->len, conn->request_len); >+ tmp = req + req->len; >+ memmove(&conn->request, (void *) tmp, conn->request_len); > #endif > } >
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 257766
: 181018