mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
813924ef7c
All the jdks have a -Wuninitialized-const-pointer error due to passing the uninitialized pict_attr to XRenderCreatePicture() for which this is a const argument. This should be harmless because the valuemask is 0, so none of the attributes are read in _XRenderProcessPictureAttributes(). Initializing the attributes to 0 doesn't change that but makes the compiler happy. Same fix is already upstream: https://github.com/bsdkurt/jdk/commit/0dd5b59194f32f54c2ec6572833f45e1402515ba On top of that jdk/25 has -Wnontrivial-memcall errors, with an annotation that suggests an explicit cast to void *, which probably just papers over the actual problem... https://github.com/llvm/llvm-project/pull/111434 https://gcc.gnu.org/legacy-ml/gcc-patches/2017-04/msg01571.html Better fix here, but kurt thinks it's not worth backporting: https://github.com/bsdkurt/jdk/commit/66fb015267058f9b5e6788eaeaa758be56ba553e