summaryrefslogtreecommitdiff
path: root/sys-fs/fatcat/files/fatcat-include-getopt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/fatcat/files/fatcat-include-getopt.patch')
-rw-r--r--sys-fs/fatcat/files/fatcat-include-getopt.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-fs/fatcat/files/fatcat-include-getopt.patch b/sys-fs/fatcat/files/fatcat-include-getopt.patch
new file mode 100644
index 000000000000..a9c9094eceb3
--- /dev/null
+++ b/sys-fs/fatcat/files/fatcat-include-getopt.patch
@@ -0,0 +1,11 @@
+diff -ur a/src/fatcat.cpp b/src/fatcat.cpp
+--- a/src/fatcat.cpp 2020-04-05 11:12:55.773602065 -0500
++++ b/src/fatcat.cpp 2020-04-05 11:13:14.112132604 -0500
+@@ -8,6 +8,7 @@
+ #include "xgetopt/xgetopt.h"
+ #else
+ #include <argp.h>
++#include <getopt.h>
+ #endif
+ #endif
+