Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 390600 Details for
Bug 530080
net-libs/libtirpc-0.2.5: patchset to allow building against musl libc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0006-fix_queue_h_include.patch
0006-fix_queue_h_include.patch (text/plain), 1.75 KB, created by
DaggyStyle
on 2014-11-29 20:02:36 UTC
(
hide
)
Description:
0006-fix_queue_h_include.patch
Filename:
MIME Type:
Creator:
DaggyStyle
Created:
2014-11-29 20:02:36 UTC
Size:
1.75 KB
patch
obsolete
>--- src/clnt_bcast.c.orig 2014-11-28 09:31:22.462289976 +0000 >+++ src/clnt_bcast.c 2014-11-28 09:34:06.588289976 +0000 >@@ -43,8 +43,41 @@ > */ > #include <sys/socket.h> > #include <sys/types.h> >+#ifdef __GLIBC__ > #include <sys/queue.h> >+#else >+/* >+ * * Tail queue definitions. >+ * */ >+#define _TAILQ_HEAD(name, type, qual) \ >+struct name { \ >+ qual type *tqh_first; /* first element */ \ >+ qual type *qual *tqh_last; /* addr of last next element */ \ >+} >+#define TAILQ_HEAD(name, type) _TAILQ_HEAD(name, struct type,) > >+#define _TAILQ_ENTRY(type, qual) \ >+struct { \ >+ qual type *tqe_next; /* next element */ \ >+ qual type *qual *tqe_prev; /* address of previous next element */\ >+} >+#define TAILQ_ENTRY(type) _TAILQ_ENTRY(struct type,) >+/* >+ * * Tail queue functions. >+ * */ >+#define TAILQ_INIT(head) do { \ >+ (head)->tqh_first = NULL; \ >+ (head)->tqh_last = &(head)->tqh_first; \ >+} while (/*CONSTCOND*/0) >+ >+#define TAILQ_INSERT_TAIL(head, elm, field) do { \ >+ (elm)->field.tqe_next = NULL; \ >+ (elm)->field.tqe_prev = (head)->tqh_last; \ >+ *(head)->tqh_last = (elm); \ >+ (head)->tqh_last = &(elm)->field.tqe_next; \ >+} while (/*CONSTCOND*/0) >+ >+#endif > #include <net/if.h> > #include <netinet/in.h> > #include <ifaddrs.h>
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 530080
:
390028
|
390030
|
390032
|
390034
|
390460
|
390462
|
390464
|
390466
|
390468
|
390470
|
390590
|
390592
|
390594
|
390596
|
390598
|
390600
|
390602
|
390604
|
393610