pkgsrc/x11/xflame/patches/patch-ab
obache 239f15e3c2 Include required header files to use some funcions(malloc, strcpy, exit).
Fixes pointer=>int truncate problems on 64bit platforms.
Patch provided by Gilles Dauphin in PR 35476.

Bump PKGREVISION.
2008-03-06 05:58:28 +00:00

13 lines
309 B
Text

$NetBSD: patch-ab,v 1.1 2008/03/06 05:58:29 obache Exp $
--- xflame.c.orig 1998-12-16 07:28:03.000000000 +0000
+++ xflame.c
@@ -29,6 +29,8 @@
/* INCLUDES! */
#include <stdio.h>
#include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <time.h>