aports/community/openjdk8-corretto/icedtea-jdk-implicit.patch
Celeste abc39eddbf community/openjdk8-corretto: new aport
https://github.com/corretto/corretto-8
Amazon's no-cost, multi-platform, production-ready distribution of OpenJDK 8

This aport can be cross-compiled with the same method used
for openjdk11/17/21, unlike community/openjdk8 (icedtea).
2024-09-10 03:20:26 +00:00

16 lines
499 B
Diff

musl doesn't have isnanf, and this fixes an implicit-function-decl
how did this even compile without failing at link time?
rest for implicit
--
--- openjdk/jdk/src/solaris/native/common/jdk_util_md.h
+++ openjdk/jdk/src/solaris/native/common/jdk_util_md.h
@@ -37,7 +37,7 @@
#define ISNAND(d) isnan(d)
#elif defined(__linux__) || defined(_ALLBSD_SOURCE)
#include <math.h>
-#define ISNANF(f) isnanf(f)
+#define ISNANF(f) isnan(f)
#define ISNAND(d) isnan(d)
#elif defined(_AIX)
#include <math.h>