summaryrefslogtreecommitdiff
path: root/recipes-core/libxml/libxml2/libxml-64bit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/libxml/libxml2/libxml-64bit.patch')
-rw-r--r--recipes-core/libxml/libxml2/libxml-64bit.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-core/libxml/libxml2/libxml-64bit.patch b/recipes-core/libxml/libxml2/libxml-64bit.patch
new file mode 100644
index 0000000..fd8e469
--- /dev/null
+++ b/recipes-core/libxml/libxml2/libxml-64bit.patch
@@ -0,0 +1,28 @@
+From 056b14345b1abd76a761ab14538f1bc21302781a Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <hongxu.jia@windriver.com>
+Date: Sat, 11 May 2019 20:26:51 +0800
+Subject: [PATCH] libxml 64bit
+
+Upstream-Status: Backport [from debian: bugs.debian.org/439843]
+Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
+---
+ libxml.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/libxml.h b/libxml.h
+index 64e30f7..4e80d90 100644
+--- a/libxml.h
++++ b/libxml.h
+@@ -15,6 +15,9 @@
+ #ifndef _LARGEFILE_SOURCE
+ #define _LARGEFILE_SOURCE
+ #endif
++#ifndef _LARGEFILE64_SOURCE
++#define _LARGEFILE64_SOURCE
++#endif
+ #ifndef _FILE_OFFSET_BITS
+ #define _FILE_OFFSET_BITS 64
+ #endif
+--
+2.7.4
+