diff options
author | brahmajit das <listout@protonmail.com> | 2022-07-24 00:08:40 +0530 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-07-30 19:26:00 +0300 |
commit | 4682f355ba2c7615e1b5fe2f80b5bfa3e1bf2896 (patch) | |
tree | c90ad010eaa24c2a5872d1ae171517798330aaf9 /net-misc | |
parent | media-fonts/unifont: Stabilize 14.0.03 x86, #862106 (diff) | |
download | gentoo-4682f355ba2c7615e1b5fe2f80b5bfa3e1bf2896.tar.gz gentoo-4682f355ba2c7615e1b5fe2f80b5bfa3e1bf2896.tar.bz2 gentoo-4682f355ba2c7615e1b5fe2f80b5bfa3e1bf2896.zip |
net-misc/suite3270: Fix unknown type name wint_t on musl
While building on musl we get build error 'error: unknown type name
wint_t; did you mean ino_t?'. This patch fixes it.
Closes: https://bugs.gentoo.org/713618
Signed-off-by: brahmajit das <listout@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26545
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/suite3270/files/suite3270-4.1-musl-wint-t-fix.patch | 12 | ||||
-rw-r--r-- | net-misc/suite3270/suite3270-4.1_p11.ebuild | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/suite3270/files/suite3270-4.1-musl-wint-t-fix.patch b/net-misc/suite3270/files/suite3270-4.1-musl-wint-t-fix.patch new file mode 100644 index 000000000000..8a3330d24b4b --- /dev/null +++ b/net-misc/suite3270/files/suite3270-4.1-musl-wint-t-fix.patch @@ -0,0 +1,12 @@ +# Fix unknown type name wint_t when building against musl +# Closes: https://bugs.gentoo.org/713618 +--- a/c3270/screen.c ++++ b/c3270/screen.c +@@ -63,6 +63,7 @@ + #include "utils.h" + #include "xio.h" + #include "xscroll.h" ++#include "wctype.h" + + #include "cscreen.h" + diff --git a/net-misc/suite3270/suite3270-4.1_p11.ebuild b/net-misc/suite3270/suite3270-4.1_p11.ebuild index ff116d07cfcf..ed1340f214dc 100644 --- a/net-misc/suite3270/suite3270-4.1_p11.ebuild +++ b/net-misc/suite3270/suite3270-4.1_p11.ebuild @@ -64,6 +64,10 @@ src_prepare() { export ac_cv_path_install="${S}/_install" } +PATCHES=( + "${FILESDIR}"/${PN}-4.1-musl-wint-t-fix.patch +) + src_configure() { econf \ --cache-file="${S}"/config.cache \ |