diff options
author | David Seifert <soap@gentoo.org> | 2020-02-10 01:18:16 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-02-10 01:18:16 +0100 |
commit | ee6618e3c33ea3fce11ae1d0821a54c13d5151c4 (patch) | |
tree | 0835b550f53c934335e8c6c392ce341598b0ca9f /sys-apps/gscanbus/files | |
parent | sys-apps/memtester: Port to EAPI 7 (diff) | |
download | gentoo-ee6618e3c33ea3fce11ae1d0821a54c13d5151c4.tar.gz gentoo-ee6618e3c33ea3fce11ae1d0821a54c13d5151c4.tar.bz2 gentoo-ee6618e3c33ea3fce11ae1d0821a54c13d5151c4.zip |
sys-apps/gscanbus: Port to EAPI 7
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps/gscanbus/files')
-rw-r--r-- | sys-apps/gscanbus/files/gscanbus-0.8-Wimplicit-function-declaration.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-apps/gscanbus/files/gscanbus-0.8-Wimplicit-function-declaration.patch b/sys-apps/gscanbus/files/gscanbus-0.8-Wimplicit-function-declaration.patch new file mode 100644 index 000000000000..79a585694ab0 --- /dev/null +++ b/sys-apps/gscanbus/files/gscanbus-0.8-Wimplicit-function-declaration.patch @@ -0,0 +1,22 @@ +--- a/decodeselfid.c ++++ b/decodeselfid.c +@@ -25,6 +25,8 @@ + + #include "decodeselfid.h" + ++#include <string.h> ++ + void printbin(FILE *stream, unsigned int i, unsigned char width) { + int j; + for (j=0; j<width; j++) { +--- a/fatal.c ++++ b/fatal.c +@@ -18,6 +18,8 @@ + */ + #include "fatal.h" + ++#include <stdlib.h> ++ + void fatal(char *s) { + fprintf(stderr, "Error: %s\n", s); + exit(1); |