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

--- ../common/configure.orig	2006-12-17 20:32:26.000000000 +0000
+++ ../common/configure
@@ -1226,9 +1226,10 @@ if test "$ac_x_libraries" = NO; then
 cat > conftest.$ac_ext <<EOF
 #line 1228 "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:1235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then