]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix vi build on Linux/macOS
authorAlex Richardson <arichardson@FreeBSD.org>
Mon, 21 Sep 2020 09:03:42 +0000 (09:03 +0000)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Wed, 22 Sep 2021 10:27:39 +0000 (12:27 +0200)
commit4380eb895aef2730bebee95cd6431e1e744f2cb7
tree0f4a88d0241bf24c87d1f35df7187c3a8b0c6e94
parentb4a70dd2a25c8be82bf01048ff068ebe748a32e1
Fix vi build on Linux/macOS

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

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

Reviewed By: bapt
Differential Revision: https://reviews.freebsd.org/D26480

(cherry picked from commit 2bd2b113353d79cc7bdd315c3c76e0fc13218219)
contrib/nvi/common/common.h