summaryrefslogtreecommitdiff
path: root/net-misc/wol/files/wol-0.7.1-musl.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
commitb17a3ef12038de50228bade1f05502c74e135321 (patch)
tree9026dffec53f92cba48ca9a500a4f778e6304380 /net-misc/wol/files/wol-0.7.1-musl.patch
parent3cf7c3ef441822c889356fd1812ebf2944a59851 (diff)
gentoo resync : 02.09.2020
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.patch17
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_ */