From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nntp/slrn/files/, net-nntp/slrn/
Date: Wed, 27 Nov 2024 04:50:33 +0000 (UTC) [thread overview]
Message-ID: <1732682992.8f4edd1cc041d8de9898d8277c80b3a19822016f.sam@gentoo> (raw)
commit: 8f4edd1cc041d8de9898d8277c80b3a19822016f
Author: NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Sat May 11 09:41:23 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 04:49:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4edd1c
net-nntp/slrn: add missing include
Closes: https://bugs.gentoo.org/874687
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/36639
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-nntp/slrn/files/slrn-1.0.3-configure.patch | 48 ++++++++++++++++++++++++++
net-nntp/slrn/slrn-1.0.3-r2.ebuild | 45 ++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/net-nntp/slrn/files/slrn-1.0.3-configure.patch b/net-nntp/slrn/files/slrn-1.0.3-configure.patch
new file mode 100644
index 000000000000..deef317bf91d
--- /dev/null
+++ b/net-nntp/slrn/files/slrn-1.0.3-configure.patch
@@ -0,0 +1,48 @@
+https://bugs.gentoo.org/874687
+from
+https://github.com/jedsoft/slrn/pull/1
+edited to current situation (line numbers changed so patch applies cleanly)
+and half of the patch pertaining autotools is dropped
+
+From f550d0ab9e1cd3cfe844022435c3d98af3c18441 Mon Sep 17 00:00:00 2001
+From: Florian Weimer <fweimer@redhat.com>
+Date: Sat, 4 Feb 2023 15:04:36 +0100
+Subject: [PATCH] autoconf: Fix C99 compatibility issue in the VA_COPY checks
+
+The exit function is called without including <stdlib.h>, resulting
+in an implicit function declarations. Future compilers will not
+support implicit function declarations by default. This will lead
+to build failures.
+---
+ autoconf/configure.ac | 3 +++
+ configure | 3 +++
+ 2 files changed, 6 insertions(+)
+
+diff --git a/configure b/configure
+index faec350..8758172 100755
+--- a/configure
++++ b/configure
+@@ -8307,6 +8307,7 @@ else
+ /* end confdefs.h. */
+
+ #include <stdarg.h>
++ #include <stdlib.h>
+ void f (int i, ...) {
+ va_list args1, args2;
+ va_start (args1, i);
+@@ -8352,6 +8353,7 @@ else
+ /* end confdefs.h. */
+
+ #include <stdarg.h>
++ #include <stdlib.h>
+ void f (int i, ...) {
+ va_list args1, args2;
+ va_start (args1, i);
+@@ -8397,6 +8399,7 @@ else
+ /* end confdefs.h. */
+
+ #include <stdarg.h>
++ #include <stdlib.h>
+ void f (int i, ...) {
+ va_list args1, args2;
+ va_start (args1, i);
diff --git a/net-nntp/slrn/slrn-1.0.3-r2.ebuild b/net-nntp/slrn/slrn-1.0.3-r2.ebuild
new file mode 100644
index 000000000000..f968453c2e6c
--- /dev/null
+++ b/net-nntp/slrn/slrn-1.0.3-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="${P}a"
+
+DESCRIPTION="A s-lang based newsreader"
+HOMEPAGE="
+ https://slrn.sourceforge.net/
+ https://github.com/jedsoft/slrn
+"
+SRC_URI="https://jedsoft.org/releases/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="canlock nls selinux ssl uudeview"
+
+RDEPEND="app-arch/sharutils
+ >=sys-libs/slang-2.2.3
+ virtual/mta
+ canlock? ( net-libs/canlock:=[legacy(+)] )
+ ssl? (
+ dev-libs/openssl:0=
+ )
+ uudeview? ( dev-libs/uulib )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+RDEPEND+=" selinux? ( sec-policy/selinux-slrnpull )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0.2-make.patch
+ "${FILESDIR}"/${P}-configure.patch
+)
+
+src_configure() {
+ econf \
+ --with-docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --with-slrnpull \
+ $(use_with canlock canlock /usr) \
+ $(use_enable nls) \
+ $(use_with ssl) \
+ $(use_with uudeview uu)
+}
next reply other threads:[~2024-11-27 4:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-27 4:50 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-12-20 22:46 [gentoo-commits] repo/gentoo:master commit in: net-nntp/slrn/files/, net-nntp/slrn/ Craig Andrews
2015-08-28 6:54 Tim Harder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1732682992.8f4edd1cc041d8de9898d8277c80b3a19822016f.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox