diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-06 15:10:46 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-06 15:10:46 +0000 |
commit | ee8ad1509f726e8fa598472117e5bbffd241ebab (patch) | |
tree | 4ac9a10ae4694145a7287533143f85af923c1954 /net-irc/dccserver | |
parent | 1fe7aef6facf013a94eac853717f4da4d5d3c5b3 (diff) |
gentoo auto-resync : 06:12:2022 - 15:10:45
Diffstat (limited to 'net-irc/dccserver')
-rw-r--r-- | net-irc/dccserver/Manifest | 2 | ||||
-rw-r--r-- | net-irc/dccserver/dccserver-0.5-r2.ebuild | 30 | ||||
-rw-r--r-- | net-irc/dccserver/files/dccserver-0.5-include-bsd-string-header.patch | 19 |
3 files changed, 51 insertions, 0 deletions
diff --git a/net-irc/dccserver/Manifest b/net-irc/dccserver/Manifest index 018a6c7a9029..7473817a5981 100644 --- a/net-irc/dccserver/Manifest +++ b/net-irc/dccserver/Manifest @@ -1,3 +1,5 @@ +AUX dccserver-0.5-include-bsd-string-header.patch 459 BLAKE2B fdb2c6538ad5c898fa7d6e0730f069751b0ceb319b9fb0310cf5dc0408c1ab0f9f1c662c43c59aec7722064674703831ee9a8adb0a909e21eac5acf19018c7cf SHA512 8ddb297dc7577c47276ba596aeba3ade6940cf6314b9d7c51e7780b1ed5ce6b395e77ec3d1dc77bcf77f1f46a1edf2c2878382519277dc1ded9574767a0f5362 DIST dccserver-0.5.tar.gz 139083 BLAKE2B cdb81051b65f79b6923b0b8cee5360f76395bd1a0d5d5b250a65a4ec12f3440f5e4c0f8c2020263c18265c03bd155563528bed3d80b9af6b468940cadcbbd70e SHA512 0fb2584dc4bee930fa259862206ba875cf0c7a8257799c3fe85d470de6827eab0b304b0e07b8692268fd1a63a82249204c447df92bed0dd994c78ec295040494 EBUILD dccserver-0.5-r1.ebuild 491 BLAKE2B 0efb0d84dfa6bcb646d8fc73a4c09ab5edda89489b9cb5747083a1e26b1314e2e4a0e257b86d9aeba8ba420e8abbe8fad113ad192f4cbc342718d3a84a634763 SHA512 479f2586538b5d808f610f825c403df5c9bbe25bba0f3962540af733ffab0cf259986b31467d77f95aa42a048a7d5807e499ffb00efe092a527cb11a762d0c62 +EBUILD dccserver-0.5-r2.ebuild 605 BLAKE2B ec72df9d17ebc2c9958d62b3900fc0926c27fd60b792a4c30d96086ee4c1c59b1d4b77e780af75d99700a951d13867168b926ce17b576e6b1f38b85a57e24b05 SHA512 6d9969da3b2c1fc82221dbcb597a5ea83e527481bb7ad3bbed2caa3cb8088a775681623b1a6b4e065940c7c7ed2e20d729e610bcde3f5f67cb86dc45de1f42fd MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/net-irc/dccserver/dccserver-0.5-r2.ebuild b/net-irc/dccserver/dccserver-0.5-r2.ebuild new file mode 100644 index 000000000000..1399170485f3 --- /dev/null +++ b/net-irc/dccserver/dccserver-0.5-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Linux implementation of the mirc dccserver command" +HOMEPAGE="https://www.nih.at/dccserver/" +SRC_URI="https://www.nih.at/dccserver/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" + +RDEPEND="dev-libs/libbsd" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-include-bsd-string-header.patch" ) + +src_prepare() { + default + + # Respect AR + sed -i -e "s/AR = /AR ?= /" lib/Makefile.in || die +} + +src_compile() { + AR="$(tc-getAR)" default +} diff --git a/net-irc/dccserver/files/dccserver-0.5-include-bsd-string-header.patch b/net-irc/dccserver/files/dccserver-0.5-include-bsd-string-header.patch new file mode 100644 index 000000000000..16474b64b82a --- /dev/null +++ b/net-irc/dccserver/files/dccserver-0.5-include-bsd-string-header.patch @@ -0,0 +1,19 @@ +This uses strlcpy() from bsd/string.h. On non BSD system those headers are to find under +/usr/include/bsd/. See also man libbsd. + +Bug: https://bugs.gentoo.org/875026 +Bug: https://bugs.gentoo.org/861377 + +Pascal Jäger <pascal.jaeger@leimstift.de> (2022-11-29) + +--- a/lib/dcc.c ++++ b/lib/dcc.c +@@ -37,7 +37,7 @@ + #endif /* HAVE_ERR_H */ + #include <errno.h> + #include <stdlib.h> +-#include <string.h> ++#include <bsd/string.h> + + #include "dcc.h" + #include "io.h" |