All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/4] krb5: refresh patches
@ 2018-03-21 16:51 Martin Jansa
  2018-03-21 16:52 ` [meta-oe][PATCH 2/4] libqmi: refresh patch Martin Jansa
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Martin Jansa @ 2018-03-21 16:51 UTC (permalink / raw)
  To: openembedded-devel

WARNING: krb5-1.16-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch
0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
patching file aclocal.m4
Hunk #1 succeeded at 1679 with fuzz 1 (offset 29 lines).

Now at patch
0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 ...-Add-parameter-to-disable-keyutils-detection.patch | 19 +++++++++----------
 .../krb5/krb5/crosscompile_nm.patch                   | 19 ++++++++++++-------
 .../krb5/debian-suppress-usr-lib-in-krb5-config.patch | 11 ++++++-----
 3 files changed, 27 insertions(+), 22 deletions(-)

diff --git a/meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch b/meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
index f0c310c5e8..fe8282eba1 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
+++ b/meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
@@ -1,18 +1,19 @@
-From ecb62f3467f493cc0d679323f05367eebbf0fb67 Mon Sep 17 00:00:00 2001
+From 16aaa5ee8b42cf6f628f6ab75fedc738e4d167ca Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Tue, 1 Oct 2013 22:22:57 +0200
 Subject: [PATCH] aclocal: Add parameter to disable keyutils detection
 
 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+
 ---
- aclocal.m4 | 4 ++++
+ src/aclocal.m4 | 4 ++++
  1 file changed, 4 insertions(+)
 
-diff --git a/aclocal.m4 b/aclocal.m4
-index 210c473..83b1f02 100644
---- a/aclocal.m4
-+++ b/aclocal.m4
-@@ -1650,11 +1650,15 @@ fi
+diff --git a/src/aclocal.m4 b/src/aclocal.m4
+index d6d1279..80ce604 100644
+--- a/src/aclocal.m4
++++ b/src/aclocal.m4
+@@ -1679,12 +1679,16 @@ fi
  dnl
  dnl If libkeyutils exists (on Linux) include it and use keyring ccache
  AC_DEFUN(KRB5_AC_KEYRING_CCACHE,[
@@ -28,6 +29,4 @@ index 210c473..83b1f02 100644
 +fi
  ])dnl
  dnl
--- 
-1.8.3.2
-
+ dnl If libkeyutils supports persistent keyrings, use them
diff --git a/meta-oe/recipes-connectivity/krb5/krb5/crosscompile_nm.patch b/meta-oe/recipes-connectivity/krb5/krb5/crosscompile_nm.patch
index d3e6937515..ddca7090aa 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5/crosscompile_nm.patch
+++ b/meta-oe/recipes-connectivity/krb5/krb5/crosscompile_nm.patch
@@ -1,19 +1,24 @@
+From cbce5720435778296c71811101ac732a833525d6 Mon Sep 17 00:00:00 2001
+From: Amy Fong <amy.fong@windriver.com>
+Date: Sun, 28 Sep 2014 05:35:37 -0400
+Subject: [PATCH] krb5: update to version 1.12.2
+
 Modifies export-check.pl to use look for $ENV{'NM'} before
 defaulting to using 'nm'
 
 Upstream-Status: Pending
 
 Signed-off-by: Amy Fong <amy.fong@windriver.com>
----
 
- export-check.pl |    7 ++++++-
+---
+ src/util/export-check.pl | 7 ++++++-
  1 file changed, 6 insertions(+), 1 deletion(-)
 
-Index: src/util/export-check.pl
-===================================================================
---- src.orig/util/export-check.pl
-+++ src/util/export-check.pl
-@@ -38,7 +38,12 @@
+diff --git a/src/util/export-check.pl b/src/util/export-check.pl
+index eaec7d6..21a2300 100755
+--- a/src/util/export-check.pl
++++ b/src/util/export-check.pl
+@@ -38,7 +38,12 @@ if ($#ARGV != 1) {
  my($exfile, $libfile) = @ARGV;
  
  @missing = ();
diff --git a/meta-oe/recipes-connectivity/krb5/krb5/debian-suppress-usr-lib-in-krb5-config.patch b/meta-oe/recipes-connectivity/krb5/krb5/debian-suppress-usr-lib-in-krb5-config.patch
index f0182ee5db..de21ae0945 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5/debian-suppress-usr-lib-in-krb5-config.patch
+++ b/meta-oe/recipes-connectivity/krb5/krb5/debian-suppress-usr-lib-in-krb5-config.patch
@@ -1,3 +1,6 @@
+From 044be28e4de2cf6f47c719d1f8fbbfe46d1eac20 Mon Sep 17 00:00:00 2001
+From: Jackie Huang <jackie.huang@windriver.com>
+Date: Sun, 28 Sep 2014 05:35:37 -0400
 Subject: [PATCH] debian: suppress /usr/lib in krb5-config
 
 Upstream-Status: Pending
@@ -7,9 +10,10 @@ Handel multi-arch suppressions
 The patch is from debian.
 
 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
+
 ---
- src/build-tools/krb5-config.in |   14 +++++++++-----
- 1 files changed, 9 insertions(+), 5 deletions(-)
+ src/build-tools/krb5-config.in | 14 +++++++++-----
+ 1 file changed, 9 insertions(+), 5 deletions(-)
 
 diff --git a/src/build-tools/krb5-config.in b/src/build-tools/krb5-config.in
 index f6184da..637bad7 100755
@@ -43,6 +47,3 @@ index f6184da..637bad7 100755
      # Ugly gross hack for our build tree
      lib_flags=`echo $CC_LINK | sed -e 's/\$(CC)//' \
  	    -e 's/\$(PURE)//' \
--- 
-1.7.1
-
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-oe][PATCH 2/4] libqmi: refresh patch
  2018-03-21 16:51 [meta-oe][PATCH 1/4] krb5: refresh patches Martin Jansa
@ 2018-03-21 16:52 ` Martin Jansa
  2018-03-21 16:52 ` [meta-oe][PATCH 3/4] mozjs: refresh patches Martin Jansa
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 14+ messages in thread
From: Martin Jansa @ 2018-03-21 16:52 UTC (permalink / raw)
  To: openembedded-devel

WARNING: libqmi-1.20.0-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0001-Detect-clang.patch
patching file m4/compiler-warnings.m4
Hunk #2 succeeded at 37 with fuzz 2.

Now at patch 0001-Detect-clang.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../recipes-connectivity/libqmi/libqmi/0001-Detect-clang.patch | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/meta-oe/recipes-connectivity/libqmi/libqmi/0001-Detect-clang.patch b/meta-oe/recipes-connectivity/libqmi/libqmi/0001-Detect-clang.patch
index 4047ffbf23..7be1d3f1b0 100644
--- a/meta-oe/recipes-connectivity/libqmi/libqmi/0001-Detect-clang.patch
+++ b/meta-oe/recipes-connectivity/libqmi/libqmi/0001-Detect-clang.patch
@@ -1,4 +1,4 @@
-From 4cfb728804157e8f3c69e11ba4df449d8f76388f Mon Sep 17 00:00:00 2001
+From 3a95d82ba11d054c8d8abd332f053c787d0f924d Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Thu, 20 Oct 2016 04:42:26 +0000
 Subject: [PATCH] Detect clang
@@ -12,12 +12,13 @@ compiler are accepted.
 
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
 Upstream-Status: Pending
+
 ---
  m4/compiler-warnings.m4 | 29 +++++++++++++++++++++++++----
  1 file changed, 25 insertions(+), 4 deletions(-)
 
 diff --git a/m4/compiler-warnings.m4 b/m4/compiler-warnings.m4
