generic-poky/meta/recipes-core/libxml/libxml2/libxml-64bit.patch
Qing He 2f3c46d953 libxml2: upgrade to version 2.7.8
[YOCTO #978]

from 2.7.7
fixes CVE-2010-4008

(From OE-Core rev: cd13726f1eb1f77f55cf202830d6bf13b47b0860)

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-18 05:51:19 +01:00

23 lines
439 B
Diff

Upstream-Status: Backport [from debian: bugs.debian.org/439843]
---
libxml.h | 3 +++
1 file changed, 3 insertions(+)
--- libxml2-2.6.29.orig/libxml.h
+++ libxml2-2.6.29/libxml.h
@@ -11,10 +11,13 @@
#ifndef NO_LARGEFILE_SOURCE
#ifndef _LARGEFILE_SOURCE
#define _LARGEFILE_SOURCE
#endif
+#ifndef _LARGEFILE64_SOURCE
+#define _LARGEFILE64_SOURCE
+#endif
#ifndef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 64
#endif
#endif