summaryrefslogtreecommitdiff
path: root/textproc/libxml2/patches/patch-CVE-2012-0841-ac
blob: 324dfb0c7d82010415c1e2bec319a8a3a839ab63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-CVE-2012-0841-ac,v 1.1 2012/03/09 12:12:28 drochner Exp $

avoid to modify "configure", to keep the patch simple

--- config.h.in.orig	2010-11-04 17:28:15.000000000 +0000
+++ config.h.in
@@ -309,3 +309,8 @@
 
 /* Win32 Std C name mangling work-around */
 #undef vsnprintf
+
+/* XXX assume that POSIX functions are present */
+#define HAVE_RAND 1
+#define HAVE_SRAND 1
+#define HAVE_TIME 1