From e4ac36029267c7891d1185bbb6dbe96d8636fa6b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 29 Sep 2008 21:12:06 +0000 Subject: zlib: Fix autotools off64_t patch logic fixing darwin builds git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5328 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/zlib/files/autotools.patch | 6 +++--- meta/packages/zlib/zlib_1.2.3.bb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'meta') diff --git a/meta/packages/zlib/files/autotools.patch b/meta/packages/zlib/files/autotools.patch index d70c2f689..c2db0848f 100644 --- a/meta/packages/zlib/files/autotools.patch +++ b/meta/packages/zlib/files/autotools.patch @@ -583,15 +583,15 @@ Index: zlib-1.2.3/configure.ac +CPPFLAGS=$zlib_save_CPPFLAGS + +AC_CACHE_CHECK([whether to enable -D_LARGEFILE64_SOURCE], [zlib_cv_use_lfs64], [ -+ zlib_cv_use_lfs64=yes -+ if test "$ac_cv_off64_t" = "yes"; then ++ zlib_cv_use_lfs64=no ++ if test "$ac_cv_type_off64_t" = "yes"; then + zlib_cv_use_lfs64=yes + fi +]) + +if test "$zlib_cv_use_lfs64" = "yes"; then + CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE" -+ echo "eek" ++ + #APR_ADDTO(CPPFLAGS, [-D_LARGEFILE64_SOURCE]) +fi + diff --git a/meta/packages/zlib/zlib_1.2.3.bb b/meta/packages/zlib/zlib_1.2.3.bb index eeb6f3f5b..25677733f 100644 --- a/meta/packages/zlib/zlib_1.2.3.bb +++ b/meta/packages/zlib/zlib_1.2.3.bb @@ -3,7 +3,7 @@ SECTION = "libs" PRIORITY = "required" HOMEPAGE = "http://www.gzip.org/zlib/" LICENSE = "zlib" -PR = "r4" +PR = "r6" SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \ file://1.2.3.3.dfsg.patch.gz;patch=1 \ -- cgit v1.2.3