Ports: Fix less by disabling wctype
The commit c2b47c067
(LibC: Add stubs for wctype and iswctype,
2021-05-27) introduced the wctype.h header, which caused the less port
to try to build with wchar support. This patches the header generated by
the configure script to remove wchar support.
This commit is contained in:
parent
d173945dad
commit
3c6d99f696
Notes:
sideshowbarker
2024-07-18 12:06:13 +09:00
Author: https://github.com/floyza 🔰 Commit: https://github.com/SerenityOS/serenity/commit/3c6d99f6960 Pull-request: https://github.com/SerenityOS/serenity/pull/8058
1 changed files with 5 additions and 0 deletions
|
@ -9,3 +9,8 @@ https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
|
|||
depends="ncurses"
|
||||
auth_type="sig"
|
||||
auth_opts="--keyring ./gnu-keyring.gpg less-${version}.tar.gz.sig"
|
||||
|
||||
post_configure() {
|
||||
run_replace_in_file "s/#define HAVE_WCTYPE 1/\/* #undef HAVE_WCTYPE *\//" defines.h
|
||||
run touch stamp-h # prevent config.status from overwriting our changes
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue