summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <brahmajit.xyz@gmail.com>2023-05-07 00:09:19 +0530
committerSam James <sam@gentoo.org>2023-05-09 18:50:55 +0100
commit2d23fccf8d1ffc5034d1bffefce1328476d38168 (patch)
treec86507f88b7baffefe00ce908c56fdcbf3f4ecfa /dev-libs/argtable/files
parentmate-extra/mate-sensors-applet: fix undeclared function setlocale (diff)
downloadgentoo-2d23fccf8d1ffc5034d1bffefce1328476d38168.tar.gz
gentoo-2d23fccf8d1ffc5034d1bffefce1328476d38168.tar.bz2
gentoo-2d23fccf8d1ffc5034d1bffefce1328476d38168.zip
dev-libs/argtable: fix call to undeclared library function strcmp
Closes: https://bugs.gentoo.org/885609 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30899 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-undeclared-library-function.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/argtable/files/argtable-2.13-Fix-undeclared-library-function.patch b/dev-libs/argtable/files/argtable-2.13-Fix-undeclared-library-function.patch
new file mode 100644
index 000000000000..7f42d43727a5
--- /dev/null
+++ b/dev-libs/argtable/files/argtable-2.13-Fix-undeclared-library-function.patch
@@ -0,0 +1,28 @@
+From 519609d844f1e5bbf37407de8e43fa2d2be03262 Mon Sep 17 00:00:00 2001
+From: Brahmajit Das <brahmajit.xyz@gmail.com>
+Date: Sun, 7 May 2023 00:03:40 +0530
+Subject: [PATCH] Fix undeclared library function strcmp
+
+Bug: https://bugs.gentoo.org/885609
+--- a/tests/fntests.c
++++ b/tests/fntests.c
+@@ -1,5 +1,6 @@
+ #include "../src/argtable2.h"
+ #include <assert.h>
++#include <string.h>
+
+ /* for memory leak debugging */
+ #ifdef DMALLOC
+--- a/tests/test_file.c
++++ b/tests/test_file.c
+@@ -21,6 +21,7 @@ USA.
+
+ #include "../src/argtable2.h"
+ #include <stdlib.h>
++#include <string.h>
+
+ /* for memory leak debugging */
+ #ifdef DMALLOC
+--
+2.40.1
+