-index de4a8b0..e4ba718 100644
+index 5ba490c..9202274 100644
 --- a/m4/compiler-warnings.m4
 +++ b/m4/compiler-warnings.m4
 @@ -2,10 +2,30 @@ AC_DEFUN([LIBQMI_COMPILER_WARNINGS],
@@ -53,7 +54,7 @@ index de4a8b0..e4ba718 100644
  		      -Wdeclaration-after-statement -Wstrict-prototypes \
 @@ -17,22 +37,23 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
  		      -Wmissing-include-dirs -Waggregate-return \
- 		      -Wformat-security; do
+ 		      -Wformat-security -Wtype-limits; do
  		SAVE_CFLAGS="$CFLAGS"
 -		CFLAGS="$CFLAGS $option"
 +		CFLAGS="$CFLAGS $option $WERROR"
@@ -79,6 +80,3 @@ index de4a8b0..e4ba718 100644
  else
  	AC_MSG_RESULT(no)
  fi
--- 
-1.9.1
-
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-oe][PATCH 3/4] mozjs: refresh patches
  2018-03-21 16:51 [meta-oe][PATCH 1/4] krb5: refresh patches Martin Jansa
  2018-03-21 16:52 ` [meta-oe][PATCH 2/4] libqmi: refresh patch Martin Jansa
@ 2018-03-21 16:52 ` Martin Jansa
  2018-03-21 17:03   ` [meta-oe][PATCHv2 " Martin Jansa
  2018-03-21 16:52 ` [meta-oe][PATCH 4/4] pidgin: " Martin Jansa
  2018-03-21 16:57 ` [meta-oe][PATCH 1/4] krb5: " Martin Jansa
  3 siblings, 1 reply; 14+ messages in thread
From: Martin Jansa @ 2018-03-21 16:52 UTC (permalink / raw)
  To: openembedded-devel

WARNING: mozjs-17.0.0-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch Manually_mmap_heap_memory_esr17.patch
patching file js/src/gc/Memory.cpp
Hunk #1 succeeded at 309 with fuzz 1 (offset 3 lines).
Hunk #2 succeeded at 391 (offset 3 lines).

Now at patch Manually_mmap_heap_memory_esr17.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 ...-first-character-of-string-to-be-null-or-.patch |  6 ++----
 ...-not-include-RequiredDefines.h-for-depend.patch | 16 +++++++--------
 ...ozjs17.0.0-fix-the-compile-bug-of-powerpc.patch | 16 +++++++--------
 .../mozjs/mozjs/0001-regenerate-configure.patch    |  7 ++-----
 ...02-Move-JS_BYTES_PER_WORD-out-of-config.h.patch | 11 +++-------
 .../mozjs/mozjs/0003-Add-AArch64-support.patch     | 24 +++-------------------
 ...4-mozbug746112-no-decommit-on-large-pages.patch |  9 ++------
 .../mozjs/mozjs/0005-aarch64-64k-page.patch        |  9 ++------
 ...010-fix-cross-compilation-on-i586-targets.patch | 10 ++++-----
 .../mozjs/Manually_mmap_heap_memory_esr17.patch    | 13 +++++-------
 .../mozjs/fix-the-compile-error-of-powerpc64.patch | 18 +++++++++++-----
 .../mozjs/mozjs/fix_milestone_compile_issue.patch  | 20 +++++++++++-------
 12 files changed, 63 insertions(+), 96 deletions(-)

diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch
index 40d646c7df..57c2513492 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch
@@ -1,4 +1,4 @@
-From f36c9476d2816e0d3e61c9e13c22ed73883cb54a Mon Sep 17 00:00:00 2001
+From 8bcb42f2ea03e2b002750e5d7c43e7fc3f990e77 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Mon, 24 Apr 2017 12:13:43 -0700
 Subject: [PATCH] compare the first character of string to be null or not
@@ -10,6 +10,7 @@ error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
 |                          ^~~~
 
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
 ---
  js/src/shell/jsoptparse.cpp | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
@@ -27,6 +28,3 @@ index b49d0a5..612aa00 100644
              return error("A value is required for option %.*s", eq - argv[*i], argv[*i]);
          return Okay;
      }
--- 
-2.12.2
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
index bc141d9d57..5944e914ac 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
@@ -1,4 +1,4 @@
-From 0a61b0b98c152f10404ccbdeeac583a486638a7a Mon Sep 17 00:00:00 2001
+From a769e603140cd37882a347145d8231d7ca6b8f2c Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
 Date: Thu, 6 Jun 2013 18:36:01 +0200
 Subject: [PATCH] js.pc.in: do not include RequiredDefines.h for depending
@@ -16,20 +16,18 @@ and currently it only defines __STDC_LIMIT_MACROS
 Upstream-Status: Inappropriate [embedded specific]
 
 Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
+
 ---
- js.pc.in |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
+ js/src/js.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/js.pc.in b/js.pc.in
+diff --git a/js/src/js.pc.in b/js/src/js.pc.in
 index 13d761d..a95a7bd 100644
---- a/js.pc.in
-+++ b/js.pc.in
+--- a/js/src/js.pc.in
++++ b/js/src/js.pc.in
 @@ -8,4 +8,4 @@ Description: The Mozilla library for JavaScript
  Version: @MOZILLA_VERSION@
  Requires.private: @NSPR_PKGCONF_CHECK@
  Libs: -L${libdir} -l@LIBRARY_NAME@
 -Cflags: -include ${includedir}/@MODULE@/js/RequiredDefines.h -I${includedir}/@MODULE@
 +Cflags: -I${includedir}/@MODULE@
--- 
-1.7.6.5
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch
index de72d4f9a3..3b96d86407 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch
@@ -1,4 +1,4 @@
-From da3929a96d9c74e11bf37d128890e18fcb745365 Mon Sep 17 00:00:00 2001
+From e1fe3b4562d07b877fb0168fa351fd4c391f4c28 Mon Sep 17 00:00:00 2001
 From: Lei Maohui <leimaohui@cn.fujitsu.com>
 Date: Mon, 26 Jan 2015 08:53:19 +0900
 Subject: [PATCH] mozjs17.0.0: fix the compile bug of powerpc
@@ -10,14 +10,15 @@ argument '5' to 'JSBool TryArgumentFormatter(JSContext*, const char**,
 JSBool, jsval**, __va_list_tag (*)[1])'
 
 Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
+
 ---
- jscpucfg.h | 6 ++++++
+ js/src/jscpucfg.h | 6 ++++++
  1 file changed, 6 insertions(+)
 
-diff --git a/jscpucfg.h b/jscpucfg.h
-index dfb1c14..8683491 100644
---- a/jscpucfg.h
-+++ b/jscpucfg.h
+diff --git a/js/src/jscpucfg.h b/js/src/jscpucfg.h
+index 3d2022d..58d3987 100644
+--- a/js/src/jscpucfg.h
++++ b/js/src/jscpucfg.h
 @@ -47,6 +47,12 @@
  #elif defined(JS_HAVE_ENDIAN_H)
  # include <endian.h>
@@ -31,6 +32,3 @@ index dfb1c14..8683491 100644
  # if defined(__BYTE_ORDER)
  #  if __BYTE_ORDER == __LITTLE_ENDIAN
  #   define IS_LITTLE_ENDIAN 1
--- 
-1.8.4.2
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch
index fa413ea9f3..befd76534b 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch
@@ -1,4 +1,4 @@
-From 6440b4901c6f4bcc69686ff10806e311cc5a927b Mon Sep 17 00:00:00 2001
+From a9ae196db082431155abd64045bea1fce647d0a4 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <koen.kooi@linaro.org>
 Date: Tue, 3 Mar 2015 19:12:17 +0800
 Subject: [PATCH] regenerate configure with autoconf-2.13
@@ -11,7 +11,7 @@ Upstream-status: Inappropriate [generated file]
  1 file changed, 389 insertions(+), 449 deletions(-)
 
 diff --git a/js/src/configure b/js/src/configure
-index cb6b41b..b05298f 100755
+index cb6b41b..d019b0f 100755
 --- a/js/src/configure
 +++ b/js/src/configure
 @@ -5757,6 +5757,10 @@ arm*)
@@ -3233,6 +3233,3 @@ index cb6b41b..b05298f 100755
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch b/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
index 6aeb2f6836..c924afe933 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
@@ -1,15 +1,13 @@
-From d4a15ad82292ff6d772dcc631df98754d20be31b Mon Sep 17 00:00:00 2001
+From c761d61f7abafdb88d91d14936ccab66c4125529 Mon Sep 17 00:00:00 2001
 From: Colin Walters <walters@verbum.org>
 Date: Tue, 18 Mar 2014 11:46:05 -0400
-Subject: [PATCH 2/5] Move JS_BYTES_PER_WORD out of config.h
+Subject: [PATCH] Move JS_BYTES_PER_WORD out of config.h
 
 Instead define it in terms of the already extant GNU C extension
 __SIZEOF_POINTER__.  This avoids multiarch conflicts when 32 and 64
 bit packages of js are co-installed.
----
-
-Upstream-status: Pending
 
+---
  js/src/configure.in   |  9 ---------
  js/src/js-config.h.in |  1 -
  js/src/jstypes.h      | 12 ++++++++++++
@@ -70,6 +68,3 @@ index d0cf183..3e7928f 100644
  
  /***********************************************************************
  ** MACROS:      JS_EXTERN_API
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch b/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch
index 6e724292a4..2eb7da138b 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch
@@ -1,16 +1,13 @@
-From 15e710e331d36eb279852b5cd1ba37a9a6005217 Mon Sep 17 00:00:00 2001
+From ff05c95e1cb28e01683dcf0ff17792b6b6564a9e Mon Sep 17 00:00:00 2001
 From: Koen Kooi <koen.kooi@linaro.org>
 Date: Mon, 2 Mar 2015 19:08:22 +0800
-Subject: [PATCH 3/5] Add AArch64 support
+Subject: [PATCH] Add AArch64 support
 
 ---
-Upstream-status: Pending
-
  js/src/assembler/jit/ExecutableAllocator.h | 6 ++++++
  js/src/assembler/wtf/Platform.h            | 4 ++++
  js/src/configure.in                        | 4 ++++
- mfbt/double-conversion/utils.h             | 1 +
- 4 files changed, 15 insertions(+)
+ 3 files changed, 14 insertions(+)
 
 diff --git a/js/src/assembler/jit/ExecutableAllocator.h b/js/src/assembler/jit/ExecutableAllocator.h
 index c071c33..90764c3 100644
@@ -59,18 +56,3 @@ index 64c7606..0673aca 100644
  mips|mipsel)
      CPU_ARCH="mips"
      ;;
-diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h
-index 0eec2d9..fe26dab 100644
---- a/mfbt/double-conversion/utils.h
-+++ b/mfbt/double-conversion/utils.h
-@@ -58,6 +58,7 @@
-     defined(__mips__) || defined(__powerpc__) || \
-     defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
-     defined(__SH4__) || defined(__alpha__) || \
-+    defined(__aarch64__) || \
-     defined(_MIPS_ARCH_MIPS32R2)
- #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
- #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-no-decommit-on-large-pages.patch b/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-no-decommit-on-large-pages.patch
index 8bd35d4055..cec3ab2f09 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-no-decommit-on-large-pages.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-no-decommit-on-large-pages.patch
@@ -1,11 +1,9 @@
-From 0128c5a9eeee0d3fc0deb9129dd20eb79338c8f4 Mon Sep 17 00:00:00 2001
+From 3ac9060a11eedc6b3911fd9f322956f66101d822 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <koen.kooi@linaro.org>
 Date: Mon, 2 Mar 2015 19:08:59 +0800
-Subject: [PATCH 4/5] mozbug746112-no-decommit-on-large-pages
+Subject: [PATCH] mozbug746112-no-decommit-on-large-pages
 
 ---
-Upstream-status: Pending
-
  js/src/gc/Heap.h | 15 ++++++++++-----
  js/src/jsgc.cpp  | 15 ++++++++++++---
  2 files changed, 22 insertions(+), 8 deletions(-)
@@ -98,6 +96,3 @@ index b3caf05..a258d2d 100644
              }
  
              if (ok) {
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch b/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch
index bc99ecc504..697d883b15 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch
@@ -1,11 +1,9 @@
-From 9c42920c2b635a399bd1f93833efdeb1696f17ee Mon Sep 17 00:00:00 2001
+From 84b397dc54028a4f00b93e111b11b69508ef8a42 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <koen.kooi@linaro.org>
 Date: Mon, 2 Mar 2015 19:09:57 +0800
-Subject: [PATCH 5/5] aarch64-64k-page
+Subject: [PATCH] aarch64-64k-page
 
 ---
-Upstream-status: Pending
-
  js/src/gc/Heap.h     | 2 +-
  js/src/gc/Memory.cpp | 3 +++
  2 files changed, 4 insertions(+), 1 deletion(-)
@@ -39,6 +37,3 @@ index 5b386a2..e5ad018 100644
  }
  
  void *
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch b/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch
index 6432e1fb7b..b0551cafdf 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch
@@ -1,4 +1,4 @@
-From a452138a1dd274bfad381a701729783360dc86fb Mon Sep 17 00:00:00 2001
+From 36832b5fafcf8014c7be516e5f7e5b6f1f6c86de Mon Sep 17 00:00:00 2001
 From: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
 Date: Tue, 5 Jan 2016 22:04:17 +0100
 Subject: [PATCH] fix cross compilation on i586 targets
@@ -10,13 +10,14 @@ regenerate configure, similar fix is applied there.
 Upstream-Status: Inappropriate [embedded specific]
 
 Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
+
 ---
  js/src/configure    | 2 +-
  js/src/configure.in | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/js/src/configure b/js/src/configure
-index d019b0fdba44233596541de94307010d85a8e32e..5aa40f757a3dbb7d6887175046f44212c15c2eac 100755
+index d019b0f..5aa40f7 100755
 --- a/js/src/configure
 +++ b/js/src/configure
 @@ -5555,7 +5555,7 @@ TARGET_MD_ARCH=unix
@@ -29,7 +30,7 @@ index d019b0fdba44233596541de94307010d85a8e32e..5aa40f757a3dbb7d6887175046f44212
  MOZ_COMPONENT_NSPR_LIBS='-L$(LIBXUL_DIST)/bin $(NSPR_LIBS)'
  
 diff --git a/js/src/configure.in b/js/src/configure.in
-index 0673aca12f6d83035549ade2a4a83906bf91f0f0..39b22724f9535ac1a6dba04658c91e4ef667fc47 100644
+index 0673aca..39b2272 100644
 --- a/js/src/configure.in
 +++ b/js/src/configure.in
 @@ -919,7 +919,7 @@ TARGET_MD_ARCH=unix
@@ -41,6 +42,3 @@ index 0673aca12f6d83035549ade2a4a83906bf91f0f0..39b22724f9535ac1a6dba04658c91e4e
  
  MOZ_COMPONENT_NSPR_LIBS='-L$(LIBXUL_DIST)/bin $(NSPR_LIBS)'
  
--- 
-2.5.0
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_heap_memory_esr17.patch b/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_heap_memory_esr17.patch
index 15ad03f712..94263764b7 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_heap_memory_esr17.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_heap_memory_esr17.patch
@@ -1,4 +1,4 @@
-From a0c0f32299419359b44ac0f880c1ea9073ae51e1 Mon Sep 17 00:00:00 2001
+From 342b53645b57a10e57f4db8ed181118d43e34735 Mon Sep 17 00:00:00 2001
 From: Zheng Xu <zheng.xu@linaro.org>
 Date: Fri, 2 Sep 2016 17:40:05 +0800
 Subject: [PATCH] Bug 1143022 - Manually mmap on arm64 to ensure high 17 bits
@@ -16,11 +16,11 @@ Upstream-status: Backport
  1 file changed, 71 insertions(+), 2 deletions(-)
 
 diff --git a/js/src/gc/Memory.cpp b/js/src/gc/Memory.cpp
-index 5b386a2..38101cf 100644
+index e5ad018..4149adf 100644
 --- a/js/src/gc/Memory.cpp
 +++ b/js/src/gc/Memory.cpp
-@@ -306,6 +306,75 @@ InitMemorySubsystem()
-         MOZ_CRASH();
+@@ -309,6 +309,75 @@ InitMemorySubsystem()
+ #endif
  }
  
 +static inline void *
@@ -95,7 +95,7 @@ index 5b386a2..38101cf 100644
  void *
  MapAlignedPages(size_t size, size_t alignment)
  {
-@@ -319,12 +388,12 @@ MapAlignedPages(size_t size, size_t alignment)
+@@ -322,12 +391,12 @@ MapAlignedPages(size_t size, size_t alignment)
  
      /* Special case: If we want page alignment, no further work is needed. */
      if (alignment == PageSize) {
@@ -110,6 +110,3 @@ index 5b386a2..38101cf 100644
      if (region == MAP_FAILED)
          return NULL;
  
--- 
-1.9.1
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
index 43c459042b..e957dae107 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
@@ -1,14 +1,22 @@
-fix the compile error of powerpc64
- 
+From 848512fea4101057a8dd70e50d05fe480dd8decd Mon Sep 17 00:00:00 2001
+From: Chunrong Guo <B40290@freescale.com>
+Date: Fri, 24 Apr 2015 15:15:12 +0800
+Subject: [PATCH] fix the compile error of powerpc64
+
 Upstream-status: Accepted
 
  fix the following error
  |error: 'jsuword' does not name a type
 
+---
+ js/src/jsval.h | 1 -
+ 1 file changed, 1 deletion(-)
 
---- a/js/src/jsval.hold	2015-04-24 01:15:06.692970731 -0500
-+++ b/js/src/jsval.h	2015-04-24 01:15:41.792969478 -0500
-@@ -304,7 +304,6 @@
+diff --git a/js/src/jsval.h b/js/src/jsval.h
+index a6858ce..187f1b9 100644
+--- a/js/src/jsval.h
++++ b/js/src/jsval.h
+@@ -304,7 +304,6 @@ typedef union jsval_layout
              int32_t        i32;
              uint32_t       u32;
              JSWhyMagic     why;
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch b/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch
index abde01bcdb..ef65d65810 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch
@@ -1,15 +1,21 @@
-fix the compile error do to perl update
+From 685474734bc1f576b4230fc533457a3c2347cf50 Mon Sep 17 00:00:00 2001
+From: Armin Kuster <akuster808@gmail.com>
+Date: Fri, 10 Jul 2015 20:49:41 -0700
+Subject: [PATCH] fix the compile error do to perl update
 
 Upstream-status: Inappropriate
 
-
 Signed-of-by: Armin Kuster <akuster808@gmail.com>
 
-Index: src/config/milestone.pl
-===================================================================
---- src.orig/config/milestone.pl
-+++ src/config/milestone.pl
-@@ -55,7 +55,7 @@ $MILESTONE_FILE  = "$TOPSRCDIR/config/mi
+---
+ js/src/config/milestone.pl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/js/src/config/milestone.pl b/js/src/config/milestone.pl
+index db3f6dd..49b9568 100644
+--- a/js/src/config/milestone.pl
++++ b/js/src/config/milestone.pl
+@@ -55,7 +55,7 @@ $MILESTONE_FILE  = "$TOPSRCDIR/config/milestone.txt";
  #
  my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
  
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-oe][PATCH 4/4] pidgin: refresh patches
  2018-03-21 16:51 [meta-oe][PATCH 1/4] krb5: refresh patches Martin Jansa
  2018-03-21 16:52 ` [meta-oe][PATCH 2/4] libqmi: refresh patch Martin Jansa
  2018-03-21 16:52 ` [meta-oe][PATCH 3/4] mozjs: refresh patches Martin Jansa
@ 2018-03-21 16:52 ` Martin Jansa
  2018-03-21 16:57 ` [meta-oe][PATCH 1/4] krb5: " Martin Jansa
  3 siblings, 0 replies; 14+ messages in thread
From: Martin Jansa @ 2018-03-21 16:52 UTC (permalink / raw)
  To: openembedded-devel

WARNING: pidgin-2.12.0-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch sanitize-configure.ac.patch
patching file configure.ac
Hunk #1 succeeded at 642 with fuzz 1 (offset 170 lines).
Hunk #2 succeeded at 2397 (offset 537 lines).
Hunk #3 succeeded at 2429 (offset 537 lines).

Now at patch sanitize-configure.ac.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../pidgin/pidgin/pidgin-cross-python-265.patch    | 18 +++++++++++++-----
 .../pidgin/pidgin/purple-OE-branding-25.patch      | 18 +++++++++++++-----
 .../pidgin/pidgin/sanitize-configure.ac.patch      | 22 ++++++++++++++++------
 3 files changed, 42 insertions(+), 16 deletions(-)

diff --git a/meta-oe/recipes-support/pidgin/pidgin/pidgin-cross-python-265.patch b/meta-oe/recipes-support/pidgin/pidgin/pidgin-cross-python-265.patch
index 72bf4ed41b..312fc8593f 100644
--- a/meta-oe/recipes-support/pidgin/pidgin/pidgin-cross-python-265.patch
+++ b/meta-oe/recipes-support/pidgin/pidgin/pidgin-cross-python-265.patch
@@ -1,9 +1,17 @@
-Use pkg-config instead of ${PYTHON}-config to find python
+From 855cc20bafa30597ae7a62f7672d42654b25cde0 Mon Sep 17 00:00:00 2001
+From: Herrie <github.com@herrie.org>
+Date: Mon, 24 Jul 2017 21:30:16 +0200
+Subject: [PATCH] Use pkg-config instead of ${PYTHON}-config to find python
 
-diff -uNr pidgin-2.10.12.orig/configure.ac pidgin-2.10.12/configure.ac
---- pidgin-2.10.12.orig/configure.ac	2016-01-01 00:19:40.000000000 +0100
-+++ pidgin-2.10.12/configure.ac	2016-05-05 16:55:13.258945925 +0200
-@@ -1585,20 +1585,15 @@
+---
+ configure.ac | 21 ++++++++-------------
+ 1 file changed, 8 insertions(+), 13 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index d20a18e..c741829 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1567,20 +1567,15 @@ AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes")
  dnl Check for Python headers (currently useful only for libgnt)
  dnl (Thanks to XChat)
  if test "x$enable_consoleui" = "xyes" -a ! -z "$PYTHON" -a x"$PYTHON" != x"no" ; then
diff --git a/meta-oe/recipes-support/pidgin/pidgin/purple-OE-branding-25.patch b/meta-oe/recipes-support/pidgin/pidgin/purple-OE-branding-25.patch
index 293ef709d1..9a24fbbc5f 100644
--- a/meta-oe/recipes-support/pidgin/pidgin/purple-OE-branding-25.patch
+++ b/meta-oe/recipes-support/pidgin/pidgin/purple-OE-branding-25.patch
@@ -1,8 +1,16 @@
-Index: pidgin-2.5.0/libpurple/protocols/irc/irc.h
-===================================================================
---- pidgin-2.5.0.orig/libpurple/protocols/irc/irc.h	2008-08-19 01:53:38.000000000 +0000
-+++ pidgin-2.5.0/libpurple/protocols/irc/irc.h	2008-08-27 11:15:58.000000000 +0000
-@@ -36,9 +36,9 @@
+From 43e9db656431ffb22b429d5fca4ce3b4af21bc9e Mon Sep 17 00:00:00 2001
+From: Herrie <github.com@herrie.org>
+Date: Mon, 24 Jul 2017 21:30:16 +0200
+
+---
+ libpurple/protocols/irc/irc.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libpurple/protocols/irc/irc.h b/libpurple/protocols/irc/irc.h
+index fde35c4..66e52dd 100644
+--- a/libpurple/protocols/irc/irc.h
++++ b/libpurple/protocols/irc/irc.h
+@@ -40,9 +40,9 @@
  
  #define IRC_DEFAULT_CHARSET "UTF-8"
  #define IRC_DEFAULT_AUTODETECT FALSE
diff --git a/meta-oe/recipes-support/pidgin/pidgin/sanitize-configure.ac.patch b/meta-oe/recipes-support/pidgin/pidgin/sanitize-configure.ac.patch
index a77d64f40b..84dbcdc276 100644
--- a/meta-oe/recipes-support/pidgin/pidgin/sanitize-configure.ac.patch
+++ b/meta-oe/recipes-support/pidgin/pidgin/sanitize-configure.ac.patch
@@ -1,6 +1,16 @@
---- /tmp/configure.ac	2007-05-08 17:29:02.000000000 +0200
-+++ pidgin-2.0.0/configure.ac	2007-05-08 17:30:30.325251000 +0200
-@@ -472,7 +472,7 @@
+From c3058f9eadaf5ff28ba776cfed54b609a93a1249 Mon Sep 17 00:00:00 2001
+From: Herrie <github.com@herrie.org>
+Date: Mon, 24 Jul 2017 21:30:16 +0200
+
+---
+ configure.ac | 10 +---------
+ 1 file changed, 1 insertion(+), 9 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index b8acd2a..d20a18e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -642,7 +642,7 @@ if test "x$enable_consoleui" = "xyes"; then
  	if test "x$enable_consoleui" = "xyes"; then
  		dnl # Some distros put the headers in ncursesw/, some don't
  		found_ncurses_h=no
@@ -8,8 +18,8 @@
 +		for location in $ac_ncurses_includes $NCURSES_HEADERS 
  		do
  			f="$location/ncurses.h"
- 			AC_CHECK_HEADER($f,[
-@@ -1860,10 +1860,6 @@
+ 			orig_CFLAGS="$CFLAGS"
+@@ -2397,10 +2397,6 @@ if test "$kerberos" != "no" ; then
  			KRB4_CFLAGS="$KRB4_CFLAGS -I${kerberos}/include/kerberosIV"
  		fi
  		KRB4_LDFLAGS="-L${kerberos}/lib"
@@ -20,7 +30,7 @@
  	fi
  	AC_DEFINE(ZEPHYR_USES_KERBEROS, 1, [Define if kerberos should be used in Zephyr.])
  
-@@ -1896,10 +1892,6 @@
+@@ -2433,10 +2429,6 @@ if test "$zephyr" != "no" ; then
  		ZEPHYR_LDFLAGS="-L${zephyr}/lib"
  	elif test -d /usr/athena/include/zephyr ; then
  		ZEPHYR_CFLAGS="-I/usr/athena/include"
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [meta-oe][PATCH 1/4] krb5: refresh patches
  2018-03-21 16:51 [meta-oe][PATCH 1/4] krb5: refresh patches Martin Jansa
                   ` (2 preceding siblings ...)
  2018-03-21 16:52 ` [meta-oe][PATCH 4/4] pidgin: " Martin Jansa
@ 2018-03-21 16:57 ` Martin Jansa
  2018-03-21 17:03   ` [meta-oe][PATCHv2 " Martin Jansa
  3 siblings, 1 reply; 14+ messages in thread
From: Martin Jansa @ 2018-03-21 16:57 UTC (permalink / raw)
  To: openembedded-devel

v2 on its way, I forgot to include update to krb5_1.16.bb

On Wed, Mar 21, 2018 at 5:51 PM, Martin Jansa <martin.jansa@gmail.com>
wrote:

> WARNING: krb5-1.16-r0 do_patch:
> Some of the context lines in patches were ignored. This can lead to
> incorrectly applied patches.
> The context lines in the patches can be updated with devtool:
>
>     devtool modify <recipe>
>     devtool finish --force-patch-refresh <recipe> <layer_path>
>
> Then the updated patches and the source tree (in devtool's workspace)
> should be reviewed to make sure the patches apply in the correct place
> and don't introduce duplicate lines (which can, and does happen
> when some of the context is ignored). Further information:
> http://lists.openembedded.org/pipermail/openembedded-core/
> 2018-March/148675.html
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
> Details:
> Applying patch
> 0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
> patching file aclocal.m4
> Hunk #1 succeeded at 1679 with fuzz 1 (offset 29 lines).
>
> Now at patch
> 0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  ...-Add-parameter-to-disable-keyutils-detection.patch | 19
> +++++++++----------
>  .../krb5/krb5/crosscompile_nm.patch                   | 19
> ++++++++++++-------
>  .../krb5/debian-suppress-usr-lib-in-krb5-config.patch | 11 ++++++-----
>  3 files changed, 27 insertions(+), 22 deletions(-)
>
> diff --git a/meta-oe/recipes-connectivity/krb5/krb5/0001-
> aclocal-Add-parameter-to-disable-keyutils-detection.patch
> b/meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-
> disable-keyutils-detection.patch
> index f0c310c5e8..fe8282eba1 100644
> --- a/meta-oe/recipes-connectivity/krb5/krb5/0001-
> aclocal-Add-parameter-to-disable-keyutils-detection.patch
> +++ b/meta-oe/recipes-connectivity/krb5/krb5/0001-
> aclocal-Add-parameter-to-disable-keyutils-detection.patch
> @@ -1,18 +1,19 @@
> -From ecb62f3467f493cc0d679323f05367eebbf0fb67 Mon Sep 17 00:00:00 2001
> +From 16aaa5ee8b42cf6f628f6ab75fedc738e4d167ca Mon Sep 17 00:00:00 2001
>  From: Martin Jansa <Martin.Jansa@gmail.com>
>  Date: Tue, 1 Oct 2013 22:22:57 +0200
>  Subject: [PATCH] aclocal: Add parameter to disable keyutils detection
>
>  Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> +
>  ---
> - aclocal.m4 | 4 ++++
> + src/aclocal.m4 | 4 ++++
>   1 file changed, 4 insertions(+)
>
> -diff --git a/aclocal.m4 b/aclocal.m4
> -index 210c473..83b1f02 100644
> ---- a/aclocal.m4
> -+++ b/aclocal.m4
> -@@ -1650,11 +1650,15 @@ fi
> +diff --git a/src/aclocal.m4 b/src/aclocal.m4
> +index d6d1279..80ce604 100644
> +--- a/src/aclocal.m4
> ++++ b/src/aclocal.m4
> +@@ -1679,12 +1679,16 @@ fi
>   dnl
>   dnl If libkeyutils exists (on Linux) include it and use keyring ccache
>   AC_DEFUN(KRB5_AC_KEYRING_CCACHE,[
> @@ -28,6 +29,4 @@ index 210c473..83b1f02 100644
>  +fi
>   ])dnl
>   dnl
> ---
> -1.8.3.2
> -
> + dnl If libkeyutils supports persistent keyrings, use them
> diff --git a/meta-oe/recipes-connectivity/krb5/krb5/crosscompile_nm.patch
> b/meta-oe/recipes-connectivity/krb5/krb5/crosscompile_nm.patch
> index d3e6937515..ddca7090aa 100644
> --- a/meta-oe/recipes-connectivity/krb5/krb5/crosscompile_nm.patch
> +++ b/meta-oe/recipes-connectivity/krb5/krb5/crosscompile_nm.patch
> @@ -1,19 +1,24 @@
> +From cbce5720435778296c71811101ac732a833525d6 Mon Sep 17 00:00:00 2001
> +From: Amy Fong <amy.fong@windriver.com>
> +Date: Sun, 28 Sep 2014 05:35:37 -0400
> +Subject: [PATCH] krb5: update to version 1.12.2
> +
>  Modifies export-check.pl to use look for $ENV{'NM'} before
>  defaulting to using 'nm'
>
>  Upstream-Status: Pending
>
>  Signed-off-by: Amy Fong <amy.fong@windriver.com>
> ----
>
> - export-check.pl |    7 ++++++-
> +---
> + src/util/export-check.pl | 7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)
>
> -Index: src/util/export-check.pl
> -===================================================================
> ---- src.orig/util/export-check.pl
> -+++ src/util/export-check.pl
> -@@ -38,7 +38,12 @@
> +diff --git a/src/util/export-check.pl b/src/util/export-check.pl
> +index eaec7d6..21a2300 100755
> +--- a/src/util/export-check.pl
> ++++ b/src/util/export-check.pl
> +@@ -38,7 +38,12 @@ if ($#ARGV != 1) {
>   my($exfile, $libfile) = @ARGV;
>
>   @missing = ();
> diff --git a/meta-oe/recipes-connectivity/krb5/krb5/debian-
> suppress-usr-lib-in-krb5-config.patch b/meta-oe/recipes-
> connectivity/krb5/krb5/debian-suppress-usr-lib-in-krb5-config.patch
> index f0182ee5db..de21ae0945 100644
> --- a/meta-oe/recipes-connectivity/krb5/krb5/debian-
> suppress-usr-lib-in-krb5-config.patch
> +++ b/meta-oe/recipes-connectivity/krb5/krb5/debian-
> suppress-usr-lib-in-krb5-config.patch
> @@ -1,3 +1,6 @@
> +From 044be28e4de2cf6f47c719d1f8fbbfe46d1eac20 Mon Sep 17 00:00:00 2001
> +From: Jackie Huang <jackie.huang@windriver.com>
> +Date: Sun, 28 Sep 2014 05:35:37 -0400
>  Subject: [PATCH] debian: suppress /usr/lib in krb5-config
>
>  Upstream-Status: Pending
> @@ -7,9 +10,10 @@ Handel multi-arch suppressions
>  The patch is from debian.
>
>  Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> +
>  ---
> - src/build-tools/krb5-config.in |   14 +++++++++-----
> - 1 files changed, 9 insertions(+), 5 deletions(-)
> + src/build-tools/krb5-config.in | 14 +++++++++-----
> + 1 file changed, 9 insertions(+), 5 deletions(-)
>
>  diff --git a/src/build-tools/krb5-config.in b/src/build-tools/
> krb5-config.in
>  index f6184da..637bad7 100755
> @@ -43,6 +47,3 @@ index f6184da..637bad7 100755
>       # Ugly gross hack for our build tree
>       lib_flags=`echo $CC_LINK | sed -e 's/\$(CC)//' \
>             -e 's/\$(PURE)//' \
> ---
> -1.7.1
> -
> --
> 2.15.1
>
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [meta-oe][PATCHv2 1/4] krb5: refresh patches
  2018-03-21 16:57 ` [meta-oe][PATCH 1/4] krb5: " Martin Jansa
@ 2018-03-21 17:03   ` Martin Jansa
  0 siblings, 0 replies; 14+ messages in thread
