Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 500958 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]
patch to enable building with USE="idn"
iputils-20171016-missing-AI_IDN-AI_CANONIDN-NI_IDN.patch (text/plain), 2.27 KB, created by
Aric Belsito
on 2017-10-29 21:22:56 UTC
(
hide
)
Description:
patch to enable building with USE="idn"
Filename:
MIME Type:
Creator:
Aric Belsito
Created:
2017-10-29 21:22:56 UTC
Size:
2.27 KB
patch
obsolete
>diff -Naur iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf.orig/arping.c iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf/arping.c >--- iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf.orig/arping.c 2017-10-16 01:44:15.000000000 -0700 >+++ iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf/arping.c 2017-10-28 11:50:51.803318287 -0700 >@@ -45,6 +45,13 @@ > #ifdef USE_IDN > #include <idna.h> > #include <locale.h> >+ >+#ifndef AI_IDN >+#define AI_IDN 0x0040 >+#endif >+#ifndef AI_CANONIDN >+#define AI_CANONIDN 0x0080 >+#endif > #endif > > #include "SNAPSHOT.h" >diff -Naur iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf.orig/ping.h iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf/ping.h >--- iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf.orig/ping.h 2017-10-16 01:44:15.000000000 -0700 >+++ iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf/ping.h 2017-10-28 11:51:15.378317864 -0700 >@@ -38,6 +38,17 @@ > #include <locale.h> > #include <idna.h> > #include <stringprep.h> >+ >+#ifndef AI_IDN >+#define AI_IDN 0x0040 >+#endif >+#ifndef AI_CANONIDN >+#define AI_CANONIDN 0x0080 >+#endif >+#ifndef NI_IDN >+#define NI_IDN 32 >+#endif >+ > #define getaddrinfo_flags (AI_CANONNAME | AI_IDN | AI_CANONIDN) > #define getnameinfo_flags NI_IDN > #else >diff -Naur iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf.orig/tracepath.c iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf/tracepath.c >--- iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf.orig/tracepath.c 2017-10-16 01:44:15.000000000 -0700 >+++ iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf/tracepath.c 2017-10-28 11:53:11.880315778 -0700 >@@ -30,6 +30,14 @@ > #ifdef USE_IDN > #include <idna.h> > #include <locale.h> >+ >+#ifndef AI_IDN >+#define AI_IDN 0x0040 >+#endif >+#ifndef NI_IDN >+#define NI_IDN 32 >+#endif >+ > #define getnameinfo_flags NI_IDN > #else > #define getnameinfo_flags 0 >diff -Naur iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf.orig/traceroute6.c iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf/traceroute6.c >--- iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf.orig/traceroute6.c 2017-10-16 01:44:15.000000000 -0700 >+++ iputils-67e7d0daf1f231cc708217e6aec2f8d5ce7aeacf/traceroute6.c 2017-10-28 11:53:39.517315283 -0700 >@@ -247,6 +247,10 @@ > #include <idna.h> > #include <locale.h> > >+#ifndef NI_IDN >+#define NI_IDN 32 >+#endif >+ > #define getnameinfo_flags NI_IDN > #else > #define getnameinfo_flags 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