pkgsrc/x11/libxklavier/patches/patch-ab
jmmv 91a51864b9 Remove some useless C99-isms that cause the build to fail with GCC 2.95.
Should fix the problem exposed by kristerw@'s NetBSD 1.6.2 bulk build.
2004-11-03 11:22:58 +00:00

21 lines
558 B
Text

$NetBSD: patch-ab,v 1.1 2004/11/03 11:22:58 jmmv Exp $
--- tests/test_config.c.orig 2004-10-01 21:52:02.000000000 +0200
+++ tests/test_config.c
@@ -46,6 +46,7 @@ int main( int argc, char * const argv[]
const char* layouts = NULL;
const char* options = NULL;
int debugLevel = 0;
+ Display* dpy;
while (1)
{
@@ -89,7 +90,7 @@ int main( int argc, char * const argv[]
exit( 0 );
}
- Display* dpy = XOpenDisplay( NULL );
+ dpy = XOpenDisplay( NULL );
if ( dpy == NULL )
{
fprintf( stderr, "Could not open display\n" );