[OE-core] [PATCH 7/7] apr: 1.6.2 -> 1.6.3

Burton, Ross ross.burton at intel.com
Wed Jan 31 11:42:38 UTC 2018


We're carrying a lot of patches here, and I'm not convinced that they are
all inappropriate.  Would you be willing to see what of those are
upstreamable?

Ross

On 31 January 2018 at 07:48, Hongxu Jia <hongxu.jia at windriver.com> wrote:

> - Rebase patches 0001 ~ 0008
>
> - Fix build path issue to improve reproducibility
>
> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> ---
>  ...gure_fixes.patch => 0001-configure-fixes.patch} | 28 +++++++---
>  meta/recipes-support/apr/apr/0002-cleanup.patch    | 59
> ++++++++++++++++++++++
>  .../apr/{configfix.patch => 0003-configfix.patch}  | 27 +++++++---
>  ...4-Makefile.in-fix-cross-compiling-failed.patch} | 13 +++--
>  ...> 0005-Fix-packet-discards-HTTP-redirect.patch} | 15 ++++--
>  ...-fix-LTFLAGS-to-make-it-work-with-ccache.patch} | 10 ++--
>  ...t-size-doesn-t-match-in-glibc-when-cross.patch} | 16 +++---
>  ...ink-libapr-against-phtread-to-make-gold-.patch} | 12 ++---
>  meta/recipes-support/apr/apr/cleanup.patch         | 43 ----------------
>  .../apr/{apr_1.6.2.bb => apr_1.6.3.bb}             | 23 +++++----
>  10 files changed, 153 insertions(+), 93 deletions(-)
>  rename meta/recipes-support/apr/apr/{configure_fixes.patch =>
> 0001-configure-fixes.patch} (69%)
>  create mode 100644 meta/recipes-support/apr/apr/0002-cleanup.patch
>  rename meta/recipes-support/apr/apr/{configfix.patch =>
> 0003-configfix.patch} (75%)
>  rename meta/recipes-support/apr/apr/{upgrade-and-fix-1.5.1.patch =>
> 0004-Makefile.in-fix-cross-compiling-failed.patch} (81%)
>  rename meta/recipes-support/apr/apr/{Fix-packet-discards-HTTP-redirect.patch
> => 0005-Fix-packet-discards-HTTP-redirect.patch} (71%)
>  rename meta/recipes-support/apr/apr/{configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch
> => 0006-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch} (81%)
>  rename meta/recipes-support/apr/apr/{0001-apr-fix-off_t-size-doesn-
> t-match-in-glibc-when-cross.patch => 0007-apr-fix-off_t-size-doesn-
> t-match-in-glibc-when-cross.patch} (85%)
>  rename meta/recipes-support/apr/apr/{0002-explicitly-link-libapr-
> against-phtread-to-make-gold-.patch => 0008-explicitly-link-libapr-
> against-phtread-to-make-gold-.patch} (90%)
>  delete mode 100644 meta/recipes-support/apr/apr/cleanup.patch
>  rename meta/recipes-support/apr/{apr_1.6.2.bb => apr_1.6.3.bb} (81%)
>
> diff --git a/meta/recipes-support/apr/apr/configure_fixes.patch
> b/meta/recipes-support/apr/apr/0001-configure-fixes.patch
> similarity index 69%
> rename from meta/recipes-support/apr/apr/configure_fixes.patch
> rename to meta/recipes-support/apr/apr/0001-configure-fixes.patch
> index 0514000..374bb65 100644
> --- a/meta/recipes-support/apr/apr/configure_fixes.patch
> +++ b/meta/recipes-support/apr/apr/0001-configure-fixes.patch
> @@ -1,11 +1,22 @@
> +From ed491771f5a8976f9f05253f5f68b4cb5ac9b05f Mon Sep 17 00:00:00 2001
> +From: Hongxu Jia <hongxu.jia at windriver.com>
> +Date: Tue, 30 Jan 2018 09:33:51 +0800
> +Subject: [PATCH 1/8] configure fixes
> +
>  Upstream-Status: Inappropriate [configuration]
>
> -Index: apr-1.3.3/configure.in
> -===================================================================
> ---- apr-1.3.3.orig/configure.in
> -+++ apr-1.3.3/configure.in
> -@@ -794,39 +794,6 @@ AC_CHECK_FUNCS([mmap munmap shm_open shm
> -                 create_area])
> +Rebase to 1.6.3
> +Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> +---
> + configure.in | 48 ++++++++----------------------------------------
> + 1 file changed, 8 insertions(+), 40 deletions(-)
> +
> +diff --git a/configure.in b/configure.in
> +index 719f331..470c99a 100644
> +--- a/configure.in
> ++++ b/configure.in
> +@@ -1167,39 +1167,6 @@ AC_CHECK_FUNCS([mmap munmap shm_open shm_unlink
> shmget shmat shmdt shmctl \
> +                 create_area mprotect])
>
>   APR_CHECK_DEFINE(MAP_ANON, sys/mman.h)
>  -AC_CHECK_FILE(/dev/zero)
> @@ -44,7 +55,7 @@ Index: apr-1.3.3/configure.in
>
>   # Now we determine which one is our anonymous shmem preference.
>   haveshmgetanon="0"
> -@@ -1518,13 +1485,14 @@ else
> +@@ -1976,13 +1943,14 @@ else
>       bigendian=0
>   fi
>
> @@ -66,3 +77,6 @@ Index: apr-1.3.3/configure.in
>
>   AC_SUBST(voidp_size)
>   AC_SUBST(short_value)
> +--
> +1.8.3.1
> +
> diff --git a/meta/recipes-support/apr/apr/0002-cleanup.patch
> b/meta/recipes-support/apr/apr/0002-cleanup.patch
> new file mode 100644
> index 0000000..1dc97e3
> --- /dev/null
> +++ b/meta/recipes-support/apr/apr/0002-cleanup.patch
> @@ -0,0 +1,59 @@
> +From 286ff5f96c7d3ff2210d0f1b43c670b9deea07ec Mon Sep 17 00:00:00 2001
> +From: Hongxu Jia <hongxu.jia at windriver.com>
> +Date: Tue, 30 Jan 2018 09:36:32 +0800
> +Subject: [PATCH 2/8] cleanup
> +
> +Upstream-Status: Inappropriate [configuration]
> +
> +Rebase to 1.6.3
> +Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> +---
> + build/buildcheck.sh | 35 +----------------------------------
> + 1 file changed, 1 insertion(+), 34 deletions(-)
> +
> +diff --git a/build/buildcheck.sh b/build/buildcheck.sh
> +index ab5df44..b7e719a 100755
> +--- a/build/buildcheck.sh
> ++++ b/build/buildcheck.sh
> +@@ -34,37 +34,4 @@ else
> +   fi
> + fi
> +
> +-# Sample libtool --version outputs:
> +-# ltmain.sh (GNU libtool) 1.3.3 (1.385.2.181 1999/07/02 15:49:11)
> +-# ltmain.sh (GNU libtool 1.1361 2004/01/02 23:10:52) 1.5a
> +-# output is multiline from 1.5 onwards
> +-
> +-# Require libtool 1.4 or newer
> +-libtool=`build/PrintPath glibtool1 glibtool libtool libtool15 libtool14`
> +-lt_pversion=`$libtool --version 2>/dev/null|sed -e
> 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
> +-if test -z "$lt_pversion"; then
> +-  echo "buildconf: libtool not found."
> +-  echo "           You need libtool version 1.4 or newer installed"
> +-  echo "           to build APR from SVN."
> +-  res=1
> +-else
> +-  lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
> +-  IFS=.; set $lt_version; IFS=' '
> +-  lt_status="good"
> +-  if test "$1" = "1"; then
> +-    if test "$2" -lt "4"; then
> +-      lt_status="bad"
> +-    fi
> +-  fi
> +-  if test $lt_status = "good"; then
> +-    echo "buildconf: libtool version $lt_pversion (ok)"
> +-  else
> +-    echo "buildconf: libtool version $lt_pversion found."
> +-    echo "           You need libtool version 1.4 or newer installed"
> +-    echo "           to build APR from SVN."
> +-    res=1
> +-  fi
> +-fi
> +-
> +-exit $res
> +-
> ++exit 0
> +--
> +1.8.3.1
> +
> diff --git a/meta/recipes-support/apr/apr/configfix.patch
> b/meta/recipes-support/apr/apr/0003-configfix.patch
> similarity index 75%
> rename from meta/recipes-support/apr/apr/configfix.patch
> rename to meta/recipes-support/apr/apr/0003-configfix.patch
> index 605c4f6..30194a7 100644
> --- a/meta/recipes-support/apr/apr/configfix.patch
> +++ b/meta/recipes-support/apr/apr/0003-configfix.patch
> @@ -1,10 +1,22 @@
> +From 70a98680045ce31b34dae191b980470e4988bf7f Mon Sep 17 00:00:00 2001
> +From: Hongxu Jia <hongxu.jia at windriver.com>
> +Date: Tue, 30 Jan 2018 09:39:06 +0800
> +Subject: [PATCH 3/8] configfix
> +
>  Upstream-Status: Inappropriate [configuration]
>
> -Index: apr-1.3.3/apr-config.in
> -===================================================================
> ---- apr-1.3.3.orig/apr-config.in       2009-01-12 15:16:31.000000000
> +0000
> -+++ apr-1.3.3/apr-config.in    2009-01-12 15:19:25.000000000 +0000
> -@@ -152,14 +152,7 @@
> +Rebase to 1.6.3
> +
> +Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> +---
> + apr-config.in | 26 ++------------------------
> + 1 file changed, 2 insertions(+), 24 deletions(-)
> +
> +diff --git a/apr-config.in b/apr-config.in
> +index 84b4073..bbbf651 100644
> +--- a/apr-config.in
> ++++ b/apr-config.in
> +@@ -152,14 +152,7 @@ while test $# -gt 0; do
>       flags="$flags $LDFLAGS"
>       ;;
>       --includes)
> @@ -19,7 +31,7 @@ Index: apr-1.3.3/apr-config.in
>       ;;
>       --srcdir)
>       echo $APR_SOURCE_DIR
> -@@ -181,29 +167,14 @@
> +@@ -181,29 +174,14 @@ while test $# -gt 0; do
>       exit 0
>       ;;
>       --link-ld)
> @@ -51,3 +63,6 @@ Index: apr-1.3.3/apr-config.in
>       ;;
>       --shlib-path-var)
>       echo "$SHLIBPATH_VAR"
> +--
> +1.8.3.1
> +
> diff --git a/meta/recipes-support/apr/apr/upgrade-and-fix-1.5.1.patch
> b/meta/recipes-support/apr/apr/0004-Makefile.in-fix-
> cross-compiling-failed.patch
> similarity index 81%
> rename from meta/recipes-support/apr/apr/upgrade-and-fix-1.5.1.patch
> rename to meta/recipes-support/apr/apr/0004-Makefile.in-fix-cross-
> compiling-failed.patch
> index 16499f5..b4517dd 100644
> --- a/meta/recipes-support/apr/apr/upgrade-and-fix-1.5.1.patch
> +++ b/meta/recipes-support/apr/apr/0004-Makefile.in-fix-
> cross-compiling-failed.patch
> @@ -1,4 +1,7 @@
> -Makefile.in: fix cross compiling failed
> +From 5b10d55396904982097e1da4c395fdeccb9d0d6a Mon Sep 17 00:00:00 2001
> +From: Hongxu Jia <hongxu.jia at windriver.com>
> +Date: Tue, 30 Jan 2018 09:41:13 +0800
> +Subject: [PATCH 4/8] Makefile.in: fix cross compiling failed
>
>  The tools/gen_test_char was invoked at build time,
>  and it didn't work for the cross compiling, so we
> @@ -10,13 +13,14 @@ do_install time.
>
>  Upstream-Status: Inappropriate [oe specific]
>
> +Rebase to 1.6.3
>  Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
>  ---
>   Makefile.in | 10 ++--------
>   1 file changed, 2 insertions(+), 8 deletions(-)
>
>  diff --git a/Makefile.in b/Makefile.in
> -index a2a5194..5fe028f 100644
> +index 5fb760e..f9e4445 100644
>  --- a/Makefile.in
>  +++ b/Makefile.in
>  @@ -46,7 +46,6 @@ LT_VERSION = @LT_VERSION@
> @@ -27,7 +31,7 @@ index a2a5194..5fe028f 100644
>         include/private/apr_escape_test_char.h
>   DISTCLEAN_TARGETS = config.cache config.log config.status \
>         include/apr.h include/arch/unix/apr_private.h \
> -@@ -129,13 +128,8 @@ check: $(TARGET_LIB)
> +@@ -131,13 +130,8 @@ check: $(TARGET_LIB)
>   etags:
>         etags `find . -name '*.[ch]'`
>
> @@ -43,3 +47,6 @@ index a2a5194..5fe028f 100644
>
>   include/private/apr_escape_test_char.h: tools/gen_test_char at EXEEXT@
>         $(APR_MKDIR) include/private
> +--
> +1.8.3.1
> +
> diff --git a/meta/recipes-support/apr/apr/Fix-packet-discards-HTTP-redirect.patch
> b/meta/recipes-support/apr/apr/0005-Fix-packet-discards-
> HTTP-redirect.patch
> similarity index 71%
> rename from meta/recipes-support/apr/apr/Fix-packet-discards-HTTP-
> redirect.patch
> rename to meta/recipes-support/apr/apr/0005-Fix-packet-discards-HTTP-
> redirect.patch
> index 6805b8b..2167da5 100644
> --- a/meta/recipes-support/apr/apr/Fix-packet-discards-HTTP-redirect.patch
> +++ b/meta/recipes-support/apr/apr/0005-Fix-packet-discards-
> HTTP-redirect.patch
> @@ -1,4 +1,7 @@
> -Fix packet discards HTTP redirect.
> +From 78a148715444bdeb1363f0d1182901512146a439 Mon Sep 17 00:00:00 2001
> +From: Hongxu Jia <hongxu.jia at windriver.com>
> +Date: Tue, 30 Jan 2018 09:43:34 +0800
> +Subject: [PATCH 5/8] Fix packet discards HTTP redirect.
>
>  Disconnect the connection by poll() timeout.
>  If timeout=0 and apr_wait_for_io_or_timeout()=APR_TIMEUP then
> @@ -8,12 +11,16 @@ Upstream-Status: Pending
>
>  Signed-off-by: Noriaki Yoshitane <yoshitane.nrs at cnt.ncos.nec.co.jp>
>  Signed-off-by: Li Wang <li.wang at windriver.com>
> +
> +Rebase to 1.6.3
> +
> +Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
>  ---
> - network_io/unix/sendrecv.c |    4 ++++
> + network_io/unix/sendrecv.c | 4 ++++
>   1 file changed, 4 insertions(+)
>
>  diff --git a/network_io/unix/sendrecv.c b/network_io/unix/sendrecv.c
> -index c133a26..e8faf15 100644
> +index 4c0e0a6..1bdafba 100644
>  --- a/network_io/unix/sendrecv.c
>  +++ b/network_io/unix/sendrecv.c
>  @@ -85,6 +85,10 @@ apr_status_t apr_socket_recv(apr_socket_t *sock, char
> *buf, apr_size_t *len)
> @@ -28,5 +35,5 @@ index c133a26..e8faf15 100644
>               *len = 0;
>               return arv;
>  --
> -1.7.9.5
> +1.8.3.1
>
> diff --git a/meta/recipes-support/apr/apr/configure.in-fix-LTFLAGS-
> to-make-it-work-with-ccache.patch b/meta/recipes-support/apr/
> apr/0006-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch
> similarity index 81%
> rename from meta/recipes-support/apr/apr/configure.in-fix-LTFLAGS-to-
> make-it-work-with-ccache.patch
> rename to meta/recipes-support/apr/apr/0006-configure.in-fix-LTFLAGS-
> to-make-it-work-with-ccache.patch
> index 7521eeb..b8714b1 100644
> --- a/meta/recipes-support/apr/apr/configure.in-fix-LTFLAGS-
> to-make-it-work-with-ccache.patch
> +++ b/meta/recipes-support/apr/apr/0006-configure.in-fix-
> LTFLAGS-to-make-it-work-with-ccache.patch
> @@ -1,7 +1,7 @@
> -From d439093aa07a486f559206ac9e5808a6a18218cd Mon Sep 17 00:00:00 2001
> +From 9620df513b237c4839e3e6d6459d6363e21d48be Mon Sep 17 00:00:00 2001
>  From: Robert Yang <liezhi.yang at windriver.com>
>  Date: Thu, 19 Nov 2015 18:25:38 -0800
> -Subject: [PATCH] configure.in: fix LTFLAGS to make it work with ccache
> +Subject: [PATCH 6/8] configure.in: fix LTFLAGS to make it work with
> ccache
>
>  When ccache is enabled, libtool requires --tag=CC when use ccache,
>  otherwise when building apr-util with ccache enabled:
> @@ -15,11 +15,11 @@ Upstream-Status: Pending
>
>  Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
>  ---
> - configure.in |    2 +-
> + configure.in | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
>  diff --git a/configure.in b/configure.in
> -index 5a4a988..9d57ae6 100644
> +index 470c99a..d215d98 100644
>  --- a/configure.in
>  +++ b/configure.in
>  @@ -246,7 +246,7 @@ case $host in
> @@ -32,5 +32,5 @@ index 5a4a988..9d57ae6 100644
>       if test "$experimental_libtool" = "yes"; then
>           # Use a custom-made libtool replacement
>  --
> -1.7.9.5
> +1.8.3.1
>
> diff --git a/meta/recipes-support/apr/apr/0001-apr-fix-off_t-size-
> doesn-t-match-in-glibc-when-cross.patch b/meta/recipes-support/apr/
> apr/0007-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch
> similarity index 85%
> rename from meta/recipes-support/apr/apr/0001-apr-fix-off_t-size-doesn-
> t-match-in-glibc-when-cross.patch
> rename to meta/recipes-support/apr/apr/0007-apr-fix-off_t-size-doesn-
> t-match-in-glibc-when-cross.patch
> index c5e92ac..f93da0d 100644
> --- a/meta/recipes-support/apr/apr/0001-apr-fix-off_t-size-
> doesn-t-match-in-glibc-when-cross.patch
> +++ b/meta/recipes-support/apr/apr/0007-apr-fix-off_t-size-
> doesn-t-match-in-glibc-when-cross.patch
> @@ -1,7 +1,7 @@
> -From f26e8b88d2c90ed7eb9d4e276412b0923c23d10f Mon Sep 17 00:00:00 2001
> +From 5252a5b8b47eaba3c05e69c43c8cea6b1b8acbc9 Mon Sep 17 00:00:00 2001
>  From: Dengke Du <dengke.du at windriver.com>
>  Date: Wed, 14 Dec 2016 18:13:08 +0800
> -Subject: [PATCH] apr: fix off_t size doesn't match in glibc when cross
> +Subject: [PATCH 7/8] apr: fix off_t size doesn't match in glibc when cross
>   compiling
>
>  In configure.in, it contains the following:
> @@ -34,10 +34,10 @@ Upstream-Status: Pending
>   1 file changed, 4 insertions(+), 4 deletions(-)
>
>  diff --git a/configure.in b/configure.in
> -index 9d57ae6..5b19940 100644
> +index d215d98..3c579f5 100644
>  --- a/configure.in
>  +++ b/configure.in
> -@@ -1681,7 +1681,7 @@ else
> +@@ -1733,7 +1733,7 @@ else
>       socklen_t_value="int"
>   fi
>
> @@ -46,7 +46,7 @@ index 9d57ae6..5b19940 100644
>
>   if test "$ac_cv_sizeof_pid_t" = "$ac_cv_sizeof_short"; then
>       pid_t_fmt='#define APR_PID_T_FMT "hd"'
> -@@ -1750,7 +1750,7 @@ APR_CHECK_TYPES_COMPATIBLE(ssize_t, long,
> [ssize_t_fmt="ld"])
> +@@ -1802,7 +1802,7 @@ APR_CHECK_TYPES_COMPATIBLE(ssize_t, long,
> [ssize_t_fmt="ld"])
>   APR_CHECK_TYPES_COMPATIBLE(size_t, unsigned int, [size_t_fmt="u"])
>   APR_CHECK_TYPES_COMPATIBLE(size_t, unsigned long, [size_t_fmt="lu"])
>
> @@ -55,7 +55,7 @@ index 9d57ae6..5b19940 100644
>
>   AC_MSG_CHECKING([which format to use for apr_ssize_t])
>   if test -n "$ssize_t_fmt"; then
> -@@ -1767,7 +1767,7 @@ fi
> +@@ -1819,7 +1819,7 @@ fi
>
>   ssize_t_fmt="#define APR_SSIZE_T_FMT \"$ssize_t_fmt\""
>
> @@ -64,7 +64,7 @@ index 9d57ae6..5b19940 100644
>
>   AC_MSG_CHECKING([which format to use for apr_size_t])
>   if test -n "$size_t_fmt"; then
> -@@ -1784,7 +1784,7 @@ fi
> +@@ -1836,7 +1836,7 @@ fi
>
>   size_t_fmt="#define APR_SIZE_T_FMT \"$size_t_fmt\""
>
> @@ -74,5 +74,5 @@ index 9d57ae6..5b19940 100644
>   if test "${ac_cv_sizeof_off_t}${apr_cv_use_lfs64}" = "4yes"; then
>       # Enable LFS
>  --
> -2.7.4
> +1.8.3.1
>
> diff --git a/meta/recipes-support/apr/apr/0002-explicitly-link-
> libapr-against-phtread-to-make-gold-.patch b/meta/recipes-support/apr/
> apr/0008-explicitly-link-libapr-against-phtread-to-make-gold-.patch
> similarity index 90%
> rename from meta/recipes-support/apr/apr/0002-explicitly-link-libapr-
> against-phtread-to-make-gold-.patch
> rename to meta/recipes-support/apr/apr/0008-explicitly-link-libapr-
> against-phtread-to-make-gold-.patch
> index 7d0dddc..e7c0c8e 100644
> --- a/meta/recipes-support/apr/apr/0002-explicitly-link-
> libapr-against-phtread-to-make-gold-.patch
> +++ b/meta/recipes-support/apr/apr/0008-explicitly-link-
> libapr-against-phtread-to-make-gold-.patch
> @@ -1,8 +1,8 @@
> -From 94d1ca0266a0f9c0446f1299b54f752e87b8a695 Mon Sep 17 00:00:00 2001
> +From 922795e34289877ed2610f7bb44e044bcfb73cd5 Mon Sep 17 00:00:00 2001
>  From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony at googlemail.com>
>  Date: Fri, 3 Mar 2017 22:24:17 +0100
> -Subject: [PATCH] explicitly link libapr against phtread to make gold
> happy on
> - test
> +Subject: [PATCH 8/8] explicitly link libapr against phtread to make gold
> happy
> + on test
>  MIME-Version: 1.0
>  Content-Type: text/plain; charset=UTF-8
>  Content-Transfer-Encoding: 8bit
> @@ -34,10 +34,10 @@ Signed-off-by: Andreas Müller <
> schnitzeltony at googlemail.com>
>   1 file changed, 1 insertion(+)
>
>  diff --git a/configure.in b/configure.in
> -index 5b19940..cdf4d58 100644
> +index 3c579f5..06afb62 100644
>  --- a/configure.in
>  +++ b/configure.in
> -@@ -766,6 +766,7 @@ else
> +@@ -781,6 +781,7 @@ else
>             APR_PTHREADS_CHECK_RESTORE ] )
>       fi
>       if test "$pthreadh" = "1"; then
> @@ -46,5 +46,5 @@ index 5b19940..cdf4d58 100644
>           APR_CHECK_PTHREAD_ATTR_GETDETACHSTATE_ONE_ARG
>           APR_CHECK_PTHREAD_RECURSIVE_MUTEX
>  --
> -2.9.3
> +1.8.3.1
>
> diff --git a/meta/recipes-support/apr/apr/cleanup.patch
> b/meta/recipes-support/apr/apr/cleanup.patch
> deleted file mode 100644
> index b6784e0..0000000
> --- a/meta/recipes-support/apr/apr/cleanup.patch
> +++ /dev/null
> @@ -1,43 +0,0 @@
> -Upstream-Status: Inappropriate [configuration]
> -
> -Index: apr-1.4.2/build/buildcheck.sh
> -===================================================================
> ---- apr-1.4.2.orig/build/buildcheck.sh 2009-11-13 08:27:16.000000000
> +0800
> -+++ apr-1.4.2/build/buildcheck.sh      2010-11-26 15:44:00.000000000 +0800
> -@@ -32,35 +32,4 @@
> - echo "buildconf: autoconf version $ac_version (ok)"
> - fi
> -
> --# Sample libtool --version outputs:
> --# ltmain.sh (GNU libtool) 1.3.3 (1.385.2.181 1999/07/02 15:49:11)
> --# ltmain.sh (GNU libtool 1.1361 2004/01/02 23:10:52) 1.5a
> --# output is multiline from 1.5 onwards
> --
> --# Require libtool 1.4 or newer
> --libtool=`build/PrintPath glibtool1 glibtool libtool libtool15 libtool14`
> --lt_pversion=`$libtool --version 2>/dev/null|sed -e
> 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
> --if test -z "$lt_pversion"; then
> --echo "buildconf: libtool not found."
> --echo "           You need libtool version 1.4 or newer installed"
> --echo "           to build APR from SVN."
> --exit 1
> --fi
> --lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
> --IFS=.; set $lt_version; IFS=' '
> --lt_status="good"
> --if test "$1" = "1"; then
> --   if test "$2" -lt "4"; then
> --      lt_status="bad"
> --   fi
> --fi
> --if test $lt_status = "good"; then
> --   echo "buildconf: libtool version $lt_pversion (ok)"
> --   exit 0
> --fi
> --
> --echo "buildconf: libtool version $lt_pversion found."
> --echo "           You need libtool version 1.4 or newer installed"
> --echo "           to build APR from SVN."
> --
> --exit 1
> -+exit 0
> diff --git a/meta/recipes-support/apr/apr_1.6.2.bb
> b/meta/recipes-support/apr/apr_1.6.3.bb
> similarity index 81%
> rename from meta/recipes-support/apr/apr_1.6.2.bb
> rename to meta/recipes-support/apr/apr_1.6.3.bb
> index e2eed53..1bc4759 100644
> --- a/meta/recipes-support/apr/apr_1.6.2.bb
> +++ b/meta/recipes-support/apr/apr_1.6.3.bb
> @@ -10,19 +10,19 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=
> 4dfd4cd216828c8cae5de5a12f3844c8 \
>  BBCLASSEXTEND = "native nativesdk"
>
>  SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \
> -           file://configure_fixes.patch \
> -           file://cleanup.patch \
> -           file://configfix.patch \
>             file://run-ptest \
> -           file://upgrade-and-fix-1.5.1.patch \
> -           file://Fix-packet-discards-HTTP-redirect.patch \
> -           file://configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch
> \
> -           file://0001-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch
> \
> -           file://0002-explicitly-link-libapr-against-phtread-to-make-gold-.patch
> \
> +           file://0001-configure-fixes.patch \
> +           file://0002-cleanup.patch \
> +           file://0003-configfix.patch \
> +           file://0004-Makefile.in-fix-cross-compiling-failed.patch \
> +           file://0005-Fix-packet-discards-HTTP-redirect.patch \
> +           file://0006-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch
> \
> +           file://0007-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch
> \
> +           file://0008-explicitly-link-libapr-against-phtread-to-make-gold-.patch
> \
>  "
>
> -SRC_URI[md5sum] = "e81a851967c79b5ce9bfbc909e4bf735"
> -SRC_URI[sha256sum] = "09109cea377bab0028bba19a92b5b0
> e89603df9eab05c0f7dbd4dd83d48dcebd"
> +SRC_URI[md5sum] = "12f2a349483ad6f12db49ba01fbfdbfa"
> +SRC_URI[sha256sum] = "131f06d16d7aabd097fa992a33eec2
> b6af3962f93e6d570a9bd4d85e95993172"
>
>  inherit autotools-brokensep lib_package binconfig multilib_header ptest
>
> @@ -69,7 +69,8 @@ do_install_append() {
>  }
>
>  do_install_append_class-target() {
> -       sed -i -e 's,${STAGING_DIR_HOST},,g' ${D}${datadir}/build-1/apr_
> rules.mk
> +       sed -i -e 's,${DEBUG_PREFIX_MAP},,g' \
> +              -e 's,${STAGING_DIR_HOST},,g' ${D}${datadir}/build-1/apr_
> rules.mk
>         sed -i -e 's,${STAGING_DIR_HOST},,g' \
>                -e 's,APR_SOURCE_DIR=.*,APR_SOURCE_DIR=,g' \
>                -e 's,APR_BUILD_DIR=.*,APR_BUILD_DIR=,g'
> ${D}${bindir}/apr-1-config
> --
> 2.8.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180131/cdc780a9/attachment-0002.html>


More information about the Openembedded-core mailing list