Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 181919 Details for
Bug 246131
net-misc/kiax fails to compile w/ glibc-2.8 (h_addr issue)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch fixing compilation issue with glibc-2.8
kiax-0.8.51-h_addr_list.patch (text/plain), 1.09 KB, created by
Mounir Lamouri (volkmar) (RETIRED)
on 2009-02-14 00:39:46 UTC
(
hide
)
Description:
Patch fixing compilation issue with glibc-2.8
Filename:
MIME Type:
Creator:
Mounir Lamouri (volkmar) (RETIRED)
Created:
2009-02-14 00:39:46 UTC
Size:
1.09 KB
patch
obsolete
>diff -r -u lib/libiax2/src/iaxORIG.c lib/libiax2/src/iax.c >--- lib/libiax2/src/iaxORIG.c 2008-11-09 00:59:40.000000000 -0600 >+++ lib/libiax2/src/iax.c 2008-11-09 00:56:03.000000000 -0600 >@@ -1553,7 +1553,7 @@ > snprintf(iax_errstr, sizeof(iax_errstr), "Invalid hostname: %s", tmp); > return -1; > } >- memcpy(&session->peeraddr.sin_addr, hp->h_addr, sizeof(session->peeraddr.sin_addr)); >+ memcpy(&session->peeraddr.sin_addr, hp->h_addr_list[0], sizeof(session->peeraddr.sin_addr)); > session->peeraddr.sin_port = htons(portno); > session->peeraddr.sin_family = AF_INET; > strncpy(session->username, peer, sizeof(session->username) - 1); >@@ -1946,7 +1946,7 @@ > snprintf(iax_errstr, sizeof(iax_errstr), "Invalid hostname: %s", hostname); > return -1; > } >- memcpy(&session->peeraddr.sin_addr, hp->h_addr, sizeof(session->peeraddr.sin_addr)); >+ memcpy(&session->peeraddr.sin_addr, hp->h_addr_list[0], sizeof(session->peeraddr.sin_addr)); > session->peeraddr.sin_port = htons(portno); > session->peeraddr.sin_family = AF_INET; > res = send_command(session, AST_FRAME_IAX, IAX_COMMAND_NEW, 0, ied.buf, ied.pos, -1);
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 246131
:
171150
|
171151
| 181919 |
181921
|
182070