0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-11 22:33:29 +00:00
Files
termux-packages/packages/openjdk-17/0038-OUTTREE-bionic-type-redef-fix.patch
Robert Kirkman 4b5aa04efa bump(main/openjdk-17): 17.0.15
- fixes https://github.com/termux/termux-packages/issues/24527

- enable `littlecms`

- change `TERMUX_PKG_SRCURL` to match the same format as `openjdk-21`

- enable auto update

- add `--with-vendor-name="Termux"` and strip extra version strings like `openjdk-21`

- enable `TERMUX_PKG_MAKE_PROCESSES`

- remove directory before installation to fix building the same architecture twice in the same docker container

- some patches are present in the new upstream repository or are unnecessary

- some patches copied from `openjdk-21` because the code associated with them appeared in the new upstream repository
2025-05-07 07:29:19 +03:00

12 lines
460 B
Diff

--- a/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c
+++ b/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c
@@ -79,7 +79,7 @@
// by defining binary compatible statx structs in this file and
// not relying on included headers.
-#ifndef __GLIBC__
+#if !defined(__BIONIC__) && !defined(__GLIBC__)
// Alpine doesn't know these types, define them
typedef unsigned int __uint32_t;
typedef unsigned short __uint16_t;