public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/, net-dialup/mgetty/files/
Date: Wed, 18 May 2022 21:11:41 +0000 (UTC)	[thread overview]
Message-ID: <1652908254.88dd8dafe95fbb793523183a50013a5122bc393a.conikost@gentoo> (raw)

commit:     88dd8dafe95fbb793523183a50013a5122bc393a
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 21:10:54 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed May 18 21:10:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88dd8daf

net-dialup/mgetty: add riscv patch

Closes: https://bugs.gentoo.org/844955
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-dialup/mgetty/files/mgetty-1.2.1-riscv64.patch | 11 +++++++++++
 net-dialup/mgetty/mgetty-1.2.1-r4.ebuild           |  1 +
 2 files changed, 12 insertions(+)

diff --git a/net-dialup/mgetty/files/mgetty-1.2.1-riscv64.patch b/net-dialup/mgetty/files/mgetty-1.2.1-riscv64.patch
new file mode 100644
index 000000000000..b57a04365e71
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.2.1-riscv64.patch
@@ -0,0 +1,11 @@
+diff -U3 -r a/mgetty.h b/mgetty.h
+--- a/mgetty.h
++++ b/mgetty.h
+@@ -198,7 +198,7 @@
+  */
+ #if defined(__alpha__) || defined(__sparc64__) || \
+ 	    defined(__ia64__) || defined(__s390x__) || defined(__x86_64__) || \
+-	    defined(__powerpc64__) || defined(__aarch64__)
++	    defined(__powerpc64__) || defined(__aarch64__) || (defined(__riscv) && __riscv_xlen == 64)
+ # define PTR_IS_LONG
+ #endif

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild b/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
index 8ccbf6fb0ed1..683aac2bf3a8 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
@@ -39,6 +39,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-1.2.1-Lucent.c.patch
 	"${FILESDIR}"/${PN}-1.2.1-gentoo.patch
 	"${FILESDIR}"/${PN}-1.2.1-aarch64.patch
+	"${FILESDIR}"/${PN}-1.2.1-riscv64.patch
 )
 
 src_prepare() {


             reply	other threads:[~2022-05-18 21:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18 21:11 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-28 20:56 [gentoo-commits] repo/gentoo:master commit in: net-dialup/mgetty/, net-dialup/mgetty/files/ Conrad Kostecki
2018-09-20 11:11 Jeroen Roovers

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=1652908254.88dd8dafe95fbb793523183a50013a5122bc393a.conikost@gentoo \
    --to=conikost@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