diff options
Diffstat (limited to 'net-news/yydecode/files/yydecode-0.2.10-fix-strcmp-not-found.patch')
-rw-r--r-- | net-news/yydecode/files/yydecode-0.2.10-fix-strcmp-not-found.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-news/yydecode/files/yydecode-0.2.10-fix-strcmp-not-found.patch b/net-news/yydecode/files/yydecode-0.2.10-fix-strcmp-not-found.patch new file mode 100644 index 000000000000..9fad34a3573a --- /dev/null +++ b/net-news/yydecode/files/yydecode-0.2.10-fix-strcmp-not-found.patch @@ -0,0 +1,15 @@ +Bug: https://bugs.gentoo.org/898078 +Include string.h for strcmp functions +diff --git a/src/getopt.c b/src/getopt.c +index 10a4c32..adf91e7 100644 +--- a/src/getopt.c ++++ b/src/getopt.c +@@ -67,6 +67,8 @@ + #include <stdlib.h> + #endif /* GNU C library. */ + ++#include <string.h> ++ + /* This version of `getopt' appears to the caller like standard Unix `getopt' + but it behaves differently for the user, since it allows the user + to intersperse the options with the other arguments. |