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