Bugzilla – Attachment 2618 Details for
Bug 2259
Checking for external _res fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
updated check for _res
openssh-_res_extern.patch (text/plain), 499 bytes, created by
Darren Tucker
on 2015-05-08 14:18:51 AEST
(
hide
)
Description:
updated check for _res
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2015-05-08 14:18:51 AEST
Size:
499 bytes
patch
obsolete
>diff --git a/configure.ac b/configure.ac >index 606c736..da8db03 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -3938,7 +3938,10 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ > #include <arpa/nameser.h> > #include <resolv.h> > extern struct __res_state _res; >- ]], [[ ]])], >+ ]], [[ >+struct __res_state *volatile p = &_res; /* force resolution of _res */ >+return 0; >+ ]],)], > [AC_MSG_RESULT([yes]) > AC_DEFINE([HAVE__RES_EXTERN], [1], > [Define if you have struct __res_state _res as an extern])
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 2259
: 2618