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 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
Unknown Object (File)
Oct 31 2024, 6:32 AM
Unknown Object (File)
Oct 28 2024, 10:32 AM
Unknown Object (File)
Sep 30 2024, 2:12 AM
Unknown Object (File)
Sep 30 2024, 1:04 AM
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