Page MenuHomeFreeBSD

Fix vi build on Linux/macOS
ClosedPublic

Authored by arichardson on Sep 19 2020, 1:27 PM.
Tags
None
Referenced Files
F103140673: D26480.diff
Thu, Nov 21, 1:20 PM
Unknown Object (File)
Wed, Nov 13, 3:38 PM
Unknown Object (File)
Sat, Nov 2, 9:49 PM
Unknown Object (File)
Thu, Oct 31, 6:32 AM
Unknown Object (File)
Mon, Oct 28, 10:32 AM
Unknown Object (File)
Sep 30 2024, 2:12 AM
Unknown Object (File)
Sep 30 2024, 1:04 AM
Unknown Object (File)
Sep 27 2024, 11:48 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