summaryrefslogtreecommitdiff
path: root/net/vncviewer/patches/patch-ac
blob: 5df0fff257395549541c0a11c8255a075fe0ec5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.1 2006/12/27 13:37:39 joerg Exp $

--- configure.orig	2006-12-17 20:33:25.000000000 +0000
+++ configure
@@ -1230,9 +1230,10 @@ if test "$ac_x_libraries" = NO; then
 cat > conftest.$ac_ext <<EOF
 #line 1232 "configure"
 #include "confdefs.h"
+#include <X11/Intrinsic.h>
 
 int main() {
-${x_direct_test_function}()
+${x_direct_test_function}(0)
 ; return 0; }
 EOF
 if { (eval echo configure:1239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then