From 1e8736e54b4c1f82febd4d0ead042d71bd764912 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 12 Oct 2004 16:49:13 +0000 Subject: - Fix build on 4.x --- x11/libxklavier/files/patch-tests-test_monitor.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 x11/libxklavier/files/patch-tests-test_monitor.c (limited to 'x11/libxklavier/files/patch-tests-test_monitor.c') diff --git a/x11/libxklavier/files/patch-tests-test_monitor.c b/x11/libxklavier/files/patch-tests-test_monitor.c new file mode 100644 index 000000000000..3fcc08426904 --- /dev/null +++ b/x11/libxklavier/files/patch-tests-test_monitor.c @@ -0,0 +1,19 @@ +--- tests/test_monitor.c.orig Fri Oct 1 21:52:02 2004 ++++ tests/test_monitor.c Tue Oct 12 18:47:32 2004 +@@ -42,6 +42,7 @@ + int c; + int debugLevel = 0; + XkbEvent ev; ++ Display* dpy; + + while (1) + { +@@ -63,7 +64,7 @@ + } + } + +- Display* dpy = XOpenDisplay( NULL ); ++ dpy = XOpenDisplay( NULL ); + if ( dpy == NULL ) + { + fprintf( stderr, "Could not open display\n" ); -- cgit v1.2.3