Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879343 - net-misc/nx: need to add riscv support patch
Summary: net-misc/nx: need to add riscv support patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: CC-ARCHES, PATCH
Depends on:
Blocks:
 
Reported: 2022-11-03 14:34 UTC by YangMame
Modified: 2022-11-05 07:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
from https://github.com/ArcticaProject/nx-libs/pull/1023 (nx-3.5.99.26-add-support-for-riscv.patch,2.15 KB, patch)
2022-11-03 14:34 UTC, YangMame
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description YangMame 2022-11-03 14:34:55 UTC
Created attachment 826881 [details, diff]
from https://github.com/ArcticaProject/nx-libs/pull/1023

compile  as bigendian on riscv and failed
Comment 1 Yixun Lan archtester gentoo-dev 2022-11-05 07:16:57 UTC
the patch looks good, also it's merged by upstream, so how about let's push it into portage?

risc-v defined little endian as standard in spec[1]


[1] https://github.com/riscv/riscv-isa-manual/releases/download/draft-20221004-28b46de/riscv-spec.pdf
Comment 2 Larry the Git Cow gentoo-dev 2022-11-05 07:36:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96be9583e4381a453a64c5f599cab9fa6444caf3

commit 96be9583e4381a453a64c5f599cab9fa6444caf3
Author:     Xin Yang <yangmame@icloud.com>
AuthorDate: 2022-11-03 14:46:29 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2022-11-05 07:34:05 +0000

    net-misc/nx: support riscv64 only for now
    
    RISC-V only support little endian as standard,
    this patch only adjust settings for riscv64,
    so it should be pretty much safe to merge in.
    
    Also patch already merged by upstream, see more info [1]
    
    [1] https://github.com/ArcticaProject/nx-libs/pull/1023
    
    Closes: https://bugs.gentoo.org/879343
    Signed-off-by: Xin Yang <yangmame@icloud.com>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 .../nx/files/nx-3.5.99.26-riscv64-support.patch    | 64 ++++++++++++++++++++++
 net-misc/nx/nx-3.5.99.26.ebuild                    |  2 +
 2 files changed, 66 insertions(+)