From: Martin Jansa @ 2018-03-21 17:03 UTC (permalink / raw)
  To: openembedded-devel

WARNING: krb5-1.16-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch
0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
patching file aclocal.m4
Hunk #1 succeeded at 1679 with fuzz 1 (offset 29 lines).

Now at patch
0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 ...-Add-parameter-to-disable-keyutils-detection.patch | 19 +++++++++----------
 .../krb5/krb5/crosscompile_nm.patch                   | 19 ++++++++++++-------
 .../krb5/debian-suppress-usr-lib-in-krb5-config.patch | 11 ++++++-----
 meta-oe/recipes-connectivity/krb5/krb5_1.16.bb        |  6 +++---
 4 files changed, 30 insertions(+), 25 deletions(-)

diff --git a/meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch b/meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
index f0c310c5e8..fe8282eba1 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
+++ b/meta-oe/recipes-connectivity/krb5/krb5/0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch
@@ -1,18 +1,19 @@
-From ecb62f3467f493cc0d679323f05367eebbf0fb67 Mon Sep 17 00:00:00 2001
+From 16aaa5ee8b42cf6f628f6ab75fedc738e4d167ca Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Tue, 1 Oct 2013 22:22:57 +0200
 Subject: [PATCH] aclocal: Add parameter to disable keyutils detection
 
 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+
 ---
- aclocal.m4 | 4 ++++
+ src/aclocal.m4 | 4 ++++
  1 file changed, 4 insertions(+)
 
-diff --git a/aclocal.m4 b/aclocal.m4
-index 210c473..83b1f02 100644
---- a/aclocal.m4
-+++ b/aclocal.m4
-@@ -1650,11 +1650,15 @@ fi
+diff --git a/src/aclocal.m4 b/src/aclocal.m4
+index d6d1279..80ce604 100644
+--- a/src/aclocal.m4
++++ b/src/aclocal.m4
+@@ -1679,12 +1679,16 @@ fi
  dnl
  dnl If libkeyutils exists (on Linux) include it and use keyring ccache
  AC_DEFUN(KRB5_AC_KEYRING_CCACHE,[
@@ -28,6 +29,4 @@ index 210c473..83b1f02 100644
 +fi
  ])dnl
  dnl
--- 
-1.8.3.2
-
+ dnl If libkeyutils supports persistent keyrings, use them
diff --git a/meta-oe/recipes-connectivity/krb5/krb5/crosscompile_nm.patch b/meta-oe/recipes-connectivity/krb5/krb5/crosscompile_nm.patch
index d3e6937515..ddca7090aa 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5/crosscompile_nm.patch
+++ b/meta-oe/recipes-connectivity/krb5/krb5/crosscompile_nm.patch
@@ -1,19 +1,24 @@
+From cbce5720435778296c71811101ac732a833525d6 Mon Sep 17 00:00:00 2001
+From: Amy Fong <amy.fong@windriver.com>
+Date: Sun, 28 Sep 2014 05:35:37 -0400
+Subject: [PATCH] krb5: update to version 1.12.2
+
 Modifies export-check.pl to use look for $ENV{'NM'} before
 defaulting to using 'nm'
 
 Upstream-Status: Pending
 
 Signed-off-by: Amy Fong <amy.fong@windriver.com>
----
 
- export-check.pl |    7 ++++++-
+---
+ src/util/export-check.pl | 7 ++++++-
  1 file changed, 6 insertions(+), 1 deletion(-)
 
-Index: src/util/export-check.pl
-===================================================================
---- src.orig/util/export-check.pl
-+++ src/util/export-check.pl
-@@ -38,7 +38,12 @@
+diff --git a/src/util/export-check.pl b/src/util/export-check.pl
+index eaec7d6..21a2300 100755
+--- a/src/util/export-check.pl
++++ b/src/util/export-check.pl
+@@ -38,7 +38,12 @@ if ($#ARGV != 1) {
  my($exfile, $libfile) = @ARGV;
  
  @missing = ();
diff --git a/meta-oe/recipes-connectivity/krb5/krb5/debian-suppress-usr-lib-in-krb5-config.patch b/meta-oe/recipes-connectivity/krb5/krb5/debian-suppress-usr-lib-in-krb5-config.patch
index f0182ee5db..de21ae0945 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5/debian-suppress-usr-lib-in-krb5-config.patch
+++ b/meta-oe/recipes-connectivity/krb5/krb5/debian-suppress-usr-lib-in-krb5-config.patch
@@ -1,3 +1,6 @@
+From 044be28e4de2cf6f47c719d1f8fbbfe46d1eac20 Mon Sep 17 00:00:00 2001
+From: Jackie Huang <jackie.huang@windriver.com>
+Date: Sun, 28 Sep 2014 05:35:37 -0400
 Subject: [PATCH] debian: suppress /usr/lib in krb5-config
 
 Upstream-Status: Pending
@@ -7,9 +10,10 @@ Handel multi-arch suppressions
 The patch is from debian.
 
 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
+
 ---
- src/build-tools/krb5-config.in |   14 +++++++++-----
- 1 files changed, 9 insertions(+), 5 deletions(-)
+ src/build-tools/krb5-config.in | 14 +++++++++-----
+ 1 file changed, 9 insertions(+), 5 deletions(-)
 
 diff --git a/src/build-tools/krb5-config.in b/src/build-tools/krb5-config.in
 index f6184da..637bad7 100755
@@ -43,6 +47,3 @@ index f6184da..637bad7 100755
      # Ugly gross hack for our build tree
      lib_flags=`echo $CC_LINK | sed -e 's/\$(CC)//' \
  	    -e 's/\$(PURE)//' \
--- 
-1.7.1
-
diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb
index 80bc8afe94..f8eb0ec50b 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb
+++ b/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb
@@ -21,9 +21,9 @@ inherit autotools-brokensep binconfig perlnative systemd update-rc.d
 
 SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 SRC_URI = "http://web.mit.edu/kerberos/dist/${BPN}/${SHRT_VER}/${BP}.tar.gz \
-           file://0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch \
-           file://debian-suppress-usr-lib-in-krb5-config.patch;striplevel=2 \
-           file://crosscompile_nm.patch \
+           file://0001-aclocal-Add-parameter-to-disable-keyutils-detection.patch;patchdir=..\
+           file://debian-suppress-usr-lib-in-krb5-config.patch;patchdir=.. \
+           file://crosscompile_nm.patch;patchdir=.. \
            file://etc/init.d/krb5-kdc \
            file://etc/init.d/krb5-admin-server \
            file://etc/default/krb5-kdc \
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-oe][PATCHv2 3/4] mozjs: refresh patches
  2018-03-21 16:52 ` [meta-oe][PATCH 3/4] mozjs: refresh patches Martin Jansa
@ 2018-03-21 17:03   ` Martin Jansa
  2018-03-26 20:57     ` Martin Jansa
  0 siblings, 1 reply; 14+ messages in thread
From: Martin Jansa @ 2018-03-21 17:03 UTC (permalink / raw)
  To: openembedded-devel

WARNING: mozjs-17.0.0-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch Manually_mmap_heap_memory_esr17.patch
patching file js/src/gc/Memory.cpp
Hunk #1 succeeded at 309 with fuzz 1 (offset 3 lines).
Hunk #2 succeeded at 391 (offset 3 lines).

Now at patch Manually_mmap_heap_memory_esr17.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 ...-first-character-of-string-to-be-null-or-.patch |  6 ++----
 ...-not-include-RequiredDefines.h-for-depend.patch | 16 +++++++--------
 ...ozjs17.0.0-fix-the-compile-bug-of-powerpc.patch | 16 +++++++--------
 .../mozjs/mozjs/0001-regenerate-configure.patch    |  7 ++-----
 ...02-Move-JS_BYTES_PER_WORD-out-of-config.h.patch | 11 +++-------
 .../mozjs/mozjs/0003-Add-AArch64-support.patch     | 24 +++-------------------
 ...4-mozbug746112-no-decommit-on-large-pages.patch |  9 ++------
 .../mozjs/mozjs/0005-aarch64-64k-page.patch        |  9 ++------
 ...010-fix-cross-compilation-on-i586-targets.patch | 10 ++++-----
 .../mozjs/Manually_mmap_heap_memory_esr17.patch    | 13 +++++-------
 .../mozjs/fix-the-compile-error-of-powerpc64.patch | 18 +++++++++++-----
 .../mozjs/mozjs/fix_milestone_compile_issue.patch  | 20 +++++++++++-------
 meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb     | 24 +++++++++++-----------
 13 files changed, 75 insertions(+), 108 deletions(-)

diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch
index 40d646c7df..57c2513492 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch
@@ -1,4 +1,4 @@
-From f36c9476d2816e0d3e61c9e13c22ed73883cb54a Mon Sep 17 00:00:00 2001
+From 8bcb42f2ea03e2b002750e5d7c43e7fc3f990e77 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Mon, 24 Apr 2017 12:13:43 -0700
 Subject: [PATCH] compare the first character of string to be null or not
@@ -10,6 +10,7 @@ error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
 |                          ^~~~
 
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
 ---
  js/src/shell/jsoptparse.cpp | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
@@ -27,6 +28,3 @@ index b49d0a5..612aa00 100644
              return error("A value is required for option %.*s", eq - argv[*i], argv[*i]);
          return Okay;
      }
