From 5d0c0ffd63620a4db788484bd36ab92b76e7891b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Nov 2022 01:01:31 +0000 Subject: gentoo auto-resync : 20:11:2022 - 01:01:31 --- .../files/kyotocabinet-1.2.79-configure-clang16.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dev-db/kyotocabinet/files/kyotocabinet-1.2.79-configure-clang16.patch (limited to 'dev-db/kyotocabinet/files') diff --git a/dev-db/kyotocabinet/files/kyotocabinet-1.2.79-configure-clang16.patch b/dev-db/kyotocabinet/files/kyotocabinet-1.2.79-configure-clang16.patch new file mode 100644 index 000000000000..f066cd59bb3e --- /dev/null +++ b/dev-db/kyotocabinet/files/kyotocabinet-1.2.79-configure-clang16.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/879653 +--- a/configure.in ++++ b/configure.in +@@ -194,7 +194,7 @@ test -n "$LDFLAGS" && MYLDFLAGS="$LDFLAGS $MYLDFLAGS" + AC_C_BIGENDIAN(MYCPPFLAGS="$MYCPPFLAGS -D_MYBIGEND") + + printf 'checking for useless warnings... ' +-if printf 'main() {}' | $CC -xc \ ++if printf 'int main(void) {}' | $CC -xc \ + -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -o config.tmp - >config.tmp 2>&1 + then + MYCFLAGS="$MYCFLAGS -Wno-unused-but-set-variable -Wno-unused-but-set-parameter" -- cgit v1.2.3