diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-03 08:25:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-03 08:25:41 +0000 |
commit | 2f28d79786e67cf29825843d6d04d4591a27f9cf (patch) | |
tree | 8a64339e27c973dd87bc7bf3434f082998eabe76 /app-arch/cpio/files/cpio-2.13-wincompatible-function-pointer-types.patch | |
parent | 384d032fe7e048bb10cc9bc9881835c92d7e104c (diff) |
gentoo auto-resync : 03:01:2023 - 08:25:40
Diffstat (limited to 'app-arch/cpio/files/cpio-2.13-wincompatible-function-pointer-types.patch')
-rw-r--r-- | app-arch/cpio/files/cpio-2.13-wincompatible-function-pointer-types.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-arch/cpio/files/cpio-2.13-wincompatible-function-pointer-types.patch b/app-arch/cpio/files/cpio-2.13-wincompatible-function-pointer-types.patch new file mode 100644 index 000000000000..4f2dc3153656 --- /dev/null +++ b/app-arch/cpio/files/cpio-2.13-wincompatible-function-pointer-types.patch @@ -0,0 +1,23 @@ +https://bugs.gentoo.org/880373 +https://savannah.gnu.org/bugs/index.php?63349 +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=0cc39712803ade7b2d4b89c36b143dad72404063 + +From 0cc39712803ade7b2d4b89c36b143dad72404063 Mon Sep 17 00:00:00 2001 +From: Bruno Haible <bruno@clisp.org> +Date: Sun, 18 Oct 2020 14:37:13 +0200 +Subject: obstack: Fix a clang warning. + +* lib/obstack.c (print_and_abort): Mark as __attribute_noreturn__. +--- a/gnu/obstack.c ++++ b/gnu/obstack.c +@@ -326,7 +326,7 @@ int obstack_exit_failure = EXIT_FAILURE; + # include <libio/iolibio.h> + # endif + +-static _Noreturn void ++static __attribute_noreturn__ void + print_and_abort (void) + { + /* Don't change any of these strings. Yes, it would be possible to add +-- +cgit v1.1 |