summaryrefslogtreecommitdiff
path: root/net/vncviewer/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/vncviewer/patches/patch-ac')
-rw-r--r--net/vncviewer/patches/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/vncviewer/patches/patch-ac b/net/vncviewer/patches/patch-ac
new file mode 100644
index 00000000000..5df0fff2573
--- /dev/null
+++ b/net/vncviewer/patches/patch-ac
@@ -0,0 +1,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