summaryrefslogtreecommitdiff
path: root/meta/packages/libxml/libxml2
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-05 17:37:52 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:26 +0000
commit7541841b565be0b1ad2238b851b7ac736e48d762 (patch)
tree388bb3b86dc8d9691dbcc35eb04c34fa02ff7043 /meta/packages/libxml/libxml2
parentb9cac51c380ed55a00fa522334fb90aa547e03f6 (diff)
downloadopenembedded-core-7541841b565be0b1ad2238b851b7ac736e48d762.tar.gz
openembedded-core-7541841b565be0b1ad2238b851b7ac736e48d762.tar.bz2
openembedded-core-7541841b565be0b1ad2238b851b7ac736e48d762.tar.xz
openembedded-core-7541841b565be0b1ad2238b851b7ac736e48d762.zip
libxml2: Convert to BBCLASSEXTEND (and drop unneeded custom staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/libxml/libxml2')
-rw-r--r--meta/packages/libxml/libxml2/libxml-64bit.patch20
-rw-r--r--meta/packages/libxml/libxml2/libxml-nanohttp.patch13
2 files changed, 33 insertions, 0 deletions
diff --git a/meta/packages/libxml/libxml2/libxml-64bit.patch b/meta/packages/libxml/libxml2/libxml-64bit.patch
new file mode 100644
index 000000000..fcb7d34fa
--- /dev/null
+++ b/meta/packages/libxml/libxml2/libxml-64bit.patch
@@ -0,0 +1,20 @@
+---
+ 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
+
diff --git a/meta/packages/libxml/libxml2/libxml-nanohttp.patch b/meta/packages/libxml/libxml2/libxml-nanohttp.patch
new file mode 100644
index 000000000..550e036db
--- /dev/null
+++ b/meta/packages/libxml/libxml2/libxml-nanohttp.patch
@@ -0,0 +1,13 @@
+Index: libxml2-2.6.29/nanohttp.c
+===================================================================
+--- libxml2-2.6.29.orig/nanohttp.c 2008-10-30 10:12:11.000000000 +0800
++++ libxml2-2.6.29/nanohttp.c 2008-10-30 10:12:30.000000000 +0800
+@@ -1585,7 +1585,7 @@
+ if (!strcmp(filename, "-"))
+ fd = 0;
+ else {
+- fd = open(filename, O_CREAT | O_WRONLY);
++ fd = open(filename, O_CREAT | O_WRONLY, 0644);
+ if (fd < 0) {
+ xmlNanoHTTPClose(ctxt);
+ return(-1);