summaryrefslogtreecommitdiff
path: root/app-misc/cdargs/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-15 08:46:53 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-15 08:46:53 +0000
commit17e82681588151572e451b0daf68fd568531d3e4 (patch)
treee45eeba1fd9dd2d998d6d00e05f5f70a1dc8da15 /app-misc/cdargs/files
parent0ceac43bb67585fd9e439df53b32259ce1ae099e (diff)
gentoo auto-resync : 15:12:2023 - 08:46:53
Diffstat (limited to 'app-misc/cdargs/files')
-rw-r--r--app-misc/cdargs/files/cdargs-2.1-musl.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-misc/cdargs/files/cdargs-2.1-musl.patch b/app-misc/cdargs/files/cdargs-2.1-musl.patch
new file mode 100644
index 000000000000..81130482a500
--- /dev/null
+++ b/app-misc/cdargs/files/cdargs-2.1-musl.patch
@@ -0,0 +1,17 @@
+In Musl path max is in limits.h and not automatically pulled in
+
+Pascal Jäger <pascal.jaeger@leimstift.de> (2023-10-14)
+
+Bug: https://bugs.gentoo.org/713962
+upstream PR: https://github.com/cbxbiker61/cdargs/pull/8
+
+--- a/src/cdargs.cc
++++ b/src/cdargs.cc
+@@ -56,6 +56,7 @@ using namespace std;
+ # include <unistd.h>
+ # include <signal.h>
+ # include <string.h>
++# include <limits.h>
+
+ //# if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
+ # if defined(HAVE_NCURSES_H)