Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 372136 Details for
Bug 503914
net-misc/iputils: patches for building against sys-libs/musl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0006-replace-non-POSIX-compilant-caddr_t-with-char.patch
0006-replace-non-POSIX-compilant-caddr_t-with-char.patch (text/plain), 779 bytes, created by
David Heidelberg (okias)
on 2014-03-08 23:04:16 UTC
(
hide
)
Description:
0006-replace-non-POSIX-compilant-caddr_t-with-char.patch
Filename:
MIME Type:
Creator:
David Heidelberg (okias)
Created:
2014-03-08 23:04:16 UTC
Size:
779 bytes
patch
obsolete
>From b5540e8ab1115c174eb40954d2c6c868be06db95 Mon Sep 17 00:00:00 2001 >From: David Heidelberger <david.heidelberger@ixit.cz> >Date: Sat, 8 Mar 2014 23:32:42 +0100 >Subject: [PATCH 6/7] replace non-POSIX compilant caddr_t with char * > >--- > rarpd.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/rarpd.c b/rarpd.c >index ff41371..2e5e22b 100644 >--- a/rarpd.c >+++ b/rarpd.c >@@ -30,6 +30,7 @@ > #include <sys/ioctl.h> > #include <sys/socket.h> > >+ > int do_reload = 1; > > int debug; >@@ -99,7 +100,7 @@ void load_if(void) > } > > ifc.ifc_len = sizeof ibuf; >- ifc.ifc_buf = (caddr_t)ibuf; >+ ifc.ifc_buf = (char *)ibuf; > if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 || > ifc.ifc_len < (int)sizeof(struct ifreq)) { > syslog(LOG_ERR, "SIOCGIFCONF: %m"); >-- >1.9.0 >
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 503914
:
372126
|
372128
|
372130
|
372132
|
372134
| 372136 |
372138
|
500958