Github messages for voidlinux
 help / color / mirror / Atom feed
From: mhmdanas <mhmdanas@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] openjdk17: update to 17.0.9+6.
Date: Tue, 12 Sep 2023 20:56:04 +0200	[thread overview]
Message-ID: <20230912185604.EuGcajgDvXfgBytLgJ1w1fsjE-WId2p4pzCNPuwgGiY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46000@inbox.vuxu.org>

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

There is an updated pull request by mhmdanas against master on the void-packages repository

https://github.com/mhmdanas/void-packages openjdk17-17.0.9+6
https://github.com/void-linux/void-packages/pull/46000

openjdk17: update to 17.0.9+6.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

@classabbyamp

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46000.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openjdk17-17.0.9+6-46000.patch --]
[-- Type: text/x-diff, Size: 2336 bytes --]

From 9a042d5e7d3dac57811fd8141bd0e2c4a9a9a088 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Sat, 9 Sep 2023 22:00:49 +0100
Subject: [PATCH] openjdk17: update to 17.0.9+6.

---
 .../openjdk17/patches/FixNullPtrCast.patch    | 19 +++++++++++++++++++
 srcpkgs/openjdk17/template                    |  4 ++--
 2 files changed, 21 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/openjdk17/patches/FixNullPtrCast.patch

diff --git a/srcpkgs/openjdk17/patches/FixNullPtrCast.patch b/srcpkgs/openjdk17/patches/FixNullPtrCast.patch
new file mode 100644
index 0000000000000..7699327e1c2e0
--- /dev/null
+++ b/srcpkgs/openjdk17/patches/FixNullPtrCast.patch
@@ -0,0 +1,19 @@
+Patch taken from Alpine: https://git.alpinelinux.org/aports/tree/community/openjdk17/FixNullPtrCast.patch
+
+Subject: Fix cast errors with latest GCC
+Upstream: No
+Author: Simon Frankenberger <simon-alpine@fraho.eu>
+
+This patch fixes one remaining casting error reported by GCC 12 for aarch64
+
+--- old/src/hotspot/cpu/aarch64/interpreterRT_aarch64.cpp
++++ new/src/hotspot/cpu/aarch64/interpreterRT_aarch64.cpp
+@@ -267,7 +267,7 @@
+ 
+   virtual void pass_object() {
+     intptr_t* addr = single_slot_addr();
+-    intptr_t value = *addr == 0 ? NULL : (intptr_t)addr;
++    intptr_t value = *addr == 0 ? (intptr_t) 0 : (intptr_t)addr;
+     if (pass_gpr(value) < 0) {
+       pass_stack<>(value);
+     }
diff --git a/srcpkgs/openjdk17/template b/srcpkgs/openjdk17/template
index 76373a138310c..a7c107f8f7d65 100644
--- a/srcpkgs/openjdk17/template
+++ b/srcpkgs/openjdk17/template
@@ -1,6 +1,6 @@
 # Template file for 'openjdk17'
 pkgname=openjdk17
-version=17.0.8+6
+version=17.0.9+6
 revision=1
 _gtest_ver=1.8.1
 _java_ver="${version%%.*}"
@@ -45,7 +45,7 @@ license="GPL-2.0-only WITH Classpath-exception-2.0"
 homepage="http://openjdk.java.net/"
 distfiles="https://github.com/openjdk/jdk${_java_ver}u/archive/jdk-${version}.tar.gz
  https://github.com/google/googletest/archive/refs/tags/release-${_gtest_ver}.tar.gz"
-checksum="ce6e1b61c70cc9d7f3c4c27bda1fa9c21d5a54f5cdb98512c30425703dee9ce4
+checksum="6444e9125c878281bccfb0ec58e7bece8a2e22c7a0bd3eb0667a32f0d0d8ce0f
  9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c"
 provides="java-environment-${version}_1"
 patch_args="-Np1 --directory=$build_wrksrc"

  reply	other threads:[~2023-09-12 18:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-09 21:02 [PR PATCH] " mhmdanas
2023-09-12 18:56 ` mhmdanas [this message]
2023-09-12 18:58 ` [PR PATCH] [Updated] " mhmdanas
2023-09-12 21:58 ` classabbyamp
2023-09-12 21:59 ` [PR PATCH] [Merged]: " classabbyamp

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=20230912185604.EuGcajgDvXfgBytLgJ1w1fsjE-WId2p4pzCNPuwgGiY@z \
    --to=mhmdanas@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).