Page MenuHomeFreeBSD

Fix vi build on Linux/macOS
ClosedPublic

Authored by arichardson on Sep 19 2020, 1:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 7, 9:35 PM
Unknown Object (File)
Feb 21 2025, 7:51 AM
Unknown Object (File)
Feb 17 2025, 11:52 PM
Unknown Object (File)
Feb 8 2025, 4:16 AM
Unknown Object (File)
Feb 8 2025, 3:57 AM
Unknown Object (File)
Feb 8 2025, 1:26 AM
Unknown Object (File)
Jan 26 2025, 11:23 PM
Unknown Object (File)
Jan 24 2025, 5:20 PM
Subscribers

Details

Summary

This absolute include causes a build failure on Linux for me:
.../cheri/freebsd/contrib/nvi/cl/../common/common.h:10:10: fatal error: '/usr/include/db.h' file not found
#include "/usr/include/db.h" /* Only include db1. */

This change patches the file to use #include <db.h> instead until a
solution has been found upstream. See also https://github.com/lichray/nvi2/issues/69

Test Plan

compiles now

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable