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, Jan 24, 5:20 PM
Unknown Object (File)
Fri, Jan 24, 11:56 AM
Unknown Object (File)
Thu, Jan 23, 6:59 PM
Unknown Object (File)
Sat, Jan 18, 5:32 PM
Unknown Object (File)
Fri, Jan 10, 12:29 AM
Unknown Object (File)
Nov 21 2024, 1:20 PM
Unknown Object (File)
Nov 13 2024, 3:38 PM
Unknown Object (File)
Nov 2 2024, 9:49 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

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 33644
Build 30886: arc lint + arc unit