allow this to actually compile.
From: NetBSD
This commit is contained in:
parent
8ebf96e567
commit
e29ab8cfa9
15
devel/glib2/patches/patch-tests_patterntest_c
Normal file
15
devel/glib2/patches/patch-tests_patterntest_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-tests_patterntest_c,v 1.1 2004/01/13 01:57:44 brad Exp $
|
||||
--- tests/patterntest.c.orig 2004-01-12 20:43:17.000000000 -0500
|
||||
+++ tests/patterntest.c 2004-01-12 20:44:01.000000000 -0500
|
||||
@@ -31,8 +31,10 @@ static void
|
||||
verbose (const gchar *format, ...)
|
||||
{
|
||||
va_list args;
|
||||
+ gchar *msg;
|
||||
+
|
||||
va_start (args, format);
|
||||
- gchar *msg = g_strdup_vprintf (format, args);
|
||||
+ msg = g_strdup_vprintf (format, args);
|
||||
va_end (args);
|
||||
if (noisy)
|
||||
g_print (msg);
|
Loading…
Reference in New Issue
Block a user