pkgsrc/devel/tvision/patches/patch-tutorial_load_cc
dholland a7762a5f5f Fix broken build by adding <cstring>. While here, deploy intptr_t, and
allow building this on LP64PLATFORMS again as I see no obvious further
reason it shouldn't work. If anyone knows how to test it properly,
please do so.
2012-06-28 03:16:06 +00:00

14 lines
300 B
Text

$NetBSD: patch-tutorial_load_cc,v 1.1 2012/06/28 03:16:07 dholland Exp $
- Use standard headers.
--- tutorial/load.cc~ 2012-06-28 02:28:23.000000000 +0000
+++ tutorial/load.cc
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
+#include <cstring>
#include <fstream>