Fix build on NetBSD-current.
This commit is contained in:
parent
efdc8c1659
commit
d063b5e169
2 changed files with 16 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2011/05/12 12:32:09 adam Exp $
|
||||
$NetBSD: distinfo,v 1.2 2011/09/29 18:25:13 wiz Exp $
|
||||
|
||||
SHA1 (ctemplate-0.99.tar.gz) = 7fe974dfe90d35748564fa577f2c8be4b46f9663
|
||||
RMD160 (ctemplate-0.99.tar.gz) = b15cd6825d8f8ec841318ddb1b7afdadbc47931f
|
||||
Size (ctemplate-0.99.tar.gz) = 787831 bytes
|
||||
SHA1 (patch-src_tests_template__regtest.cc) = 234fce61f0ebc72238276df21002dbe1397dbac2
|
||||
|
|
14
devel/ctemplate/patches/patch-src_tests_template__regtest.cc
Normal file
14
devel/ctemplate/patches/patch-src_tests_template__regtest.cc
Normal file
|
@ -0,0 +1,14 @@
|
|||
$NetBSD: patch-src_tests_template__regtest.cc,v 1.1 2011/09/29 18:25:13 wiz Exp $
|
||||
|
||||
Include header for PATH_MAX.
|
||||
|
||||
--- src/tests/template_regtest.cc.orig 2010-04-17 01:46:16.000000000 +0000
|
||||
+++ src/tests/template_regtest.cc
|
||||
@@ -42,6 +42,7 @@
|
||||
// YY should start with 01 (not 00). XX can be an arbitrary string.
|
||||
|
||||
#include "config_for_unittests.h"
|
||||
+#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
Loading…
Reference in a new issue