diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-01-31 19:01:44 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-01-31 20:43:09 +0100 |
commit | 82c16061c344faf0adf76d8ac07ac3ba1b8ccb5c (patch) | |
tree | 3dacb19e95498c9c2f810269f7f56b81985484df | |
parent | 33433e1b2bca5c282cfd81b46d8c1b1ff49bf091 (diff) | |
download | buildroot-82c16061c344faf0adf76d8ac07ac3ba1b8ccb5c.tar.gz buildroot-82c16061c344faf0adf76d8ac07ac3ba1b8ccb5c.zip |
package/sredird: fix musl build
Fixes
http://autobuild.buildroot.net/results/4bc/4bc77733d235ba12f70432be4ead921666f5121d/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/sredird/0001-termio.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/sredird/0001-termio.patch b/package/sredird/0001-termio.patch new file mode 100644 index 0000000000..7c7c67f5a3 --- /dev/null +++ b/package/sredird/0001-termio.patch @@ -0,0 +1,20 @@ +Fix musl build + +Patch was inspired by +http://svnweb.freebsd.org/ports/head/comms/sredird/files/patch-sredird.c?revision=363168&view=markup +http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/sysutils/sredird/patches/patch-aa +https://github.com/bitrig/bitrig-ports/blob/master/comms/sredird/patches/patch-sredird_c + +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> + +diff -uNr sredird-2.2.2.org/sredird.c sredird-2.2.2/sredird.c +--- sredird-2.2.2.org/sredird.c 2005-08-12 16:10:46.000000000 +0200 ++++ sredird-2.2.2/sredird.c 2016-01-31 18:53:08.000000000 +0100 +@@ -110,7 +110,6 @@ + #include <fcntl.h> + #include <syslog.h> + #include <termios.h> +-#include <termio.h> + #include <sys/socket.h> + #include <netinet/in.h> + #include <netinet/ip.h> |