summaryrefslogtreecommitdiff
path: root/net-news
diff options
context:
space:
mode:
Diffstat (limited to 'net-news')
-rw-r--r--net-news/Manifest.gzbin2225 -> 2228 bytes
-rw-r--r--net-news/yydecode/Manifest2
-rw-r--r--net-news/yydecode/files/yydecode-0.2.10-fix-strcmp-not-found.patch15
-rw-r--r--net-news/yydecode/yydecode-0.2.10-r2.ebuild21
4 files changed, 38 insertions, 0 deletions
diff --git a/net-news/Manifest.gz b/net-news/Manifest.gz
index dffaed0ac627..128b1027bc99 100644
--- a/net-news/Manifest.gz
+++ b/net-news/Manifest.gz
Binary files differ
diff --git a/net-news/yydecode/Manifest b/net-news/yydecode/Manifest
index 1a0d8681127a..31bf907fde31 100644
--- a/net-news/yydecode/Manifest
+++ b/net-news/yydecode/Manifest
@@ -1,3 +1,5 @@
+AUX yydecode-0.2.10-fix-strcmp-not-found.patch 483 BLAKE2B 6871b2d773462a3f67c89c9a5c43e2e71acb136daf2252b6b7c32dd39ecc4452b0a9074a39f8d7ee472829caae06abdd70a4339f36ae41230d216e4285cc3ce0 SHA512 04b2964ab5c922493488c619886b4d2c7826a1a3b2be87e617107a047eea2cbdf5c3be739437a159fb09e208bc1063f0f41dff3cdb8aace407d3de7fb19e0494
DIST yydecode-0.2.10.tar.gz 119983 BLAKE2B 94528c2c0215b94d2c251c20c0c85c4f06094b2544e80d2e0c1f1c626e38293b30111330c215b9a13690eb16d61b8afd30959ab92f976be07a846536c4f24273 SHA512 0ca27e6458a1b3dbb022cde96a7c39bb93d91de8b0a6ce1e5105672e4df3a982267cf2c5f815d410e1b44afee5109a605fd2d1e4024d7ec1b90662a31ac72631
EBUILD yydecode-0.2.10-r1.ebuild 430 BLAKE2B 9dc6dfac2fcecbc8df392e1efd71b5b5e0656c9a6cc2ebaeadb7e821b0eaf1861139fc97315e528e524a574bfbb084cc69322619f53378517dde13111b367b8d SHA512 fc525dcf67efea39bcb1291fa1e706471b0b689eb6028a2c3b5d1fd6541c0c704f847c6995f752202eb141c34efd8af4b63bb7286c52f623b6f07a102e9b18a3
+EBUILD yydecode-0.2.10-r2.ebuild 501 BLAKE2B c9de0d7810fc36ec80c114d2023dddfc21366bc1ef3b49b72c3346be7562e6e84f2dcf40bcc8869861966dca93e79799f96ad31e995a5ecf901e0bf6b4c4132a SHA512 c722e4d8d12a202db73ba2767e74358b7cc1f01c96e3fe5c0646d3a10e5a562dbf2f7f1c11afdf69e3dbd5a3a68a7d0464c0bf8a94ad44cf2082d0439ba8805a
MISC metadata.xml 246 BLAKE2B 9c3a72a888c27d8c9d1aa8c77aa3804fc173b70444a34219f67686d0b8e650f9026d97a334651e0fd06a1f6f3e7fb276ab9c86ff1f07482026e82e780c50607e SHA512 af116a0cb78fcf8bebaca7c3923f3489bc3920e972b97b2d29d09bcd63c16b01787199a4e6b249cfd4632ce89aaecacdb9af6176390316b1e8dc32a9b8a2edf4
diff --git a/net-news/yydecode/files/yydecode-0.2.10-fix-strcmp-not-found.patch b/net-news/yydecode/files/yydecode-0.2.10-fix-strcmp-not-found.patch
new file mode 100644
index 000000000000..9fad34a3573a
--- /dev/null
+++ b/net-news/yydecode/files/yydecode-0.2.10-fix-strcmp-not-found.patch
@@ -0,0 +1,15 @@
+Bug: https://bugs.gentoo.org/898078
+Include string.h for strcmp functions
+diff --git a/src/getopt.c b/src/getopt.c
+index 10a4c32..adf91e7 100644
+--- a/src/getopt.c
++++ b/src/getopt.c
+@@ -67,6 +67,8 @@
+ #include <stdlib.h>
+ #endif /* GNU C library. */
+
++#include <string.h>
++
+ /* This version of `getopt' appears to the caller like standard Unix `getopt'
+ but it behaves differently for the user, since it allows the user
+ to intersperse the options with the other arguments.
diff --git a/net-news/yydecode/yydecode-0.2.10-r2.ebuild b/net-news/yydecode/yydecode-0.2.10-r2.ebuild
new file mode 100644
index 000000000000..2d41a1da9015
--- /dev/null
+++ b/net-news/yydecode/yydecode-0.2.10-r2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A decoder for yENC format, popular on Usenet"
+HOMEPAGE="http://yydecode.sourceforge.net/"
+SRC_URI="mirror://sourceforge/yydecode/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~sparc ~x86"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.2.10-fix-strcmp-not-found.patch
+)
+
+src_prepare() {
+ default
+ sed -e "s/t3.sh//" -e "s/t7.sh//" -i checks/Makefile.in || die
+}