Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122012 Details for
Bug 182001
Patch and keywording for dev-lang/erlang-11.2.4-r1 on g/fbsd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
freebsd_gethostbyname_r.patch
freebsd_gethostbyname_r.patch (text/plain), 755 bytes, created by
Pierre Guinoiseau
on 2007-06-14 08:20:28 UTC
(
hide
)
Description:
freebsd_gethostbyname_r.patch
Filename:
MIME Type:
Creator:
Pierre Guinoiseau
Created:
2007-06-14 08:20:28 UTC
Size:
755 bytes
patch
obsolete
>diff -Naur otp_src_R11B-4.orig/lib/erl_interface/src/connect/ei_resolve.c otp_src_R11B-4/lib/erl_interface/src/connect/ei_resolve.c >--- otp_src_R11B-4.orig/lib/erl_interface/src/connect/ei_resolve.c 2006-11-06 14:53:29 +0100 >+++ otp_src_R11B-4/lib/erl_interface/src/connect/ei_resolve.c 2007-06-13 23:14:06 +0200 >@@ -44,6 +44,7 @@ > #include <stdlib.h> > #include <string.h> > #include <errno.h> >+#include <sys/param.h> > #endif > > /* common to all platforms */ >@@ -614,7 +615,7 @@ > #ifndef HAVE_GETHOSTBYNAME_R > return my_gethostbyname_r(name,hostp,buffer,buflen,h_errnop); > #else >-#ifdef __GLIBC__ >+#if (defined(__GLIBC__) || (__FreeBSD_version >= 602000)) > struct hostent *result; > > gethostbyname_r(name, hostp, buffer, buflen, &result, h_errnop);
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 182001
: 122012