diff options
Diffstat (limited to 'textproc/libxml2/patches/patch-CVE-2012-0841-ac')
-rw-r--r-- | textproc/libxml2/patches/patch-CVE-2012-0841-ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/libxml2/patches/patch-CVE-2012-0841-ac b/textproc/libxml2/patches/patch-CVE-2012-0841-ac new file mode 100644 index 00000000000..324dfb0c7d8 --- /dev/null +++ b/textproc/libxml2/patches/patch-CVE-2012-0841-ac @@ -0,0 +1,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 |