diff options
Diffstat (limited to 'net-misc/wol/files/wol-0.7.1-musl.patch')
-rw-r--r-- | net-misc/wol/files/wol-0.7.1-musl.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-misc/wol/files/wol-0.7.1-musl.patch b/net-misc/wol/files/wol-0.7.1-musl.patch new file mode 100644 index 000000000000..c7c0dc6028ca --- /dev/null +++ b/net-misc/wol/files/wol-0.7.1-musl.patch @@ -0,0 +1,17 @@ +--- a/lib/getline.h ++++ b/lib/getline.h +@@ -27,6 +27,7 @@ + # endif + # endif + ++# if defined (__GLIBC__) + # if __GLIBC__ < 2 + int + getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream)); +@@ -34,5 +35,6 @@ + int + getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream)); + # endif ++# endif + + #endif /* not GETLINE_H_ */ |