https://bugs.gentoo.org/881841 https://github.com/garrigue/labltk/commit/be8c977d320ed40cacb322658d4ceba5e583b3a6 From be8c977d320ed40cacb322658d4ceba5e583b3a6 Mon Sep 17 00:00:00 2001 From: Jacques Garrigue Date: Mon, 24 Aug 2020 11:27:34 +0900 Subject: [PATCH] Fix config/auto-aux/hasgot for clang 12 --- a/config/auto-aux/hasgot +++ b/config/auto-aux/hasgot @@ -30,7 +30,8 @@ while : ; do shift done -(echo "main() {" +(for f in $*; do echo "int $f();"; done + echo "int main() {" for f in $*; do echo " $f();"; done echo "}") >> hasgot.c --- a/config/auto-aux/hasgot.c +++ /dev/null @@ -1,3 +0,0 @@ -main() { - Tk_SetGrid(); -}