git: fa0a8122f68b - main - databases/rocksdb: Remove workaround which is fixed in 6.22.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 13 Oct 2021 19:20:23 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fa0a8122f68b0a899ab22f5aa5f1ffa5b6f026a0

commit fa0a8122f68b0a899ab22f5aa5f1ffa5b6f026a0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-10-13 19:12:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-10-13 19:12:07 +0000

    databases/rocksdb: Remove workaround which is fixed in 6.22.1
---
 databases/rocksdb/Makefile | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/databases/rocksdb/Makefile b/databases/rocksdb/Makefile
index aed108f78596..1c0800edccd7 100644
--- a/databases/rocksdb/Makefile
+++ b/databases/rocksdb/Makefile
@@ -70,10 +70,6 @@ PLIST_SUB+=	LITE=""
 
 .if ${CHOSEN_COMPILER_TYPE} == clang
 CXXFLAGS+=	-Wno-inconsistent-missing-override -Wno-unused-parameter -Wno-unused-variable
-# Clang 8 detects shadow enums and stops the build. This workaround adds -Wno-error=shadow to bypass it.
-.if ${COMPILER_VERSION} >= 80
-CXXFLAGS+=	-Wno-error=shadow
-.endif
 .endif
 
 post-patch: