From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1375272-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 54BD515808B for <garchives@archives.gentoo.org>; Mon, 14 Mar 2022 10:49:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9BA9CE0891; Mon, 14 Mar 2022 10:49:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 814C6E0891 for <gentoo-commits@lists.gentoo.org>; Mon, 14 Mar 2022 10:49:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EF0F33430E6 for <gentoo-commits@lists.gentoo.org>; Mon, 14 Mar 2022 10:49:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CEAC31B for <gentoo-commits@lists.gentoo.org>; Mon, 14 Mar 2022 10:48:25 +0000 (UTC) From: "Yixun Lan" <dlan@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" <dlan@gentoo.org> Message-ID: <1647254630.af8937c981e9c56681a1bb961cdcee20a47866ac.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mplayer/, media-video/mplayer/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/mplayer/files/mplayer-1.4-riscv-support.patch media-video/mplayer/mplayer-1.4-r1.ebuild X-VCS-Directories: media-video/mplayer/ media-video/mplayer/files/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: af8937c981e9c56681a1bb961cdcee20a47866ac X-VCS-Branch: master Date: Mon, 14 Mar 2022 10:48:25 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 28ae0a10-783b-4d24-a571-1a35377095d1 X-Archives-Hash: eea13ab3393c257faceca009ecf8e092 commit: af8937c981e9c56681a1bb961cdcee20a47866ac Author: Han Gao <rabenda.cn <AT> gmail <DOT> com> AuthorDate: Sat Mar 12 13:26:50 2022 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Mon Mar 14 10:43:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af8937c9 media-video/mplayer: add riscv support Bug: https://bugs.gentoo.org/812855 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Han Gao <rabenda.cn <AT> gmail.com> Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> media-video/mplayer/files/mplayer-1.4-riscv-support.patch | 14 ++++++++++++++ media-video/mplayer/mplayer-1.4-r1.ebuild | 2 ++ 2 files changed, 16 insertions(+) diff --git a/media-video/mplayer/files/mplayer-1.4-riscv-support.patch b/media-video/mplayer/files/mplayer-1.4-riscv-support.patch new file mode 100644 index 000000000000..282cdf3cef85 --- /dev/null +++ b/media-video/mplayer/files/mplayer-1.4-riscv-support.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/812855 + +diff --git a/configure b/configure +index d1aa8cd..bdac866 100755 +--- a/configure ++++ b/configure +@@ -1761,6 +1761,7 @@ if test -z "$_target" ; then + nios2) host_arch=nios2 ;; + vax) host_arch=vax ;; + xtensa*) host_arch=xtensa ;; ++ riscv*) host_arch=generic ;; + *) host_arch=UNKNOWN ;; + esac + } diff --git a/media-video/mplayer/mplayer-1.4-r1.ebuild b/media-video/mplayer/mplayer-1.4-r1.ebuild index e9da1de4a0b1..a73a14ac67fb 100644 --- a/media-video/mplayer/mplayer-1.4-r1.ebuild +++ b/media-video/mplayer/mplayer-1.4-r1.ebuild @@ -175,6 +175,8 @@ REQUIRED_USE=" xv? ( X )" RESTRICT="faac? ( bindist )" +PATCHES=( "${FILESDIR}/${P}-riscv-support.patch" ) + pkg_setup() { if [[ ${PV} == *9999* ]]; then elog