diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-02 14:09:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-02 14:09:07 +0100 |
commit | b17a3ef12038de50228bade1f05502c74e135321 (patch) | |
tree | 9026dffec53f92cba48ca9a500a4f778e6304380 /net-irc/sic/files/sic-1.2-musl-time-include.patch | |
parent | 3cf7c3ef441822c889356fd1812ebf2944a59851 (diff) |
gentoo resync : 02.09.2020
Diffstat (limited to 'net-irc/sic/files/sic-1.2-musl-time-include.patch')
-rw-r--r-- | net-irc/sic/files/sic-1.2-musl-time-include.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-irc/sic/files/sic-1.2-musl-time-include.patch b/net-irc/sic/files/sic-1.2-musl-time-include.patch new file mode 100644 index 000000000000..bbeaed72a571 --- /dev/null +++ b/net-irc/sic/files/sic-1.2-musl-time-include.patch @@ -0,0 +1,32 @@ +https://git.alpinelinux.org/aports/plain/main/sic/musl-fix.patch?id=4b6138a5f4f5cd11d49d7f96e13da661fd37655e +https://bugs.gentoo.org/712732 +---- +From d8e9e4a013196b98576a3a759b4b27c3edb2a0d2 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Tue, 4 Feb 2014 10:06:53 +0000 +Subject: [PATCH] build fix for musl libc + +It fixes the following compile error with musl libc: +sic.c:137:17: error: storage size of 'tv' isn't known + struct timeval tv; + ^ +--- + sic.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/sic.c b/sic.c +index d93c2ec..e4bdb74 100644 +--- a/sic.c ++++ b/sic.c +@@ -8,6 +8,8 @@ + #include <time.h> + #include <unistd.h> + ++#include <sys/time.h> ++ + static char *host = "irc.oftc.net"; + static char *port = "6667"; + static char *password; +-- +1.8.5.3 + |