summaryrefslogtreecommitdiff
path: root/net-ftp/ftp/files/ftp-0.17.34.0.2.5.1-musl-glob-brace.patch
blob: 386af410e913ac5aaca454dc6b21532372633e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
https://bugs.gentoo.org/832430

See e.g. https://patchwork.kernel.org/project/selinux/patch/20180517051117.48454-5-jason@perfinion.com/ too.
--- a/ftp/cmds.h
+++ b/ftp/cmds.h
@@ -61,3 +61,7 @@
 void do_umask(int argc, char *argv[]);
 void idle_cmd(int argc, char *argv[]);
 void setpassive(void);
+
+#ifndef GLOB_BRACE
+#define GLOB_BRACE 0
+#endif