On Mon, 3 Feb 2025 18:50:41 GMT, Alexander Zvegintsev <azveg...@openjdk.org> 
wrote:

> This changeset updates the pipewire headers to the latest available version.
> It contains the minimum set of required header files needed to build the JDK.
> 
> The updated headers are a direct copy from the 
> https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/1.3.81 (except 
> for the `\t` -> `    ` replacement)
>  
> Testing looks good.

@MBaesken I guess it will break the AIX build again, as it did before(see 
https://github.com/openjdk/jdk/pull/14390)

Could you please check if that this PR plus the following patch is sufficient 
to avoid this?

 ```patch
--- a/src/java.desktop/unix/native/libpipewire/include/spa/param/audio/raw.h
+++ b/src/java.desktop/unix/native/libpipewire/include/spa/param/audio/raw.h
@@ -11,7 +11,15 @@ extern "C" {
 
 #include <stdint.h>
 
-#include <spa/utils/endian.h>
+#if !defined(__FreeBSD__) && !defined(__MidnightBSD__) && !defined(AIX)
+#include <endian.h>
+#endif
+
+#if defined(AIX)
+#include <sys/machine.h>
+#define __BIG_ENDIAN      BIG_ENDIAN
+#define __BYTE_ORDER      BIG_ENDIAN
+#endif
 
 /**
  * \addtogroup spa_param

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23426#issuecomment-2631882168

Reply via email to