mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
sci-calculators/orpie: build with ocaml-5
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
11
sci-calculators/orpie/files/orpie-1.6.1-ocaml5.patch
Normal file
11
sci-calculators/orpie/files/orpie-1.6.1-ocaml5.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/src/orpie/dune 2025-03-25 18:41:09.216073326 +0100
|
||||
+++ b/src/orpie/dune 2025-03-25 18:41:31.391799451 +0100
|
||||
@@ -5,7 +5,7 @@
|
||||
(action
|
||||
(system "camlp5o %{input-file}")))
|
||||
(flags (:standard -w -27-35-52 -thread))
|
||||
- (libraries curses gsl num str threads))
|
||||
+ (libraries curses gsl num str threads camlp-streams))
|
||||
|
||||
|
||||
; Use orpie.opam as the authoritative source of version number
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -9,6 +9,8 @@ DESCRIPTION="A fullscreen RPN calculator for the console"
|
||||
HOMEPAGE="http://pessimization.com/software/orpie/"
|
||||
SRC_URI="https://github.com/pelzlpj/${PN}/archive/release-${PV}.tar.gz"
|
||||
|
||||
S="${WORKDIR}"/${PN}-release-${PV}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
@@ -20,11 +22,10 @@ DEPEND="dev-ml/gsl-ocaml:=
|
||||
dev-ml/camlp5":=
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${PN}-release-${PV}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-orpierc.patch
|
||||
"${FILESDIR}"/${P}-rcfile.patch
|
||||
"${FILESDIR}"/${P}-ocaml5.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
|
||||
Reference in New Issue
Block a user