summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-06 18:12:23 +0100
committerSam James <sam@gentoo.org>2022-10-06 18:13:31 +0100
commit28b0e6b360bca9840cba0f185df826897206bf31 (patch)
treefbb8ac7ee086a3c33af49bc76c70f81aace4dcc7 /dev-libs/argtable/files
parentwww-client/chromium: stabilize 106.0.5249.103 amd64, bug #875644 (diff)
downloadgentoo-28b0e6b360bca9840cba0f185df826897206bf31.tar.gz
gentoo-28b0e6b360bca9840cba0f185df826897206bf31.tar.bz2
gentoo-28b0e6b360bca9840cba0f185df826897206bf31.zip
dev-libs/argtable: fix build w/ Clang 16
Closes: https://bugs.gentoo.org/871231 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/argtable/files')
-rw-r--r--dev-libs/argtable/files/argtable-2.13-Fix-implicit-function-declaration.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/argtable/files/argtable-2.13-Fix-implicit-function-declaration.patch b/dev-libs/argtable/files/argtable-2.13-Fix-implicit-function-declaration.patch
new file mode 100644
index 000000000000..14ade74afaa6
--- /dev/null
+++ b/dev-libs/argtable/files/argtable-2.13-Fix-implicit-function-declaration.patch
@@ -0,0 +1,16 @@
+From febb2928d1e72c7adc914b2ef8e0611e1a5ea3fd Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Thu, 6 Oct 2022 18:10:52 +0100
+Subject: [PATCH] Fix implicit function declaration
+
+Bug: https://bugs.gentoo.org/871231
+--- a/src/arg_int.c
++++ b/src/arg_int.c
+@@ -29,6 +29,7 @@ USA.
+ /* #endif */
+
+ #include "argtable2.h"
++#include <ctype.h>
+ #include <limits.h>
+
+ /* local error codes */