All of lore.kernel.org
 help / color / mirror / Atom feed
From: konstantin.kletschke@inside-m2m.de
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-java][PATCH] openjdk-8: use relative path to build-aux in configure.ac
Date: Sun, 21 Mar 2021 02:50:20 -0700	[thread overview]
Message-ID: <16632.1616320220450473506@lists.openembedded.org> (raw)
In-Reply-To: <10715.1616102384809166671@lists.openembedded.org>

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

I incorporated two patches into my local meta-java layer. Then openjre-14 builds also!

*diff --git a/recipes-core/openjdk/openjdk-14-common.inc b/recipes-core/openjdk/openjdk-14-common.inc*

*index 36451b8..df99626 100644*

*--- a/recipes-core/openjdk/openjdk-14-common.inc*

*+++ b/recipes-core/openjdk/openjdk-14-common.inc*

@@ -30,6 +30,8 @@ SRC_URI = "\

https://hg.openjdk.java.net/jdk-updates/jdk14u/archive/jdk-${PV}-ga.tar.bz2;name=jdk \

file://0001-make-autoconf-remove-hard-dependency-on-cups.patch \

file://0002-make-autoconf-toolchain-remove-invalid-compiler-chec.patch \

+    file://0066-autoconf-fix-build-aux-path.patch \

+    file://0067-sysctl-path-fix.patch \

"

*cat patches-openjdk-14/0066-autoconf-fix-build-aux-path.patch*

diff --color -Nur jdk14u-jdk-14.0.1-ga.ORIG/make/autoconf/configure.ac jdk14u-jdk-14.0.1-ga/make/autoconf/configure.ac

--- jdk14u-jdk-14.0.1-ga.ORIG/make/autoconf/configure.ac 2020-03-05 13:10:05.000000000 +0100

+++ jdk14u-jdk-14.0.1-ga/make/autoconf/configure.ac 2021-03-20 15:59:41.985648025 +0100

@@ -33,7 +33,7 @@

AC_PREREQ([2.69])

AC_INIT(OpenJDK, openjdk, build-dev@openjdk.java.net,,http://openjdk.java.net)

-AC_CONFIG_AUX_DIR([$TOPDIR/make/autoconf/build-aux])

+AC_CONFIG_AUX_DIR([build-aux])

m4_include([build-aux/pkg.m4])

# Include these first...

*cat patches-openjdk-14/0067-sysctl-path-fix.patch*

diff --color -Nur jdk14u-jdk-14.0.1-ga.ORIG/src/jdk.incubator.jpackage/unix/native/libapplauncher/PosixPlatform.cpp jdk14u-jdk-14.0.1-ga/src/jdk.incubator.jpackage/unix/native/libapplauncher/PosixPlatform.cpp

--- jdk14u-jdk-14.0.1-ga.ORIG/src/jdk.incubator.jpackage/unix/native/libapplauncher/PosixPlatform.cpp 2020-03-05 13:10:05.000000000 +0100

+++ jdk14u-jdk-14.0.1-ga/src/jdk.incubator.jpackage/unix/native/libapplauncher/PosixPlatform.cpp 2021-03-20 19:15:37.959412799 +0100

@@ -33,7 +33,7 @@

#include <stdbool.h>

#include <sys/types.h>

#include <unistd.h>

-#include <sys/sysctl.h>

+#include <linux/sysctl.h>

#include <sys/file.h>

#include <sys/stat.h>

#include <sys/wait.h>

[-- Attachment #2: Type: text/html, Size: 10380 bytes --]

  reply	other threads:[~2021-03-21  9:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-17 22:58 [meta-java][PATCH] openjdk-8: use relative path to build-aux in configure.ac S. Lockwood-Childs
2021-03-18 21:19 ` konstantin.kletschke
2021-03-21  9:50   ` konstantin.kletschke [this message]
2021-03-22 12:59 ` [oe] " Richard Leitner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16632.1616320220450473506@lists.openembedded.org \
    --to=konstantin.kletschke@inside-m2m.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.