Files
pkgsrc-ng/graphics/vcg/patches/patch-demo_animation2_c
2013-09-26 17:14:40 +02:00

25 lines
599 B
Plaintext

$NetBSD: patch-demo_animation2_c,v 1.1 2013/04/14 00:15:27 dholland Exp $
- use standard headers
- call execl correctly
--- demo/animation2.c~ 1995-02-08 11:27:33.000000000 +0000
+++ demo/animation2.c
@@ -83,6 +83,7 @@
#include <stdlib.h>
#include <string.h>
#include <signal.h>
+#include <unistd.h>
#include "../src/globals.h"
@@ -237,7 +238,7 @@ void call_vcg()
#ifdef X11
"-geometry","200x200-30+30",
#endif
- filename,0L);
+ filename, (char *)NULL);
}
/* NEVER REACHED */