--- 
-2.12.2
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
index bc141d9d57..5944e914ac 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
@@ -1,4 +1,4 @@
-From 0a61b0b98c152f10404ccbdeeac583a486638a7a Mon Sep 17 00:00:00 2001
+From a769e603140cd37882a347145d8231d7ca6b8f2c Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
 Date: Thu, 6 Jun 2013 18:36:01 +0200
 Subject: [PATCH] js.pc.in: do not include RequiredDefines.h for depending
@@ -16,20 +16,18 @@ and currently it only defines __STDC_LIMIT_MACROS
 Upstream-Status: Inappropriate [embedded specific]
 
 Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
+
 ---
- js.pc.in |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
+ js/src/js.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/js.pc.in b/js.pc.in
+diff --git a/js/src/js.pc.in b/js/src/js.pc.in
 index 13d761d..a95a7bd 100644
---- a/js.pc.in
-+++ b/js.pc.in
+--- a/js/src/js.pc.in
++++ b/js/src/js.pc.in
 @@ -8,4 +8,4 @@ Description: The Mozilla library for JavaScript
  Version: @MOZILLA_VERSION@
  Requires.private: @NSPR_PKGCONF_CHECK@
  Libs: -L${libdir} -l@LIBRARY_NAME@
 -Cflags: -include ${includedir}/@MODULE@/js/RequiredDefines.h -I${includedir}/@MODULE@
 +Cflags: -I${includedir}/@MODULE@
--- 
-1.7.6.5
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch
index de72d4f9a3..3b96d86407 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch
@@ -1,4 +1,4 @@
-From da3929a96d9c74e11bf37d128890e18fcb745365 Mon Sep 17 00:00:00 2001
+From e1fe3b4562d07b877fb0168fa351fd4c391f4c28 Mon Sep 17 00:00:00 2001
 From: Lei Maohui <leimaohui@cn.fujitsu.com>
 Date: Mon, 26 Jan 2015 08:53:19 +0900
 Subject: [PATCH] mozjs17.0.0: fix the compile bug of powerpc
@@ -10,14 +10,15 @@ argument '5' to 'JSBool TryArgumentFormatter(JSContext*, const char**,
 JSBool, jsval**, __va_list_tag (*)[1])'
 
 Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
+
 ---
- jscpucfg.h | 6 ++++++
+ js/src/jscpucfg.h | 6 ++++++
  1 file changed, 6 insertions(+)
 
-diff --git a/jscpucfg.h b/jscpucfg.h
-index dfb1c14..8683491 100644
---- a/jscpucfg.h
-+++ b/jscpucfg.h
+diff --git a/js/src/jscpucfg.h b/js/src/jscpucfg.h
+index 3d2022d..58d3987 100644
+--- a/js/src/jscpucfg.h
++++ b/js/src/jscpucfg.h
 @@ -47,6 +47,12 @@
  #elif defined(JS_HAVE_ENDIAN_H)
  # include <endian.h>
@@ -31,6 +32,3 @@ index dfb1c14..8683491 100644
  # if defined(__BYTE_ORDER)
  #  if __BYTE_ORDER == __LITTLE_ENDIAN
  #   define IS_LITTLE_ENDIAN 1
--- 
-1.8.4.2
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch
index fa413ea9f3..befd76534b 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch
@@ -1,4 +1,4 @@
-From 6440b4901c6f4bcc69686ff10806e311cc5a927b Mon Sep 17 00:00:00 2001
+From a9ae196db082431155abd64045bea1fce647d0a4 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <koen.kooi@linaro.org>
 Date: Tue, 3 Mar 2015 19:12:17 +0800
 Subject: [PATCH] regenerate configure with autoconf-2.13
@@ -11,7 +11,7 @@ Upstream-status: Inappropriate [generated file]
  1 file changed, 389 insertions(+), 449 deletions(-)
 
 diff --git a/js/src/configure b/js/src/configure
-index cb6b41b..b05298f 100755
+index cb6b41b..d019b0f 100755
 --- a/js/src/configure
 +++ b/js/src/configure
 @@ -5757,6 +5757,10 @@ arm*)
@@ -3233,6 +3233,3 @@ index cb6b41b..b05298f 100755
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch b/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
index 6aeb2f6836..c924afe933 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
@@ -1,15 +1,13 @@
-From d4a15ad82292ff6d772dcc631df98754d20be31b Mon Sep 17 00:00:00 2001
+From c761d61f7abafdb88d91d14936ccab66c4125529 Mon Sep 17 00:00:00 2001
 From: Colin Walters <walters@verbum.org>
 Date: Tue, 18 Mar 2014 11:46:05 -0400
-Subject: [PATCH 2/5] Move JS_BYTES_PER_WORD out of config.h
+Subject: [PATCH] Move JS_BYTES_PER_WORD out of config.h
 
 Instead define it in terms of the already extant GNU C extension
 __SIZEOF_POINTER__.  This avoids multiarch conflicts when 32 and 64
 bit packages of js are co-installed.
----
-
-Upstream-status: Pending
 
+---
  js/src/configure.in   |  9 ---------
  js/src/js-config.h.in |  1 -
  js/src/jstypes.h      | 12 ++++++++++++
@@ -70,6 +68,3 @@ index d0cf183..3e7928f 100644
  
  /***********************************************************************
  ** MACROS:      JS_EXTERN_API
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch b/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch
index 6e724292a4..2eb7da138b 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch
@@ -1,16 +1,13 @@
-From 15e710e331d36eb279852b5cd1ba37a9a6005217 Mon Sep 17 00:00:00 2001
+From ff05c95e1cb28e01683dcf0ff17792b6b6564a9e Mon Sep 17 00:00:00 2001
 From: Koen Kooi <koen.kooi@linaro.org>
 Date: Mon, 2 Mar 2015 19:08:22 +0800
-Subject: [PATCH 3/5] Add AArch64 support
+Subject: [PATCH] Add AArch64 support
 
 ---
-Upstream-status: Pending
-
  js/src/assembler/jit/ExecutableAllocator.h | 6 ++++++
  js/src/assembler/wtf/Platform.h            | 4 ++++
  js/src/configure.in                        | 4 ++++
- mfbt/double-conversion/utils.h             | 1 +
- 4 files changed, 15 insertions(+)
+ 3 files changed, 14 insertions(+)
 
 diff --git a/js/src/assembler/jit/ExecutableAllocator.h b/js/src/assembler/jit/ExecutableAllocator.h
 index c071c33..90764c3 100644
@@ -59,18 +56,3 @@ index 64c7606..0673aca 100644
  mips|mipsel)
      CPU_ARCH="mips"
      ;;
-diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h
-index 0eec2d9..fe26dab 100644
---- a/mfbt/double-conversion/utils.h
-+++ b/mfbt/double-conversion/utils.h
-@@ -58,6 +58,7 @@
-     defined(__mips__) || defined(__powerpc__) || \
-     defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
-     defined(__SH4__) || defined(__alpha__) || \
-+    defined(__aarch64__) || \
-     defined(_MIPS_ARCH_MIPS32R2)
- #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
- #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-no-decommit-on-large-pages.patch b/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-no-decommit-on-large-pages.patch
index 8bd35d4055..cec3ab2f09 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-no-decommit-on-large-pages.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-no-decommit-on-large-pages.patch
@@ -1,11 +1,9 @@
-From 0128c5a9eeee0d3fc0deb9129dd20eb79338c8f4 Mon Sep 17 00:00:00 2001
+From 3ac9060a11eedc6b3911fd9f322956f66101d822 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <koen.kooi@linaro.org>
 Date: Mon, 2 Mar 2015 19:08:59 +0800
-Subject: [PATCH 4/5] mozbug746112-no-decommit-on-large-pages
+Subject: [PATCH] mozbug746112-no-decommit-on-large-pages
 
 ---
-Upstream-status: Pending
-
  js/src/gc/Heap.h | 15 ++++++++++-----
  js/src/jsgc.cpp  | 15 ++++++++++++---
  2 files changed, 22 insertions(+), 8 deletions(-)
@@ -98,6 +96,3 @@ index b3caf05..a258d2d 100644
              }
  
              if (ok) {
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch b/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch
index bc99ecc504..697d883b15 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch
@@ -1,11 +1,9 @@
-From 9c42920c2b635a399bd1f93833efdeb1696f17ee Mon Sep 17 00:00:00 2001
+From 84b397dc54028a4f00b93e111b11b69508ef8a42 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <koen.kooi@linaro.org>
 Date: Mon, 2 Mar 2015 19:09:57 +0800
-Subject: [PATCH 5/5] aarch64-64k-page
+Subject: [PATCH] aarch64-64k-page
 
 ---
-Upstream-status: Pending
-
  js/src/gc/Heap.h     | 2 +-
  js/src/gc/Memory.cpp | 3 +++
  2 files changed, 4 insertions(+), 1 deletion(-)
@@ -39,6 +37,3 @@ index 5b386a2..e5ad018 100644
  }
  
  void *
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch b/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch
index 6432e1fb7b..b0551cafdf 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch
@@ -1,4 +1,4 @@
-From a452138a1dd274bfad381a701729783360dc86fb Mon Sep 17 00:00:00 2001
+From 36832b5fafcf8014c7be516e5f7e5b6f1f6c86de Mon Sep 17 00:00:00 2001
 From: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
 Date: Tue, 5 Jan 2016 22:04:17 +0100
 Subject: [PATCH] fix cross compilation on i586 targets
@@ -10,13 +10,14 @@ regenerate configure, similar fix is applied there.
 Upstream-Status: Inappropriate [embedded specific]
 
 Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
+
 ---
  js/src/configure    | 2 +-
  js/src/configure.in | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/js/src/configure b/js/src/configure
-index d019b0fdba44233596541de94307010d85a8e32e..5aa40f757a3dbb7d6887175046f44212c15c2eac 100755
+index d019b0f..5aa40f7 100755
 --- a/js/src/configure
 +++ b/js/src/configure
 @@ -5555,7 +5555,7 @@ TARGET_MD_ARCH=unix
@@ -29,7 +30,7 @@ index d019b0fdba44233596541de94307010d85a8e32e..5aa40f757a3dbb7d6887175046f44212
  MOZ_COMPONENT_NSPR_LIBS='-L$(LIBXUL_DIST)/bin $(NSPR_LIBS)'
  
 diff --git a/js/src/configure.in b/js/src/configure.in
-index 0673aca12f6d83035549ade2a4a83906bf91f0f0..39b22724f9535ac1a6dba04658c91e4ef667fc47 100644
+index 0673aca..39b2272 100644
 --- a/js/src/configure.in
 +++ b/js/src/configure.in
 @@ -919,7 +919,7 @@ TARGET_MD_ARCH=unix
@@ -41,6 +42,3 @@ index 0673aca12f6d83035549ade2a4a83906bf91f0f0..39b22724f9535ac1a6dba04658c91e4e
  
  MOZ_COMPONENT_NSPR_LIBS='-L$(LIBXUL_DIST)/bin $(NSPR_LIBS)'
  
--- 
-2.5.0
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_heap_memory_esr17.patch b/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_heap_memory_esr17.patch
index 15ad03f712..94263764b7 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_heap_memory_esr17.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_heap_memory_esr17.patch
@@ -1,4 +1,4 @@
-From a0c0f32299419359b44ac0f880c1ea9073ae51e1 Mon Sep 17 00:00:00 2001
+From 342b53645b57a10e57f4db8ed181118d43e34735 Mon Sep 17 00:00:00 2001
 From: Zheng Xu <zheng.xu@linaro.org>
 Date: Fri, 2 Sep 2016 17:40:05 +0800
 Subject: [PATCH] Bug 1143022 - Manually mmap on arm64 to ensure high 17 bits
@@ -16,11 +16,11 @@ Upstream-status: Backport
  1 file changed, 71 insertions(+), 2 deletions(-)
 
 diff --git a/js/src/gc/Memory.cpp b/js/src/gc/Memory.cpp
-index 5b386a2..38101cf 100644
+index e5ad018..4149adf 100644
 --- a/js/src/gc/Memory.cpp
 +++ b/js/src/gc/Memory.cpp
-@@ -306,6 +306,75 @@ InitMemorySubsystem()
-         MOZ_CRASH();
+@@ -309,6 +309,75 @@ InitMemorySubsystem()
+ #endif
  }
  
 +static inline void *
@@ -95,7 +95,7 @@ index 5b386a2..38101cf 100644
  void *
  MapAlignedPages(size_t size, size_t alignment)
  {
-@@ -319,12 +388,12 @@ MapAlignedPages(size_t size, size_t alignment)
+@@ -322,12 +391,12 @@ MapAlignedPages(size_t size, size_t alignment)
  
      /* Special case: If we want page alignment, no further work is needed. */
      if (alignment == PageSize) {
@@ -110,6 +110,3 @@ index 5b386a2..38101cf 100644
      if (region == MAP_FAILED)
          return NULL;
  
--- 
-1.9.1
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
index 43c459042b..e957dae107 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
@@ -1,14 +1,22 @@
-fix the compile error of powerpc64
- 
+From 848512fea4101057a8dd70e50d05fe480dd8decd Mon Sep 17 00:00:00 2001
+From: Chunrong Guo <B40290@freescale.com>
+Date: Fri, 24 Apr 2015 15:15:12 +0800
+Subject: [PATCH] fix the compile error of powerpc64
+
 Upstream-status: Accepted
 
  fix the following error
  |error: 'jsuword' does not name a type
 
+---
+ js/src/jsval.h | 1 -
+ 1 file changed, 1 deletion(-)
 
---- a/js/src/jsval.hold	2015-04-24 01:15:06.692970731 -0500
-+++ b/js/src/jsval.h	2015-04-24 01:15:41.792969478 -0500
-@@ -304,7 +304,6 @@
+diff --git a/js/src/jsval.h b/js/src/jsval.h
+index a6858ce..187f1b9 100644
+--- a/js/src/jsval.h
++++ b/js/src/jsval.h
+@@ -304,7 +304,6 @@ typedef union jsval_layout
              int32_t        i32;
              uint32_t       u32;
              JSWhyMagic     why;
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch b/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch
index abde01bcdb..ef65d65810 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch
@@ -1,15 +1,21 @@
-fix the compile error do to perl update
+From 685474734bc1f576b4230fc533457a3c2347cf50 Mon Sep 17 00:00:00 2001
+From: Armin Kuster <akuster808@gmail.com>
+Date: Fri, 10 Jul 2015 20:49:41 -0700
+Subject: [PATCH] fix the compile error do to perl update
 
 Upstream-status: Inappropriate
 
-
 Signed-of-by: Armin Kuster <akuster808@gmail.com>
 
-Index: src/config/milestone.pl
-===================================================================
---- src.orig/config/milestone.pl
-+++ src/config/milestone.pl
-@@ -55,7 +55,7 @@ $MILESTONE_FILE  = "$TOPSRCDIR/config/mi
+---
+ js/src/config/milestone.pl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/js/src/config/milestone.pl b/js/src/config/milestone.pl
+index db3f6dd..49b9568 100644
+--- a/js/src/config/milestone.pl
++++ b/js/src/config/milestone.pl
+@@ -55,7 +55,7 @@ $MILESTONE_FILE  = "$TOPSRCDIR/config/milestone.txt";
  #
  my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
  
diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
index 49b7f156e1..cea97b2310 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
@@ -4,18 +4,18 @@ LICENSE = "MPL-2.0"
 LIC_FILES_CHKSUM = "file://../../LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
 
 SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/${BPN}${PV}.tar.gz \
-           file://0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch \
-           file://0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch \
-           file://0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch;patchdir=../../ \
-           file://0003-Add-AArch64-support.patch;patchdir=../../ \
-           file://0004-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../../ \
-           file://0005-aarch64-64k-page.patch;patchdir=../../ \
-           file://0001-regenerate-configure.patch;patchdir=../../ \
-           file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../ \
-           file://fix_milestone_compile_issue.patch \
-           file://0010-fix-cross-compilation-on-i586-targets.patch;patchdir=../../ \
-           file://Manually_mmap_heap_memory_esr17.patch;patchdir=../../ \
-           file://0001-compare-the-first-character-of-string-to-be-null-or-.patch;patchdir=../../ \
+           file://0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch;patchdir=../.. \
+           file://0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch;patchdir=../.. \
+           file://0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch;patchdir=../.. \
+           file://0003-Add-AArch64-support.patch;patchdir=../.. \
+           file://0004-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../.. \
+           file://0005-aarch64-64k-page.patch;patchdir=../.. \
+           file://0001-regenerate-configure.patch;patchdir=../.. \
+           file://fix-the-compile-error-of-powerpc64.patch;patchdir=../.. \
+           file://fix_milestone_compile_issue.patch;patchdir=../.. \
+           file://0010-fix-cross-compilation-on-i586-targets.patch;patchdir=../.. \
+           file://Manually_mmap_heap_memory_esr17.patch;patchdir=../.. \
+           file://0001-compare-the-first-character-of-string-to-be-null-or-.patch;patchdir=../.. \
            "
 
 SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202"
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [meta-oe][PATCHv2 3/4] mozjs: refresh patches
  2018-03-21 17:03   ` [meta-oe][PATCHv2 " Martin Jansa
@ 2018-03-26 20:57     ` Martin Jansa
  2018-03-26 21:43       ` [meta-oe][PATCHv3] " Martin Jansa
  0 siblings, 1 reply; 14+ messages in thread
From: Martin Jansa @ 2018-03-26 20:57 UTC (permalink / raw)
  To: openembedded-devel

Something seems to be wrong with this one, when I use it from patchwork,
then the build fails, need to debug this a bit more and then send v3.

On Wed, Mar 21, 2018 at 6:03 PM, Martin Jansa <martin.jansa@gmail.com>
wrote:

> WARNING: mozjs-17.0.0-r0 do_patch:
> Some of the context lines in patches were ignored. This can lead to
> incorrectly applied patches.
> The context lines in the patches can be updated with devtool:
>
>     devtool modify <recipe>
>     devtool finish --force-patch-refresh <recipe> <layer_path>
>
> Then the updated patches and the source tree (in devtool's workspace)
> should be reviewed to make sure the patches apply in the correct place
> and don't introduce duplicate lines (which can, and does happen
> when some of the context is ignored). Further information:
> http://lists.openembedded.org/pipermail/openembedded-core/
> 2018-March/148675.html
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
> Details:
> Applying patch Manually_mmap_heap_memory_esr17.patch
> patching file js/src/gc/Memory.cpp
> Hunk #1 succeeded at 309 with fuzz 1 (offset 3 lines).
> Hunk #2 succeeded at 391 (offset 3 lines).
>
> Now at patch Manually_mmap_heap_memory_esr17.patch
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  ...-first-character-of-string-to-be-null-or-.patch |  6 ++----
>  ...-not-include-RequiredDefines.h-for-depend.patch | 16 +++++++--------
>  ...ozjs17.0.0-fix-the-compile-bug-of-powerpc.patch | 16 +++++++--------
>  .../mozjs/mozjs/0001-regenerate-configure.patch    |  7 ++-----
>  ...02-Move-JS_BYTES_PER_WORD-out-of-config.h.patch | 11 +++-------
>  .../mozjs/mozjs/0003-Add-AArch64-support.patch     | 24
> +++-------------------
>  ...4-mozbug746112-no-decommit-on-large-pages.patch |  9 ++------
>  .../mozjs/mozjs/0005-aarch64-64k-page.patch        |  9 ++------
>  ...010-fix-cross-compilation-on-i586-targets.patch | 10 ++++-----
>  .../mozjs/Manually_mmap_heap_memory_esr17.patch    | 13 +++++-------
>  .../mozjs/fix-the-compile-error-of-powerpc64.patch | 18 +++++++++++-----
>  .../mozjs/mozjs/fix_milestone_compile_issue.patch  | 20
> +++++++++++-------
>  meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb     | 24
> +++++++++++-----------
>  13 files changed, 75 insertions(+), 108 deletions(-)
>
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-
> first-character-of-string-to-be-null-or-.patch b/meta-oe/recipes-extended/
> mozjs/mozjs/0001-compare-the-first-character-of-string-to-
> be-null-or-.patch
> index 40d646c7df..57c2513492 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-
> first-character-of-string-to-be-null-or-.patch
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-
> first-character-of-string-to-be-null-or-.patch
> @@ -1,4 +1,4 @@
> -From f36c9476d2816e0d3e61c9e13c22ed73883cb54a Mon Sep 17 00:00:00 2001
> +From 8bcb42f2ea03e2b002750e5d7c43e7fc3f990e77 Mon Sep 17 00:00:00 2001
>  From: Khem Raj <raj.khem@gmail.com>
>  Date: Mon, 24 Apr 2017 12:13:43 -0700
>  Subject: [PATCH] compare the first character of string to be null or not
> @@ -10,6 +10,7 @@ error: ISO C++ forbids comparison between pointer and
> integer [-fpermissive]
>  |                          ^~~~
>
>  Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +
>  ---
>   js/src/shell/jsoptparse.cpp | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> @@ -27,6 +28,3 @@ index b49d0a5..612aa00 100644
>               return error("A value is required for option %.*s", eq -
> argv[*i], argv[*i]);
>           return Okay;
>       }
> ---
> -2.12.2
> -
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-
> not-include-RequiredDefines.h-for-depend.patch b/meta-oe/recipes-extended/
> mozjs/mozjs/0001-js.pc.in-do-not-include-RequiredDefines.h-
> for-depend.patch
> index bc141d9d57..5944e914ac 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-
> not-include-RequiredDefines.h-for-depend.patch
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-
> not-include-RequiredDefines.h-for-depend.patch
> @@ -1,4 +1,4 @@
> -From 0a61b0b98c152f10404ccbdeeac583a486638a7a Mon Sep 17 00:00:00 2001
> +From a769e603140cd37882a347145d8231d7ca6b8f2c Mon Sep 17 00:00:00 2001
>  From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
>  Date: Thu, 6 Jun 2013 18:36:01 +0200
>  Subject: [PATCH] js.pc.in: do not include RequiredDefines.h for depending
> @@ -16,20 +16,18 @@ and currently it only defines __STDC_LIMIT_MACROS
>  Upstream-Status: Inappropriate [embedded specific]
>
>  Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> +
>  ---
> - js.pc.in |    2 +-
> - 1 files changed, 1 insertions(+), 1 deletions(-)
> + js/src/js.pc.in | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
>
> -diff --git a/js.pc.in b/js.pc.in
> +diff --git a/js/src/js.pc.in b/js/src/js.pc.in
>  index 13d761d..a95a7bd 100644
> ---- a/js.pc.in
> -+++ b/js.pc.in
> +--- a/js/src/js.pc.in
> ++++ b/js/src/js.pc.in
>  @@ -8,4 +8,4 @@ Description: The Mozilla library for JavaScript
>   Version: @MOZILLA_VERSION@
>   Requires.private: @NSPR_PKGCONF_CHECK@
>   Libs: -L${libdir} -l@LIBRARY_NAME@
>  -Cflags: -include ${includedir}/@MODULE@/js/RequiredDefines.h
> -I${includedir}/@MODULE@
>  +Cflags: -I${includedir}/@MODULE@
> ---
> -1.7.6.5
> -
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-
> fix-the-compile-bug-of-powerpc.patch b/meta-oe/recipes-extended/
> mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch
> index de72d4f9a3..3b96d86407 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-
> fix-the-compile-bug-of-powerpc.patch
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-
> fix-the-compile-bug-of-powerpc.patch
> @@ -1,4 +1,4 @@
> -From da3929a96d9c74e11bf37d128890e18fcb745365 Mon Sep 17 00:00:00 2001
> +From e1fe3b4562d07b877fb0168fa351fd4c391f4c28 Mon Sep 17 00:00:00 2001
>  From: Lei Maohui <leimaohui@cn.fujitsu.com>
>  Date: Mon, 26 Jan 2015 08:53:19 +0900
>  Subject: [PATCH] mozjs17.0.0: fix the compile bug of powerpc
> @@ -10,14 +10,15 @@ argument '5' to 'JSBool TryArgumentFormatter(JSContext*,
> const char**,
>  JSBool, jsval**, __va_list_tag (*)[1])'
>
>  Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
> +
>  ---
> - jscpucfg.h | 6 ++++++
> + js/src/jscpucfg.h | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> -diff --git a/jscpucfg.h b/jscpucfg.h
> -index dfb1c14..8683491 100644
> ---- a/jscpucfg.h
> -+++ b/jscpucfg.h
> +diff --git a/js/src/jscpucfg.h b/js/src/jscpucfg.h
> +index 3d2022d..58d3987 100644
> +--- a/js/src/jscpucfg.h
> ++++ b/js/src/jscpucfg.h
>  @@ -47,6 +47,12 @@
>   #elif defined(JS_HAVE_ENDIAN_H)
>   # include <endian.h>
> @@ -31,6 +32,3 @@ index dfb1c14..8683491 100644
>   # if defined(__BYTE_ORDER)
>   #  if __BYTE_ORDER == __LITTLE_ENDIAN
>   #   define IS_LITTLE_ENDIAN 1
> ---
> -1.8.4.2
> -
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch
> b/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch
> index fa413ea9f3..befd76534b 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch
> @@ -1,4 +1,4 @@
> -From 6440b4901c6f4bcc69686ff10806e311cc5a927b Mon Sep 17 00:00:00 2001
> +From a9ae196db082431155abd64045bea1fce647d0a4 Mon Sep 17 00:00:00 2001
>  From: Koen Kooi <koen.kooi@linaro.org>
>  Date: Tue, 3 Mar 2015 19:12:17 +0800
>  Subject: [PATCH] regenerate configure with autoconf-2.13
> @@ -11,7 +11,7 @@ Upstream-status: Inappropriate [generated file]
>   1 file changed, 389 insertions(+), 449 deletions(-)
>
>  diff --git a/js/src/configure b/js/src/configure
> -index cb6b41b..b05298f 100755
> +index cb6b41b..d019b0f 100755
>  --- a/js/src/configure
>  +++ b/js/src/configure
>  @@ -5757,6 +5757,10 @@ arm*)
> @@ -3233,6 +3233,3 @@ index cb6b41b..b05298f 100755
>     rm -rf conftest*
>     eval "ac_cv_func_$ac_func=yes"
>   else
> ---
> -1.9.3
> -
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_
> BYTES_PER_WORD-out-of-config.h.patch b/meta-oe/recipes-extended/
> mozjs/mozjs/0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
> index 6aeb2f6836..c924afe933 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_
> BYTES_PER_WORD-out-of-config.h.patch
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_
> BYTES_PER_WORD-out-of-config.h.patch
> @@ -1,15 +1,13 @@
> -From d4a15ad82292ff6d772dcc631df98754d20be31b Mon Sep 17 00:00:00 2001
> +From c761d61f7abafdb88d91d14936ccab66c4125529 Mon Sep 17 00:00:00 2001
>  From: Colin Walters <walters@verbum.org>
>  Date: Tue, 18 Mar 2014 11:46:05 -0400
> -Subject: [PATCH 2/5] Move JS_BYTES_PER_WORD out of config.h
> +Subject: [PATCH] Move JS_BYTES_PER_WORD out of config.h
>
>  Instead define it in terms of the already extant GNU C extension
>  __SIZEOF_POINTER__.  This avoids multiarch conflicts when 32 and 64
>  bit packages of js are co-installed.
> ----
> -
> -Upstream-status: Pending
>
> +---
>   js/src/configure.in   |  9 ---------
>   js/src/js-config.h.in |  1 -
>   js/src/jstypes.h      | 12 ++++++++++++
> @@ -70,6 +68,3 @@ index d0cf183..3e7928f 100644
>
>   /***********************************************************************
>   ** MACROS:      JS_EXTERN_API
> ---
> -1.9.3
> -
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch
> b/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch
> index 6e724292a4..2eb7da138b 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch
> @@ -1,16 +1,13 @@
> -From 15e710e331d36eb279852b5cd1ba37a9a6005217 Mon Sep 17 00:00:00 2001
> +From ff05c95e1cb28e01683dcf0ff17792b6b6564a9e Mon Sep 17 00:00:00 2001
>  From: Koen Kooi <koen.kooi@linaro.org>
>  Date: Mon, 2 Mar 2015 19:08:22 +0800
> -Subject: [PATCH 3/5] Add AArch64 support
> +Subject: [PATCH] Add AArch64 support
>
>  ---
> -Upstream-status: Pending
> -
>   js/src/assembler/jit/ExecutableAllocator.h | 6 ++++++
>   js/src/assembler/wtf/Platform.h            | 4 ++++
>   js/src/configure.in                        | 4 ++++
> - mfbt/double-conversion/utils.h             | 1 +
> - 4 files changed, 15 insertions(+)
> + 3 files changed, 14 insertions(+)
>
>  diff --git a/js/src/assembler/jit/ExecutableAllocator.h
> b/js/src/assembler/jit/ExecutableAllocator.h
>  index c071c33..90764c3 100644
> @@ -59,18 +56,3 @@ index 64c7606..0673aca 100644
>   mips|mipsel)
>       CPU_ARCH="mips"
>       ;;
> -diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/
> utils.h
> -index 0eec2d9..fe26dab 100644
> ---- a/mfbt/double-conversion/utils.h
> -+++ b/mfbt/double-conversion/utils.h
> -@@ -58,6 +58,7 @@
> -     defined(__mips__) || defined(__powerpc__) || \
> -     defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
> -     defined(__SH4__) || defined(__alpha__) || \
> -+    defined(__aarch64__) || \
> -     defined(_MIPS_ARCH_MIPS32R2)
> - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
> - #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
> ---
> -1.9.3
> -
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-
> no-decommit-on-large-pages.patch b/meta-oe/recipes-extended/
> mozjs/mozjs/0004-mozbug746112-no-decommit-on-large-pages.patch
> index 8bd35d4055..cec3ab2f09 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-
> no-decommit-on-large-pages.patch
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-
> no-decommit-on-large-pages.patch
> @@ -1,11 +1,9 @@
> -From 0128c5a9eeee0d3fc0deb9129dd20eb79338c8f4 Mon Sep 17 00:00:00 2001
> +From 3ac9060a11eedc6b3911fd9f322956f66101d822 Mon Sep 17 00:00:00 2001
>  From: Koen Kooi <koen.kooi@linaro.org>
>  Date: Mon, 2 Mar 2015 19:08:59 +0800
> -Subject: [PATCH 4/5] mozbug746112-no-decommit-on-large-pages
> +Subject: [PATCH] mozbug746112-no-decommit-on-large-pages
>
>  ---
> -Upstream-status: Pending
> -
>   js/src/gc/Heap.h | 15 ++++++++++-----
>   js/src/jsgc.cpp  | 15 ++++++++++++---
>   2 files changed, 22 insertions(+), 8 deletions(-)
> @@ -98,6 +96,3 @@ index b3caf05..a258d2d 100644
>               }
>
>               if (ok) {
> ---
> -1.9.3
> -
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch
> b/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch
> index bc99ecc504..697d883b15 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch
> @@ -1,11 +1,9 @@
> -From 9c42920c2b635a399bd1f93833efdeb1696f17ee Mon Sep 17 00:00:00 2001
> +From 84b397dc54028a4f00b93e111b11b69508ef8a42 Mon Sep 17 00:00:00 2001
>  From: Koen Kooi <koen.kooi@linaro.org>
>  Date: Mon, 2 Mar 2015 19:09:57 +0800
> -Subject: [PATCH 5/5] aarch64-64k-page
> +Subject: [PATCH] aarch64-64k-page
>
>  ---
> -Upstream-status: Pending
> -
>   js/src/gc/Heap.h     | 2 +-
>   js/src/gc/Memory.cpp | 3 +++
>   2 files changed, 4 insertions(+), 1 deletion(-)
> @@ -39,6 +37,3 @@ index 5b386a2..e5ad018 100644
>   }
>
>   void *
> ---
> -1.9.3
> -
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-
> compilation-on-i586-targets.patch b/meta-oe/recipes-extended/
> mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch
> index 6432e1fb7b..b0551cafdf 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-
> compilation-on-i586-targets.patch
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-
> compilation-on-i586-targets.patch
> @@ -1,4 +1,4 @@
> -From a452138a1dd274bfad381a701729783360dc86fb Mon Sep 17 00:00:00 2001
> +From 36832b5fafcf8014c7be516e5f7e5b6f1f6c86de Mon Sep 17 00:00:00 2001
>  From: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
>  Date: Tue, 5 Jan 2016 22:04:17 +0100
>  Subject: [PATCH] fix cross compilation on i586 targets
> @@ -10,13 +10,14 @@ regenerate configure, similar fix is applied there.
>  Upstream-Status: Inappropriate [embedded specific]
>
>  Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
> +
>  ---
>   js/src/configure    | 2 +-
>   js/src/configure.in | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
>  diff --git a/js/src/configure b/js/src/configure
> -index d019b0fdba44233596541de94307010d85a8e32e..
> 5aa40f757a3dbb7d6887175046f44212c15c2eac 100755
> +index d019b0f..5aa40f7 100755
>  --- a/js/src/configure
>  +++ b/js/src/configure
>  @@ -5555,7 +5555,7 @@ TARGET_MD_ARCH=unix
> @@ -29,7 +30,7 @@ index d019b0fdba44233596541de94307010d85a8e32e..
> 5aa40f757a3dbb7d6887175046f44212
>   MOZ_COMPONENT_NSPR_LIBS='-L$(LIBXUL_DIST)/bin $(NSPR_LIBS)'
>
>  diff --git a/js/src/configure.in b/js/src/configure.in
> -index 0673aca12f6d83035549ade2a4a83906bf91f0f0..
> 39b22724f9535ac1a6dba04658c91e4ef667fc47 100644
> +index 0673aca..39b2272 100644
>  --- a/js/src/configure.in
>  +++ b/js/src/configure.in
>  @@ -919,7 +919,7 @@ TARGET_MD_ARCH=unix
> @@ -41,6 +42,3 @@ index 0673aca12f6d83035549ade2a4a83906bf91f0f0..
> 39b22724f9535ac1a6dba04658c91e4e
>
>   MOZ_COMPONENT_NSPR_LIBS='-L$(LIBXUL_DIST)/bin $(NSPR_LIBS)'
>
> ---
> -2.5.0
> -
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_heap_memory_esr17.patch
> b/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_
> heap_memory_esr17.patch
> index 15ad03f712..94263764b7 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_
> heap_memory_esr17.patch
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_
> heap_memory_esr17.patch
> @@ -1,4 +1,4 @@
> -From a0c0f32299419359b44ac0f880c1ea9073ae51e1 Mon Sep 17 00:00:00 2001
> +From 342b53645b57a10e57f4db8ed181118d43e34735 Mon Sep 17 00:00:00 2001
>  From: Zheng Xu <zheng.xu@linaro.org>
>  Date: Fri, 2 Sep 2016 17:40:05 +0800
>  Subject: [PATCH] Bug 1143022 - Manually mmap on arm64 to ensure high 17
> bits
> @@ -16,11 +16,11 @@ Upstream-status: Backport
>   1 file changed, 71 insertions(+), 2 deletions(-)
>
>  diff --git a/js/src/gc/Memory.cpp b/js/src/gc/Memory.cpp
> -index 5b386a2..38101cf 100644
> +index e5ad018..4149adf 100644
>  --- a/js/src/gc/Memory.cpp
>  +++ b/js/src/gc/Memory.cpp
> -@@ -306,6 +306,75 @@ InitMemorySubsystem()
> -         MOZ_CRASH();
> +@@ -309,6 +309,75 @@ InitMemorySubsystem()
> + #endif
>   }
>
>  +static inline void *
> @@ -95,7 +95,7 @@ index 5b386a2..38101cf 100644
>   void *
>   MapAlignedPages(size_t size, size_t alignment)
>   {
> -@@ -319,12 +388,12 @@ MapAlignedPages(size_t size, size_t alignment)
> +@@ -322,12 +391,12 @@ MapAlignedPages(size_t size, size_t alignment)
>
>       /* Special case: If we want page alignment, no further work is
> needed. */
>       if (alignment == PageSize) {
> @@ -110,6 +110,3 @@ index 5b386a2..38101cf 100644
>       if (region == MAP_FAILED)
>           return NULL;
>
> ---
> -1.9.1
> -
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
> b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-
> error-of-powerpc64.patch
> index 43c459042b..e957dae107 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-
> error-of-powerpc64.patch
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-
> error-of-powerpc64.patch
> @@ -1,14 +1,22 @@
> -fix the compile error of powerpc64
> -
> +From 848512fea4101057a8dd70e50d05fe480dd8decd Mon Sep 17 00:00:00 2001
> +From: Chunrong Guo <B40290@freescale.com>
> +Date: Fri, 24 Apr 2015 15:15:12 +0800
> +Subject: [PATCH] fix the compile error of powerpc64
> +
>  Upstream-status: Accepted
>
>   fix the following error
>   |error: 'jsuword' does not name a type
>
> +---
> + js/src/jsval.h | 1 -
> + 1 file changed, 1 deletion(-)
>
> ---- a/js/src/jsval.hold        2015-04-24 01:15:06.692970731 -0500
> -+++ b/js/src/jsval.h   2015-04-24 01:15:41.792969478 -0500
> -@@ -304,7 +304,6 @@
> +diff --git a/js/src/jsval.h b/js/src/jsval.h
> +index a6858ce..187f1b9 100644
> +--- a/js/src/jsval.h
> ++++ b/js/src/jsval.h
> +@@ -304,7 +304,6 @@ typedef union jsval_layout
>               int32_t        i32;
>               uint32_t       u32;
>               JSWhyMagic     why;
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch
> b/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch
> index abde01bcdb..ef65d65810 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_
> compile_issue.patch
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_
> compile_issue.patch
> @@ -1,15 +1,21 @@
> -fix the compile error do to perl update
> +From 685474734bc1f576b4230fc533457a3c2347cf50 Mon Sep 17 00:00:00 2001
> +From: Armin Kuster <akuster808@gmail.com>
> +Date: Fri, 10 Jul 2015 20:49:41 -0700
> +Subject: [PATCH] fix the compile error do to perl update
>
>  Upstream-status: Inappropriate
>
> -
>  Signed-of-by: Armin Kuster <akuster808@gmail.com>
>
> -Index: src/config/milestone.pl
> -===================================================================
> ---- src.orig/config/milestone.pl
> -+++ src/config/milestone.pl
> -@@ -55,7 +55,7 @@ $MILESTONE_FILE  = "$TOPSRCDIR/config/mi
> +---
> + js/src/config/milestone.pl | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/js/src/config/milestone.pl b/js/src/config/milestone.pl
> +index db3f6dd..49b9568 100644
> +--- a/js/src/config/milestone.pl
> ++++ b/js/src/config/milestone.pl
> +@@ -55,7 +55,7 @@ $MILESTONE_FILE  = "$TOPSRCDIR/config/milestone.txt";
>   #
>   my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
>
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
> b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
> index 49b7f156e1..cea97b2310 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
> +++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
> @@ -4,18 +4,18 @@ LICENSE = "MPL-2.0"
>  LIC_FILES_CHKSUM = "file://../../LICENSE;md5=
> 815ca599c9df247a0c7f619bab123dad"
>
>  SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/${BPN}${PV}.tar.gz \
> -           file://0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch \
> -           file://0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
> \
> -           file://0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch;patchdir=../../
> \
> -           file://0003-Add-AArch64-support.patch;patchdir=../../ \
> -           file://0004-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../../
> \
> -           file://0005-aarch64-64k-page.patch;patchdir=../../ \
> -           file://0001-regenerate-configure.patch;patchdir=../../ \
> -           file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../
> \
> -           file://fix_milestone_compile_issue.patch \
> -           file://0010-fix-cross-compilation-on-i586-targets.patch;patchdir=../../
> \
> -           file://Manually_mmap_heap_memory_esr17.patch;patchdir=../../ \
> -           file://0001-compare-the-first-character-of-string-to-be-null-or-.patch;patchdir=../../
> \
> +           file://0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch;patchdir=../..
> \
> +           file://0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch;patchdir=../..
> \
> +           file://0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch;patchdir=../..
> \
> +           file://0003-Add-AArch64-support.patch;patchdir=../.. \
> +           file://0004-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../..
> \
> +           file://0005-aarch64-64k-page.patch;patchdir=../.. \
> +           file://0001-regenerate-configure.patch;patchdir=../.. \
> +           file://fix-the-compile-error-of-powerpc64.patch;patchdir=../..
> \
> +           file://fix_milestone_compile_issue.patch;patchdir=../.. \
> +           file://0010-fix-cross-compilation-on-i586-targets.patch;patchdir=../..
> \
> +           file://Manually_mmap_heap_memory_esr17.patch;patchdir=../.. \
> +           file://0001-compare-the-first-character-of-string-to-be-null-or-.patch;patchdir=../..
> \
>             "
>
>  SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202"
> --
> 2.15.1
>
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [meta-oe][PATCHv3] mozjs: refresh patches
  2018-03-26 20:57     ` Martin Jansa
@ 2018-03-26 21:43       ` Martin Jansa
  2018-03-26 22:02         ` Andreas Müller
  0 siblings, 1 reply; 14+ messages in thread
From: Martin Jansa @ 2018-03-26 21:43 UTC (permalink / raw)
  To: openembedded-devel

WARNING: mozjs-17.0.0-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch Manually_mmap_heap_memory_esr17.patch
patching file js/src/gc/Memory.cpp
Hunk #1 succeeded at 309 with fuzz 1 (offset 3 lines).
Hunk #2 succeeded at 391 (offset 3 lines).

Now at patch Manually_mmap_heap_memory_esr17.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 ...ozjs17.0.0-fix-the-compile-bug-of-powerpc.patch | 17 +++++++-------
 ...not-include-RequiredDefines.h-for-depend.patch} | 17 +++++++-------
 ...3-Move-JS_BYTES_PER_WORD-out-of-config.h.patch} | 12 ++++------
 ...upport.patch => 0004-Add-AArch64-support.patch} | 14 +++++------
 ...-mozbug746112-no-decommit-on-large-pages.patch} | 12 ++++------
 ...-64k-page.patch => 0006-aarch64-64k-page.patch} | 12 ++++------
 ...-regenerate-configure-with-autoconf-2.13.patch} |  8 +++----
 .../0008-fix-the-compile-error-of-powerpc64.patch  | 27 ++++++++++++++++++++++
 ...9-fix-the-compile-error-do-to-perl-update.patch | 27 ++++++++++++++++++++++
 ...010-fix-cross-compilation-on-i586-targets.patch | 11 ++++-----
 ...Manually-mmap-on-arm64-to-ensure-high-17.patch} | 14 +++++------
 ...first-character-of-string-to-be-null-or-.patch} |  7 +++---
 .../mozjs/fix-the-compile-error-of-powerpc64.patch | 18 ---------------
 .../mozjs/mozjs/fix_milestone_compile_issue.patch  | 20 ----------------
 meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb     | 26 ++++++++++-----------
 15 files changed, 122 insertions(+), 120 deletions(-)
 rename meta-oe/recipes-extended/mozjs/mozjs/{0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch => 0002-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch} (80%)
 rename meta-oe/recipes-extended/mozjs/mozjs/{0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch => 0003-Move-JS_BYTES_PER_WORD-out-of-config.h.patch} (92%)
 rename meta-oe/recipes-extended/mozjs/mozjs/{0003-Add-AArch64-support.patch => 0004-Add-AArch64-support.patch} (92%)
 rename meta-oe/recipes-extended/mozjs/mozjs/{0004-mozbug746112-no-decommit-on-large-pages.patch => 0005-mozbug746112-no-decommit-on-large-pages.patch} (95%)
 rename meta-oe/recipes-extended/mozjs/mozjs/{0005-aarch64-64k-page.patch => 0006-aarch64-64k-page.patch} (88%)
 rename meta-oe/recipes-extended/mozjs/mozjs/{0001-regenerate-configure.patch => 0007-regenerate-configure-with-autoconf-2.13.patch} (99%)
 create mode 100644 meta-oe/recipes-extended/mozjs/mozjs/0008-fix-the-compile-error-of-powerpc64.patch
 create mode 100644 meta-oe/recipes-extended/mozjs/mozjs/0009-fix-the-compile-error-do-to-perl-update.patch
 rename meta-oe/recipes-extended/mozjs/mozjs/{Manually_mmap_heap_memory_esr17.patch => 0011-Bug-1143022-Manually-mmap-on-arm64-to-ensure-high-17.patch} (94%)
 rename meta-oe/recipes-extended/mozjs/mozjs/{0001-compare-the-first-character-of-string-to-be-null-or-.patch => 0012-compare-the-first-character-of-string-to-be-null-or-.patch} (92%)
 delete mode 100644 meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
 delete mode 100644 meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch

diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch
index de72d4f9a3..6df7815bbe 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch
@@ -1,4 +1,4 @@
-From da3929a96d9c74e11bf37d128890e18fcb745365 Mon Sep 17 00:00:00 2001
+From 08b62f039e0fee50e9399ce2e48b56770f8f71e3 Mon Sep 17 00:00:00 2001
 From: Lei Maohui <leimaohui@cn.fujitsu.com>
 Date: Mon, 26 Jan 2015 08:53:19 +0900
 Subject: [PATCH] mozjs17.0.0: fix the compile bug of powerpc
@@ -10,14 +10,16 @@ argument '5' to 'JSBool TryArgumentFormatter(JSContext*, const char**,
 JSBool, jsval**, __va_list_tag (*)[1])'
 
 Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
+
+
 ---
- jscpucfg.h | 6 ++++++
+ js/src/jscpucfg.h | 6 ++++++
  1 file changed, 6 insertions(+)
 
-diff --git a/jscpucfg.h b/jscpucfg.h
-index dfb1c14..8683491 100644
---- a/jscpucfg.h
-+++ b/jscpucfg.h
+diff --git a/js/src/jscpucfg.h b/js/src/jscpucfg.h
+index 3d2022d..58d3987 100644
+--- a/js/src/jscpucfg.h
++++ b/js/src/jscpucfg.h
 @@ -47,6 +47,12 @@
  #elif defined(JS_HAVE_ENDIAN_H)
  # include <endian.h>
@@ -31,6 +33,3 @@ index dfb1c14..8683491 100644
  # if defined(__BYTE_ORDER)
  #  if __BYTE_ORDER == __LITTLE_ENDIAN
  #   define IS_LITTLE_ENDIAN 1
