https://github.com/CTSRD-CHERI/cheribsd-ports/commit/d91ad7dc57876 introduced a change to replace embedded gnulib-generated stdint.h files with an include directive for the system's stdint.h. The reason for that was to remove stdint.h that is not adapted to CheriABI and undefines uintptr_t.
This change broke editors/emacs and possibly other ports that expect *_WIDTH macros from gnulib. For CheriABI builds, we patched particular ports to provide the macros.
Instead, we should generate a stdint.h header from gnulib that is adapted to CheriABI and provides *_WIDTH macros.
https://github.com/CTSRD-CHERI/cheribsd-ports/commit/d91ad7dc57876 introduced a change to replace embedded gnulib-generated stdint.h files with an include directive for the system's stdint.h. The reason for that was to remove stdint.h that is not adapted to CheriABI and undefines uintptr_t.
This change broke editors/emacs and possibly other ports that expect *_WIDTH macros from gnulib. For CheriABI builds, we patched particular ports to provide the macros.
Instead, we should generate a stdint.h header from gnulib that is adapted to CheriABI and provides *_WIDTH macros.