1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

libxml2: added fix for 'unable to find gzopen64()' when host is 64bit (taken from Debian)

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3339 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2007-12-18 08:09:09 +00:00
parent d4b9227e95
commit c3fb3617fd
4 changed files with 37 additions and 17 deletions
@@ -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
@@ -1,16 +1,13 @@
DESCRIPTION = "GNOME XML library" require libxml2.inc
PR = "r3"
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz" PR = "r4"
DEPENDS = "python-native-runtime" DEPENDS += "python-native-runtime"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxml2-${PV}" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libxml2-${PV}"
S = "${WORKDIR}/libxml2-${PV}" S = "${WORKDIR}/libxml2-${PV}"
inherit autotools native pkgconfig inherit native
EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
do_stage () { do_stage () {
oe_runmake install oe_runmake install
+11
View File
@@ -0,0 +1,11 @@
DESCRIPTION = "GNOME XML Parser library"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "MIT"
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
file://libxml-64bit.patch;patch=1"
inherit autotools pkgconfig binconfig
EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
+2 -10
View File
@@ -1,14 +1,6 @@
DESCRIPTION = "GNOME XML Parser library" require libxml2.inc
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "MIT"
PR = "r5"
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz" PR = "r6"
inherit autotools pkgconfig binconfig
EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
export LDFLAGS += "-ldl" export LDFLAGS += "-ldl"