diff --git a/packages/wol/lib-getline.h.patch b/packages/wol/lib-getline.h.patch new file mode 100644 index 000000000..d4d61a5ac --- /dev/null +++ b/packages/wol/lib-getline.h.patch @@ -0,0 +1,24 @@ +diff -u -r ../wol-0.7.1/lib/getline.h ./lib/getline.h +--- ../wol-0.7.1/lib/getline.h 2002-03-11 12:55:36.000000000 -0500 ++++ ./lib/getline.h 2016-02-05 16:14:45.530639085 -0500 +@@ -19,20 +19,4 @@ + + # include + +-# ifndef PARAMS +-# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +-# define PARAMS(Args) Args +-# else +-# define PARAMS(Args) () +-# endif +-# endif +- +-# if __GLIBC__ < 2 +-int +-getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream)); +- +-int +-getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream)); +-# endif +- + #endif /* not GETLINE_H_ */