pkgsrc/graphics/aview/patches/patch-main.c
obache 399290a4af * Add a patch for CVE-2008-4935, based on Debian's fix, adjust mktemp(1)
behavior differ between OpenBSD orign and FreeBSD one.
* Add some missing includion of header files.
* LICENSE=gnu-gpl-v2

Bump PKGREVISION.
2011-09-04 08:54:02 +00:00

13 lines
312 B
C

$NetBSD: patch-main.c,v 1.1 2011/09/04 08:54:03 obache Exp $
* include <stdlib.h> for exit(3).
* include <string.h> for strncpy(3).
--- main.c.orig 2001-04-25 16:00:06.000000000 +0000
+++ main.c
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+#include <string.h>
#include <aalib.h>
#include "image.h"
#include "ui.h"