--- 
-1.8.4.2
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch b/meta-oe/recipes-extended/mozjs/mozjs/0002-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
similarity index 80%
rename from meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
rename to meta-oe/recipes-extended/mozjs/mozjs/0002-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
index bc141d9d57..1921d9068e 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0002-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch
@@ -1,4 +1,4 @@
-From 0a61b0b98c152f10404ccbdeeac583a486638a7a Mon Sep 17 00:00:00 2001
+From 979cf045d71d8d00b6359e27b70b27f4cbefca4a Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
 Date: Thu, 6 Jun 2013 18:36:01 +0200
 Subject: [PATCH] js.pc.in: do not include RequiredDefines.h for depending
@@ -16,20 +16,19 @@ and currently it only defines __STDC_LIMIT_MACROS
 Upstream-Status: Inappropriate [embedded specific]
 
 Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
+
+
 ---
- js.pc.in |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
+ js/src/js.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/js.pc.in b/js.pc.in
+diff --git a/js/src/js.pc.in b/js/src/js.pc.in
 index 13d761d..a95a7bd 100644
---- a/js.pc.in
-+++ b/js.pc.in
+--- a/js/src/js.pc.in
++++ b/js/src/js.pc.in
 @@ -8,4 +8,4 @@ Description: The Mozilla library for JavaScript
  Version: @MOZILLA_VERSION@
  Requires.private: @NSPR_PKGCONF_CHECK@
  Libs: -L${libdir} -l@LIBRARY_NAME@
 -Cflags: -include ${includedir}/@MODULE@/js/RequiredDefines.h -I${includedir}/@MODULE@
 +Cflags: -I${includedir}/@MODULE@
--- 
-1.7.6.5
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch b/meta-oe/recipes-extended/mozjs/mozjs/0003-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
similarity index 92%
rename from meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
rename to meta-oe/recipes-extended/mozjs/mozjs/0003-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
index 6aeb2f6836..500c143244 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0003-Move-JS_BYTES_PER_WORD-out-of-config.h.patch
@@ -1,15 +1,16 @@
-From d4a15ad82292ff6d772dcc631df98754d20be31b Mon Sep 17 00:00:00 2001
+From 8440685a6e2abd3d6adc7c53a98b5a1ff2d47084 Mon Sep 17 00:00:00 2001
 From: Colin Walters <walters@verbum.org>
 Date: Tue, 18 Mar 2014 11:46:05 -0400
-Subject: [PATCH 2/5] Move JS_BYTES_PER_WORD out of config.h
+Subject: [PATCH] Move JS_BYTES_PER_WORD out of config.h
 
 Instead define it in terms of the already extant GNU C extension
 __SIZEOF_POINTER__.  This avoids multiarch conflicts when 32 and 64
 bit packages of js are co-installed.
----
 
-Upstream-status: Pending
+Upstream-Status: Pending
+
 
+---
  js/src/configure.in   |  9 ---------
  js/src/js-config.h.in |  1 -
  js/src/jstypes.h      | 12 ++++++++++++
@@ -70,6 +71,3 @@ index d0cf183..3e7928f 100644
  
  /***********************************************************************
  ** MACROS:      JS_EXTERN_API
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch b/meta-oe/recipes-extended/mozjs/mozjs/0004-Add-AArch64-support.patch
similarity index 92%
rename from meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch
rename to meta-oe/recipes-extended/mozjs/mozjs/0004-Add-AArch64-support.patch
index 6e724292a4..f4a588679e 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0003-Add-AArch64-support.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0004-Add-AArch64-support.patch
@@ -1,11 +1,14 @@
-From 15e710e331d36eb279852b5cd1ba37a9a6005217 Mon Sep 17 00:00:00 2001
+From 3da3d5331905da69215044b645a0080bc36f5262 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <koen.kooi@linaro.org>
 Date: Mon, 2 Mar 2015 19:08:22 +0800
-Subject: [PATCH 3/5] Add AArch64 support
+Subject: [PATCH] Add AArch64 support
+
+Upstream-Status: Pending
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
 
----
-Upstream-status: Pending
 
+---
  js/src/assembler/jit/ExecutableAllocator.h | 6 ++++++
  js/src/assembler/wtf/Platform.h            | 4 ++++
  js/src/configure.in                        | 4 ++++
@@ -71,6 +74,3 @@ index 0eec2d9..fe26dab 100644
      defined(_MIPS_ARCH_MIPS32R2)
  #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
  #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-no-decommit-on-large-pages.patch b/meta-oe/recipes-extended/mozjs/mozjs/0005-mozbug746112-no-decommit-on-large-pages.patch
similarity index 95%
rename from meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-no-decommit-on-large-pages.patch
rename to meta-oe/recipes-extended/mozjs/mozjs/0005-mozbug746112-no-decommit-on-large-pages.patch
index 8bd35d4055..891ef0cfc9 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0004-mozbug746112-no-decommit-on-large-pages.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0005-mozbug746112-no-decommit-on-large-pages.patch
@@ -1,11 +1,12 @@
-From 0128c5a9eeee0d3fc0deb9129dd20eb79338c8f4 Mon Sep 17 00:00:00 2001
+From 487eb121c65b3df72a847984304c0b212e450353 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <koen.kooi@linaro.org>
 Date: Mon, 2 Mar 2015 19:08:59 +0800
-Subject: [PATCH 4/5] mozbug746112-no-decommit-on-large-pages
+Subject: [PATCH] mozbug746112-no-decommit-on-large-pages
+
+Upstream-Status: Pending
 
----
-Upstream-status: Pending
 
+---
  js/src/gc/Heap.h | 15 ++++++++++-----
  js/src/jsgc.cpp  | 15 ++++++++++++---
  2 files changed, 22 insertions(+), 8 deletions(-)
@@ -98,6 +99,3 @@ index b3caf05..a258d2d 100644
              }
  
              if (ok) {
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch b/meta-oe/recipes-extended/mozjs/mozjs/0006-aarch64-64k-page.patch
similarity index 88%
rename from meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch
rename to meta-oe/recipes-extended/mozjs/mozjs/0006-aarch64-64k-page.patch
index bc99ecc504..2a6b146f4e 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0005-aarch64-64k-page.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0006-aarch64-64k-page.patch
@@ -1,11 +1,12 @@
-From 9c42920c2b635a399bd1f93833efdeb1696f17ee Mon Sep 17 00:00:00 2001
+From 9774ec850c0042d5121b4176150c40e701640600 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <koen.kooi@linaro.org>
 Date: Mon, 2 Mar 2015 19:09:57 +0800
-Subject: [PATCH 5/5] aarch64-64k-page
+Subject: [PATCH] aarch64-64k-page
+
+Upstream-Status: Pending
 
----
-Upstream-status: Pending
 
+---
  js/src/gc/Heap.h     | 2 +-
  js/src/gc/Memory.cpp | 3 +++
  2 files changed, 4 insertions(+), 1 deletion(-)
@@ -39,6 +40,3 @@ index 5b386a2..e5ad018 100644
  }
  
  void *
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch b/meta-oe/recipes-extended/mozjs/mozjs/0007-regenerate-configure-with-autoconf-2.13.patch
similarity index 99%
rename from meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch
rename to meta-oe/recipes-extended/mozjs/mozjs/0007-regenerate-configure-with-autoconf-2.13.patch
index fa413ea9f3..67d910f34b 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0001-regenerate-configure.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0007-regenerate-configure-with-autoconf-2.13.patch
@@ -1,4 +1,4 @@
-From 6440b4901c6f4bcc69686ff10806e311cc5a927b Mon Sep 17 00:00:00 2001
+From cc0e4a1a806fcb7250809dccc20a69efd77d555a Mon Sep 17 00:00:00 2001
 From: Koen Kooi <koen.kooi@linaro.org>
 Date: Tue, 3 Mar 2015 19:12:17 +0800
 Subject: [PATCH] regenerate configure with autoconf-2.13
@@ -6,12 +6,13 @@ Subject: [PATCH] regenerate configure with autoconf-2.13
 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
 Upstream-status: Inappropriate [generated file]
 
+
 ---
  js/src/configure | 838 ++++++++++++++++++++++++++-----------------------------
  1 file changed, 389 insertions(+), 449 deletions(-)
 
 diff --git a/js/src/configure b/js/src/configure
-index cb6b41b..b05298f 100755
+index cb6b41b..d019b0f 100755
 --- a/js/src/configure
 +++ b/js/src/configure
 @@ -5757,6 +5757,10 @@ arm*)
@@ -3233,6 +3234,3 @@ index cb6b41b..b05298f 100755
    rm -rf conftest*
    eval "ac_cv_func_$ac_func=yes"
  else
--- 
-1.9.3
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0008-fix-the-compile-error-of-powerpc64.patch b/meta-oe/recipes-extended/mozjs/mozjs/0008-fix-the-compile-error-of-powerpc64.patch
new file mode 100644
index 0000000000..f17af420ef
--- /dev/null
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0008-fix-the-compile-error-of-powerpc64.patch
@@ -0,0 +1,27 @@
+From bad8389bc110bd4b4b5f266c63edcf0099f56acc Mon Sep 17 00:00:00 2001
+From: Chunrong Guo <B40290@freescale.com>
+Date: Fri, 24 Apr 2015 15:15:12 +0800
+Subject: [PATCH] fix the compile error of powerpc64
+
+Upstream-status: Accepted
+
+ fix the following error
+ |error: 'jsuword' does not name a type
+
+
+---
+ js/src/jsval.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/js/src/jsval.h b/js/src/jsval.h
+index a6858ce..187f1b9 100644
+--- a/js/src/jsval.h
++++ b/js/src/jsval.h
+@@ -304,7 +304,6 @@ typedef union jsval_layout
+             int32_t        i32;
+             uint32_t       u32;
+             JSWhyMagic     why;
+-            jsuword        word;
+         } payload;
+     } s;
+     double asDouble;
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0009-fix-the-compile-error-do-to-perl-update.patch b/meta-oe/recipes-extended/mozjs/mozjs/0009-fix-the-compile-error-do-to-perl-update.patch
new file mode 100644
index 0000000000..3ad100bf29
--- /dev/null
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0009-fix-the-compile-error-do-to-perl-update.patch
@@ -0,0 +1,27 @@
+From 221d01fc756f2e7ebb6f477b1ff046f249f370c4 Mon Sep 17 00:00:00 2001
+From: Armin Kuster <akuster808@gmail.com>
+Date: Fri, 10 Jul 2015 20:49:41 -0700
+Subject: [PATCH] fix the compile error do to perl update
+
+Upstream-status: Inappropriate
+
+Signed-of-by: Armin Kuster <akuster808@gmail.com>
+
+
+---
+ js/src/config/milestone.pl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/js/src/config/milestone.pl b/js/src/config/milestone.pl
+index db3f6dd..49b9568 100644
+--- a/js/src/config/milestone.pl
++++ b/js/src/config/milestone.pl
+@@ -55,7 +55,7 @@ $MILESTONE_FILE  = "$TOPSRCDIR/config/milestone.txt";
+ #
+ my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
+ 
+-if (defined(@TEMPLATE_FILE)) {
++if (@TEMPLATE_FILE) {
+   my $TFILE;
+ 
+   foreach $TFILE (@TEMPLATE_FILE) {
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch b/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch
index 6432e1fb7b..596ba2ab85 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0010-fix-cross-compilation-on-i586-targets.patch
@@ -1,4 +1,4 @@
-From a452138a1dd274bfad381a701729783360dc86fb Mon Sep 17 00:00:00 2001
+From 25499199019de9766da4a4d70d01a322186ff889 Mon Sep 17 00:00:00 2001
 From: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
 Date: Tue, 5 Jan 2016 22:04:17 +0100
 Subject: [PATCH] fix cross compilation on i586 targets
@@ -10,13 +10,15 @@ regenerate configure, similar fix is applied there.
 Upstream-Status: Inappropriate [embedded specific]
 
 Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
+
+
 ---
  js/src/configure    | 2 +-
  js/src/configure.in | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/js/src/configure b/js/src/configure
-index d019b0fdba44233596541de94307010d85a8e32e..5aa40f757a3dbb7d6887175046f44212c15c2eac 100755
+index d019b0f..5aa40f7 100755
 --- a/js/src/configure
 +++ b/js/src/configure
 @@ -5555,7 +5555,7 @@ TARGET_MD_ARCH=unix
@@ -29,7 +31,7 @@ index d019b0fdba44233596541de94307010d85a8e32e..5aa40f757a3dbb7d6887175046f44212
  MOZ_COMPONENT_NSPR_LIBS='-L$(LIBXUL_DIST)/bin $(NSPR_LIBS)'
  
 diff --git a/js/src/configure.in b/js/src/configure.in
-index 0673aca12f6d83035549ade2a4a83906bf91f0f0..39b22724f9535ac1a6dba04658c91e4ef667fc47 100644
+index 0673aca..39b2272 100644
 --- a/js/src/configure.in
 +++ b/js/src/configure.in
 @@ -919,7 +919,7 @@ TARGET_MD_ARCH=unix
@@ -41,6 +43,3 @@ index 0673aca12f6d83035549ade2a4a83906bf91f0f0..39b22724f9535ac1a6dba04658c91e4e
  
  MOZ_COMPONENT_NSPR_LIBS='-L$(LIBXUL_DIST)/bin $(NSPR_LIBS)'
  
--- 
-2.5.0
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_heap_memory_esr17.patch b/meta-oe/recipes-extended/mozjs/mozjs/0011-Bug-1143022-Manually-mmap-on-arm64-to-ensure-high-17.patch
similarity index 94%
rename from meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_heap_memory_esr17.patch
rename to meta-oe/recipes-extended/mozjs/mozjs/0011-Bug-1143022-Manually-mmap-on-arm64-to-ensure-high-17.patch
index 15ad03f712..10f6717c8b 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/Manually_mmap_heap_memory_esr17.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0011-Bug-1143022-Manually-mmap-on-arm64-to-ensure-high-17.patch
@@ -1,4 +1,4 @@
-From a0c0f32299419359b44ac0f880c1ea9073ae51e1 Mon Sep 17 00:00:00 2001
+From e577e1838a46c16200bb3bfa5cf2faf84a7da904 Mon Sep 17 00:00:00 2001
 From: Zheng Xu <zheng.xu@linaro.org>
 Date: Fri, 2 Sep 2016 17:40:05 +0800
 Subject: [PATCH] Bug 1143022 - Manually mmap on arm64 to ensure high 17 bits
@@ -11,16 +11,17 @@ Change-Id: Ic5d2b2fe4b758b3c87cc0688348af7e71a991146
 
 Upstream-status: Backport
 
+
 ---
  js/src/gc/Memory.cpp | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++--
  1 file changed, 71 insertions(+), 2 deletions(-)
 
 diff --git a/js/src/gc/Memory.cpp b/js/src/gc/Memory.cpp
-index 5b386a2..38101cf 100644
+index e5ad018..4149adf 100644
 --- a/js/src/gc/Memory.cpp
 +++ b/js/src/gc/Memory.cpp
-@@ -306,6 +306,75 @@ InitMemorySubsystem()
-         MOZ_CRASH();
+@@ -309,6 +309,75 @@ InitMemorySubsystem()
+ #endif
  }
  
 +static inline void *
@@ -95,7 +96,7 @@ index 5b386a2..38101cf 100644
  void *
  MapAlignedPages(size_t size, size_t alignment)
  {
-@@ -319,12 +388,12 @@ MapAlignedPages(size_t size, size_t alignment)
+@@ -322,12 +391,12 @@ MapAlignedPages(size_t size, size_t alignment)
  
      /* Special case: If we want page alignment, no further work is needed. */
      if (alignment == PageSize) {
@@ -110,6 +111,3 @@ index 5b386a2..38101cf 100644
      if (region == MAP_FAILED)
          return NULL;
  
--- 
-1.9.1
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch b/meta-oe/recipes-extended/mozjs/mozjs/0012-compare-the-first-character-of-string-to-be-null-or-.patch
similarity index 92%
rename from meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch
rename to meta-oe/recipes-extended/mozjs/mozjs/0012-compare-the-first-character-of-string-to-be-null-or-.patch
index 40d646c7df..61fb529e17 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs/0012-compare-the-first-character-of-string-to-be-null-or-.patch
@@ -1,4 +1,4 @@
-From f36c9476d2816e0d3e61c9e13c22ed73883cb54a Mon Sep 17 00:00:00 2001
+From b79d8fefb78c0cfb2144db9282a28fb1aa1ad372 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Mon, 24 Apr 2017 12:13:43 -0700
 Subject: [PATCH] compare the first character of string to be null or not
@@ -10,6 +10,8 @@ error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
 |                          ^~~~
 
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+
 ---
  js/src/shell/jsoptparse.cpp | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
@@ -27,6 +29,3 @@ index b49d0a5..612aa00 100644
              return error("A value is required for option %.*s", eq - argv[*i], argv[*i]);
          return Okay;
      }
