You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slachiewicz (via GitHub)" <gi...@apache.org> on 2026/10/14 11:13:16 UTC
[PR] Drop the Jansi leftovers from the native header [maven-mvnd]
slachiewicz opened a new pull request, #1831:
URL: https://github.com/apache/maven-mvnd/pull/1831
`mvndnative.h` was copied from Jansi: it includes ncurses' `term.h` plus `libutil.h`, `util.h` and `pty.h`, and carries HawtJNI macros, none of which `mvndnative.c` uses. Building the library needs those headers installed, and on macOS `malloc` and `free` are declared only through them. The header now includes what the code calls: `stdlib.h`, `unistd.h` or `windows.h`, and `jni.h`. The committed binaries are unchanged.
Verified: clang builds `mvndnative.c` for the Linux, FreeBSD, macOS and Windows targets with `-Werror=implicit-function-declaration` and no ncurses headers.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Drop the Jansi leftovers from the native header [maven-mvnd]
Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz merged PR #1831:
URL: https://github.com/apache/maven-mvnd/pull/1831
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org