git: f7419feda999 - stable/12 - Fix buildworld on Linux/macOS after nvi update

Baptiste Daroussin bapt at FreeBSD.org
Wed Sep 22 10:31:10 UTC 2021


The branch stable/12 has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=f7419feda99979db61a7d24d61c2cfe4ed89e206

commit f7419feda99979db61a7d24d61c2cfe4ed89e206
Author:     Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2020-10-12 10:42:24 +0000
Commit:     Baptiste Daroussin <bapt at FreeBSD.org>
CommitDate: 2021-09-22 10:28:54 +0000

    Fix buildworld on Linux/macOS after nvi update
    
    This re-applies r365941 which was lost in the nvi update.
    
    (cherry picked from commit 5ce117c698bce69808f214781fe03a2c0f451d9f)
---
 contrib/nvi/common/common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/nvi/common/common.h b/contrib/nvi/common/common.h
index dc4155610225..f2cb42fa9b9c 100644
--- a/contrib/nvi/common/common.h
+++ b/contrib/nvi/common/common.h
@@ -14,7 +14,7 @@
 #ifdef __linux__
 #include "/usr/include/db1/db.h"	/* Only include db1. */
 #else
-#include "/usr/include/db.h"	/* Only include db1. */
+#include <db.h>			/* Only include db1. */
 #endif
 #include <regex.h>		/* May refer to the bundled regex. */
 


More information about the dev-commits-src-all mailing list