aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/mdb/Makefile1
-rw-r--r--devel/mdb/files/patch-mdb_Makefile11
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/mdb/Makefile b/devel/mdb/Makefile
index 862f8b0691d3..25764650c01a 100644
--- a/devel/mdb/Makefile
+++ b/devel/mdb/Makefile
@@ -1,5 +1,6 @@
PORTNAME= mdb
PORTVERSION= 20210125
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= jhb@FreeBSD.org
diff --git a/devel/mdb/files/patch-mdb_Makefile b/devel/mdb/files/patch-mdb_Makefile
new file mode 100644
index 000000000000..2258d0c3ba9b
--- /dev/null
+++ b/devel/mdb/files/patch-mdb_Makefile
@@ -0,0 +1,11 @@
+--- mdb/Makefile.orig 2021-01-25 20:32:57 UTC
++++ mdb/Makefile
+@@ -201,7 +201,7 @@ CWARNFLAGS.clang+= \
+ -Wno-shadow \
+ -Wno-sign-compare \
+ -Wno-strict-prototypes \
+- -Wno-error-tautological-pointer-compare \
++ -Wno-error=tautological-pointer-compare \
+ -Wno-unused-parameter
+
+ .if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 100000 || \