Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 136036 Details for
Bug 199222
[PATCH] net-voip/yate-1.2.0 fails to compile on uclibc/uclibc++ due to missing -lm linker flag and dn_skipname
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
yate-1.2.0-dn_skipname.patch
yate-1.2.0-dn_skipname.patch (text/plain), 1.05 KB, created by
Natanael Copa
on 2007-11-15 10:48:13 UTC
(
hide
)
Description:
yate-1.2.0-dn_skipname.patch
Filename:
MIME Type:
Creator:
Natanael Copa
Created:
2007-11-15 10:48:13 UTC
Size:
1.05 KB
patch
obsolete
>--- modules/enumroute.cpp.orig 2007-11-15 10:36:30 +0000 >+++ modules/enumroute.cpp 2007-11-15 10:38:23 +0000 >@@ -106,6 +106,35 @@ > return n+1; > } > >+#ifdef __UCLIBC__ >+/* lifted from openbsd source */ >+static int dn_skipname(const u_char *comp_dn, const u_char *eom) >+{ >+ const u_char *cp; >+ int n; >+ >+ cp = comp_dn; >+ while (cp < eom && (n = *cp++)) { >+ /* >+ * check for indirection >+ */ >+ switch (n & INDIR_MASK) { >+ case 0: /* normal case, n == len */ >+ cp += n; >+ continue; >+ case INDIR_MASK: /* indirection */ >+ cp++; >+ break; >+ default: /* illegal type */ >+ return (-1); >+ } >+ break; >+ } >+ if (cp > eom) >+ return (-1); >+ return (cp - comp_dn); >+} >+#endif > > static String s_prefix; > static String s_forkStop;
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 199222
:
136035
| 136036 |
136038