FreeBSD Bugzilla – Attachment 152956 Details for
Bug 197610
net/enet: unbreak on DragonFly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
files/patch-unix.c
patch-unix.c (text/plain), 1.20 KB, created by
Jan Beich
on 2015-02-14 05:03:55 UTC
(
hide
)
Description:
files/patch-unix.c
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2015-02-14 05:03:55 UTC
Size:
1.20 KB
patch
obsolete
>--- unix.c.orig 2014-04-24 07:49:05 UTC >+++ unix.c >@@ -104,7 +104,7 @@ enet_address_set_host (ENetAddress * add > char buffer [2048]; > int errnum; > >-#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) >+#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) > gethostbyname_r (name, & hostData, buffer, sizeof (buffer), & hostEntry, & errnum); > #else > hostEntry = gethostbyname_r (name, & hostData, buffer, sizeof (buffer), & errnum); >@@ -162,7 +162,7 @@ enet_address_get_host (const ENetAddress > > in.s_addr = address -> host; > >-#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) >+#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) > gethostbyaddr_r ((char *) & in, sizeof (struct in_addr), AF_INET, & hostData, buffer, sizeof (buffer), & hostEntry, & errnum); > #else > hostEntry = gethostbyaddr_r ((char *) & in, sizeof (struct in_addr), AF_INET, & hostData, buffer, sizeof (buffer), & errnum);
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
Flags:
koobs
:
maintainer-approval?
(
nemysis
)
Actions:
View
|
Diff
Attachments on
bug 197610
: 152956