summaryrefslogtreecommitdiff
path: root/community/rblcheck/02-fix-configure.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-25 00:01:42 +0000
committerroot <root@rshg054.dnsready.net>2012-06-25 00:01:42 +0000
commit3b99c42eb8ca744e86e4e17197b1bf10642c6785 (patch)
tree32a8e3b87b35056995f805dec0e5a108425354c7 /community/rblcheck/02-fix-configure.patch
parent4319f36e44d4e7c70bf010c3286bb1739c59d4de (diff)
Mon Jun 25 00:01:41 UTC 2012
Diffstat (limited to 'community/rblcheck/02-fix-configure.patch')
-rw-r--r--community/rblcheck/02-fix-configure.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/rblcheck/02-fix-configure.patch b/community/rblcheck/02-fix-configure.patch
new file mode 100644
index 000000000..dbc16342c
--- /dev/null
+++ b/community/rblcheck/02-fix-configure.patch
@@ -0,0 +1,20 @@
+--- a/configure 2005-07-01 10:50:36.000000000 +0100
++++ b/configure 2005-07-01 10:57:05.000000000 +0100
+@@ -1529,13 +1529,12 @@
+ cat > conftest.$ac_ext <<EOF
+ #line 1531 "configure"
+ #include "confdefs.h"
+-/* Override any gcc2 internal prototype to avoid an error. */
+-/* We use char because int might match the return type of a gcc2
+- builtin and then its argument prototype would still apply. */
+-char res_query();
++
++/* Include <resolv.h> to get macro definition for res_query */
++#include <resolv.h>
+
+ int main() {
+-res_query()
++res_query("",0,0,"",0)
+ ; return 0; }
+ EOF
+ if { (eval echo configure:1542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then