--- 
-2.12.2
-
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch b/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
deleted file mode 100644
index 43c459042b..0000000000
--- a/meta-oe/recipes-extended/mozjs/mozjs/fix-the-compile-error-of-powerpc64.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-fix the compile error of powerpc64
- 
-Upstream-status: Accepted
-
- fix the following error
- |error: 'jsuword' does not name a type
-
-
---- a/js/src/jsval.hold	2015-04-24 01:15:06.692970731 -0500
-+++ b/js/src/jsval.h	2015-04-24 01:15:41.792969478 -0500
-@@ -304,7 +304,6 @@
-             int32_t        i32;
-             uint32_t       u32;
-             JSWhyMagic     why;
--            jsuword        word;
-         } payload;
-     } s;
-     double asDouble;
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch b/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch
deleted file mode 100644
index abde01bcdb..0000000000
--- a/meta-oe/recipes-extended/mozjs/mozjs/fix_milestone_compile_issue.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-fix the compile error do to perl update
-
-Upstream-status: Inappropriate
-
-
-Signed-of-by: Armin Kuster <akuster808@gmail.com>
-
-Index: src/config/milestone.pl
-===================================================================
---- src.orig/config/milestone.pl
-+++ src/config/milestone.pl
-@@ -55,7 +55,7 @@ $MILESTONE_FILE  = "$TOPSRCDIR/config/mi
- #
- my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
- 
--if (defined(@TEMPLATE_FILE)) {
-+if (@TEMPLATE_FILE) {
-   my $TFILE;
- 
-   foreach $TFILE (@TEMPLATE_FILE) {
diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
index 49b7f156e1..13be7caef9 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
@@ -4,19 +4,19 @@ LICENSE = "MPL-2.0"
 LIC_FILES_CHKSUM = "file://../../LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
 
 SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/${BPN}${PV}.tar.gz \
-           file://0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch \
-           file://0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch \
-           file://0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch;patchdir=../../ \
-           file://0003-Add-AArch64-support.patch;patchdir=../../ \
-           file://0004-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../../ \
-           file://0005-aarch64-64k-page.patch;patchdir=../../ \
-           file://0001-regenerate-configure.patch;patchdir=../../ \
-           file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../ \
-           file://fix_milestone_compile_issue.patch \
-           file://0010-fix-cross-compilation-on-i586-targets.patch;patchdir=../../ \
-           file://Manually_mmap_heap_memory_esr17.patch;patchdir=../../ \
-           file://0001-compare-the-first-character-of-string-to-be-null-or-.patch;patchdir=../../ \
-           "
+    file://0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch;patchdir=../.. \
+    file://0002-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch;patchdir=../.. \
+    file://0003-Move-JS_BYTES_PER_WORD-out-of-config.h.patch;patchdir=../.. \
+    file://0004-Add-AArch64-support.patch;patchdir=../.. \
+    file://0005-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../.. \
+    file://0006-aarch64-64k-page.patch;patchdir=../.. \
+    file://0007-regenerate-configure-with-autoconf-2.13.patch;patchdir=../.. \
+    file://0008-fix-the-compile-error-of-powerpc64.patch;patchdir=../.. \
+    file://0009-fix-the-compile-error-do-to-perl-update.patch;patchdir=../.. \
+    file://0010-fix-cross-compilation-on-i586-targets.patch;patchdir=../.. \
+    file://0011-Bug-1143022-Manually-mmap-on-arm64-to-ensure-high-17.patch;patchdir=../.. \
+    file://0012-compare-the-first-character-of-string-to-be-null-or-.patch;patchdir=../.. \
+"
 
 SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202"
 SRC_URI[sha256sum] = "321e964fe9386785d3bf80870640f2fa1c683e32fe988eeb201b04471c172fba"
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [meta-oe][PATCHv3] mozjs: refresh patches
  2018-03-26 21:43       ` [meta-oe][PATCHv3] " Martin Jansa
@ 2018-03-26 22:02         ` Andreas Müller
  2018-03-26 22:11           ` Martin Jansa
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Müller @ 2018-03-26 22:02 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembeded-devel

On Mon, Mar 26, 2018 at 11:43 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> WARNING: mozjs-17.0.0-r0 do_patch:
> Some of the context lines in patches were ignored. This can lead to
> incorrectly applied patches.
> The context lines in the patches can be updated with devtool:
>
>     devtool modify <recipe>
>     devtool finish --force-patch-refresh <recipe> <layer_path>
>
> Then the updated patches and the source tree (in devtool's workspace)
> should be reviewed to make sure the patches apply in the correct place
> and don't introduce duplicate lines (which can, and does happen
> when some of the context is ignored). Further information:
> http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
> Details:
> Applying patch Manually_mmap_heap_memory_esr17.patch
> patching file js/src/gc/Memory.cpp
> Hunk #1 succeeded at 309 with fuzz 1 (offset 3 lines).
> Hunk #2 succeeded at 391 (offset 3 lines).
>
> Now at patch Manually_mmap_heap_memory_esr17.patch
>
Why don't you adjust the patch mentioned in the warning only? Might
sound lazy but touching all patches is dangerous business. I have seen
cases where devtool does unexpected/unnecessary modifications so I
tend to keep diff small. My workflow:
* run devtool commands
* if the patches are at different place (files -> recipename) -> move
them back (of course only those build complained)
* remove / checkout those patches which were OK
* use git add -p <patchfile> to check in only those parts important
* git checkout remaining changes
* commit

Andreas


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-oe][PATCHv3] mozjs: refresh patches
  2018-03-26 22:02         ` Andreas Müller
@ 2018-03-26 22:11           ` Martin Jansa
  2018-03-26 22:27             ` Andreas Müller
  0 siblings, 1 reply; 14+ messages in thread
From: Martin Jansa @ 2018-03-26 22:11 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembeded-devel

Mostly because I find the proper patch headers useful.

When doing the refresh now, I find it useful to also add original author
and patch headers even to patches which currently apply cleanly, so that
next time I can just use "git am foo/*" (or use git as a PATCHTOOL) and get
usable results.

I understand that it adds unnecessary changes (not needed to fix the
WARNING), but IMHO better in separate "refresh patches" commit, than next
time someone uses devtool for actual mozjs upgrade which might refresh the
patches even more to make them applicable on new base version.

Regards,

On Tue, Mar 27, 2018 at 12:02 AM, Andreas Müller <schnitzeltony@gmail.com>
wrote:

> On Mon, Mar 26, 2018 at 11:43 PM, Martin Jansa <martin.jansa@gmail.com>
> wrote:
> > WARNING: mozjs-17.0.0-r0 do_patch:
> > Some of the context lines in patches were ignored. This can lead to
> > incorrectly applied patches.
> > The context lines in the patches can be updated with devtool:
> >
> >     devtool modify <recipe>
> >     devtool finish --force-patch-refresh <recipe> <layer_path>
> >
> > Then the updated patches and the source tree (in devtool's workspace)
> > should be reviewed to make sure the patches apply in the correct place
> > and don't introduce duplicate lines (which can, and does happen
> > when some of the context is ignored). Further information:
> > http://lists.openembedded.org/pipermail/openembedded-core/
> 2018-March/148675.html
> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
> > Details:
> > Applying patch Manually_mmap_heap_memory_esr17.patch
> > patching file js/src/gc/Memory.cpp
> > Hunk #1 succeeded at 309 with fuzz 1 (offset 3 lines).
> > Hunk #2 succeeded at 391 (offset 3 lines).
> >
> > Now at patch Manually_mmap_heap_memory_esr17.patch
> >
> Why don't you adjust the patch mentioned in the warning only? Might
> sound lazy but touching all patches is dangerous business. I have seen
> cases where devtool does unexpected/unnecessary modifications so I
> tend to keep diff small. My workflow:
> * run devtool commands
> * if the patches are at different place (files -> recipename) -> move
> them back (of course only those build complained)
> * remove / checkout those patches which were OK
> * use git add -p <patchfile> to check in only those parts important
> * git checkout remaining changes
> * commit
>
> Andreas
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-oe][PATCHv3] mozjs: refresh patches
  2018-03-26 22:11           ` Martin Jansa
@ 2018-03-26 22:27             ` Andreas Müller
  2018-03-26 23:02               ` Andreas Müller
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Müller @ 2018-03-26 22:27 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembeded-devel

On Tue, Mar 27, 2018 at 12:11 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> Mostly because I find the proper patch headers useful.
>
> When doing the refresh now, I find it useful to also add original author and
> patch headers even to patches which currently apply cleanly, so that next
> time I can just use "git am foo/*" (or use git as a PATCHTOOL) and get
> usable results.
>
> I understand that it adds unnecessary changes (not needed to fix the
> WARNING), but IMHO better in separate "refresh patches" commit, than next
> time someone uses devtool for actual mozjs upgrade which might refresh the
> patches even more to make them applicable on new base version.
>
> Regards,
>
Understood - but by moving the patches devtool has created to the
original location (often they are already there) and use git add -p
you can decide for each Hunk if that is necessary or not - but it's
not that important to start a longer thread for this :)

Cheers

Andreas


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-oe][PATCHv3] mozjs: refresh patches
  2018-03-26 22:27             ` Andreas Müller
@ 2018-03-26 23:02               ` Andreas Müller
  2018-03-27  4:48                 ` Martin Jansa
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Müller @ 2018-03-26 23:02 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembeded-devel

On Tue, Mar 27, 2018 at 12:27 AM, Andreas Müller
<schnitzeltony@gmail.com> wrote:
> On Tue, Mar 27, 2018 at 12:11 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> Mostly because I find the proper patch headers useful.
>>
>> When doing the refresh now, I find it useful to also add original author and
>> patch headers even to patches which currently apply cleanly, so that next
>> time I can just use "git am foo/*" (or use git as a PATCHTOOL) and get
>> usable results.
>>
>> I understand that it adds unnecessary changes (not needed to fix the
>> WARNING), but IMHO better in separate "refresh patches" commit, than next
>> time someone uses devtool for actual mozjs upgrade which might refresh the
>> patches even more to make them applicable on new base version.
>>
>> Regards,
>>
> Understood - but by moving the patches devtool has created to the
> original location (often they are already there) and use git add -p
> you can decide for each Hunk if that is necessary or not - but it's
> not that important to start a longer thread for this :)
>
Just said 'don't want a longer thread' - and now this :)

An example from V1 demonstrates what I mean (using 'git add -p' forget
most of the rest) :

-From da3929a96d9c74e11bf37d128890e18fcb745365 Mon Sep 17 00:00:00 2001
+From 08b62f039e0fee50e9399ce2e48b56770f8f71e3 Mon Sep 17 00:00:00 2001
^ This is not necessary
 From: Lei Maohui <leimaohui@cn.fujitsu.com>
 Date: Mon, 26 Jan 2015 08:53:19 +0900
 Subject: [PATCH] mozjs17.0.0: fix the compile bug of powerpc
@@ -10,14 +10,16 @@ argument '5' to 'JSBool
TryArgumentFormatter(JSContext*, const char**,
 JSBool, jsval**, __va_list_tag (*)[1])'

 Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
+
+
^ same here
 ---
- jscpucfg.h | 6 ++++++
+ js/src/jscpucfg.h | 6 ++++++
  1 file changed, 6 insertions(+)
^ This is wrong - devtool does not take care for 'S =
"${WORKDIR}/${BPN}${PV}/js/src"' in recipe (I should open a bug for
that)

You'd noticed that by checking in each hunk interactively that's all I
wanted to suggest. Devtool is a very strong helper - I use it - but I
just don't agree with all it suggests and try to the patch diffs
small.

Time for zzz..

Andreas


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-oe][PATCHv3] mozjs: refresh patches
  2018-03-26 23:02               ` Andreas Müller
@ 2018-03-27  4:48                 ` Martin Jansa
  0 siblings, 0 replies; 14+ messages in thread
From: Martin Jansa @ 2018-03-27  4:48 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembeded-devel

[-- Attachment #1: Type: text/plain, Size: 2871 bytes --]

On Tue, Mar 27, 2018 at 01:02:02AM +0200, Andreas Müller wrote:
> On Tue, Mar 27, 2018 at 12:27 AM, Andreas Müller
> <schnitzeltony@gmail.com> wrote:
> > On Tue, Mar 27, 2018 at 12:11 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >> Mostly because I find the proper patch headers useful.
> >>
> >> When doing the refresh now, I find it useful to also add original author and
> >> patch headers even to patches which currently apply cleanly, so that next
> >> time I can just use "git am foo/*" (or use git as a PATCHTOOL) and get
> >> usable results.
> >>
> >> I understand that it adds unnecessary changes (not needed to fix the
> >> WARNING), but IMHO better in separate "refresh patches" commit, than next
> >> time someone uses devtool for actual mozjs upgrade which might refresh the
> >> patches even more to make them applicable on new base version.
> >>
> >> Regards,
> >>
> > Understood - but by moving the patches devtool has created to the
> > original location (often they are already there) and use git add -p
> > you can decide for each Hunk if that is necessary or not - but it's
> > not that important to start a longer thread for this :)
> >
> Just said 'don't want a longer thread' - and now this :)
> 
> An example from V1 demonstrates what I mean (using 'git add -p' forget
> most of the rest) :
> 
> -From da3929a96d9c74e11bf37d128890e18fcb745365 Mon Sep 17 00:00:00 2001
> +From 08b62f039e0fee50e9399ce2e48b56770f8f71e3 Mon Sep 17 00:00:00 2001
> ^ This is not necessary
>  From: Lei Maohui <leimaohui@cn.fujitsu.com>
>  Date: Mon, 26 Jan 2015 08:53:19 +0900
>  Subject: [PATCH] mozjs17.0.0: fix the compile bug of powerpc
> @@ -10,14 +10,16 @@ argument '5' to 'JSBool
> TryArgumentFormatter(JSContext*, const char**,
>  JSBool, jsval**, __va_list_tag (*)[1])'
> 
>  Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
> +
> +
> ^ same here
>  ---
> - jscpucfg.h | 6 ++++++
> + js/src/jscpucfg.h | 6 ++++++
>   1 file changed, 6 insertions(+)
> ^ This is wrong - devtool does not take care for 'S =
> "${WORKDIR}/${BPN}${PV}/js/src"' in recipe (I should open a bug for
> that)

That's why I've added patchdir=../.. to all the patches in SRC_URI, some
already had it. As bonus it makes it easily applicable with git am.

Where it really didn't work was 0004-Add-AArch64-support.patch which was
loosing the diff for mfbt/double-conversion/utils.h (which is outside S,
maybe because devtool was trying to be clever and include only diff
inside S).

Regards,
> 
> You'd noticed that by checking in each hunk interactively that's all I
> wanted to suggest. Devtool is a very strong helper - I use it - but I
> just don't agree with all it suggests and try to the patch diffs
> small.
> 
> Time for zzz..
> 
> Andreas

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-03-27  4:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-21 16:51 [meta-oe][PATCH 1/4] krb5: refresh patches Martin Jansa
2018-03-21 16:52 ` [meta-oe][PATCH 2/4] libqmi: refresh patch Martin Jansa
2018-03-21 16:52 ` [meta-oe][PATCH 3/4] mozjs: refresh patches Martin Jansa
2018-03-21 17:03   ` [meta-oe][PATCHv2 " Martin Jansa
2018-03-26 20:57     ` Martin Jansa
2018-03-26 21:43       ` [meta-oe][PATCHv3] " Martin Jansa
2018-03-26 22:02         ` Andreas Müller
2018-03-26 22:11           ` Martin Jansa
2018-03-26 22:27             ` Andreas Müller
2018-03-26 23:02               ` Andreas Müller
2018-03-27  4:48                 ` Martin Jansa
2018-03-21 16:52 ` [meta-oe][PATCH 4/4] pidgin: " Martin Jansa
2018-03-21 16:57 ` [meta-oe][PATCH 1/4] krb5: " Martin Jansa
2018-03-21 17:03   ` [meta-oe][PATCHv2 " Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.