mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
dev-lang/nprolog: drop old 3.88
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST nprolog-3.88.gh.tar.gz 1337137 BLAKE2B 0d8f8d5e8242e3ab172f0a1256252ef99b6daf76a77fb75710c0286d55aa02e79e78601ec4347e42d88411cc7528d4e3b041496df04335496b71fc41cb3573c6 SHA512 12ef940792a6c9cd44cafad5440829d43b0c4736732341172255733f163d48b189233b62288e4fd59d36e5a378742f783a0400c2c4dc3d6b06570143b06685db
|
||||
DIST nprolog-3.98.gh.tar.gz 1291160 BLAKE2B 9f143e5bb15156d8bac365b06d240817d3ff6a6f248d6148cfa88dedfc5d3e6749ed56e1c8bc10298ef2564507481e5b8bbbdf4c32c33343cb009913e9440214 SHA512 cb4462089557348aba1b18e94024f3d4bacf988611c79ee3e84ecd32d0356e9e370c677fa7c0228e3aff60b434feb58ab49aba6cca79b456699b63f64483142c
|
||||
DIST nprolog-4.00.gh.tar.gz 1292375 BLAKE2B dbed6d7379711a79a3ac0465514c8ad950a8af6f2140ea79840bf6a9b31abfc67f1d8259da52768bc86a68e56e5b576c7833e33395e2a8dd6a78aafe3a9c7380 SHA512 9f892b67007f7bd9a08acd188fbccf2565de7a5009ad6b18c14c359a4abb186f26638e18dd426396ac4b4ad88d715507a2054fc3d36c3336cf578ea844d29fae
|
||||
DIST nprolog-4.05.gh.tar.gz 1294386 BLAKE2B 820bd52f2f5c47fd3fe873d94ca5dec177f43843cef649422e202debee922f2786ba5bd20c0f9806f5916ba74717d67febdc3dbb3b08616e22c5eba1085069aa SHA512 f6621fc30856bf38460395e7ebc73233b5387ea6aa450439b0979e50b2c8f1bde87ffd1a0468f5eca33abc3b3c2fe7bed080f8e82e090e213fb2afa488be3054
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/edlog.c b/edlog.c
|
||||
index 206e6a6..317a4ee 100644
|
||||
--- a/edlog.c
|
||||
+++ b/edlog.c
|
||||
@@ -8,7 +8,7 @@
|
||||
#define _XOPEN_SOURCE_EXTENDED
|
||||
#define NCURSES_OPAQUE 1
|
||||
#ifdef __linux__
|
||||
-#include <ncurses.h>
|
||||
+#include <ncursesw/ncurses.h>
|
||||
#else
|
||||
#include <curses.h>
|
||||
#endif
|
||||
@@ -1,29 +0,0 @@
|
||||
From 6e47a272b0a9491436ac732272be13431ee51161 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Maciej=20Bar=C4=87?= <xgqt@gentoo.org>
|
||||
Date: Mon, 27 Jan 2025 14:33:14 +0100
|
||||
Subject: [PATCH 1/2] makefile: add CURSES_CFLAGS to edlog rule
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
|
||||
---
|
||||
makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/makefile b/makefile
|
||||
index 0d0734d..c2458e0 100644
|
||||
--- a/makefile
|
||||
+++ b/makefile
|
||||
@@ -47,7 +47,7 @@ $(EDLOG): $(EDLOG_OBJS)
|
||||
$(CC) $(LDFLAGS) $^ -o $@ $(CURSES_LIBS)
|
||||
|
||||
edlog.o: edlog.c edlog.h term.h
|
||||
- $(CC) $(CFLAGS) -c edlog.c
|
||||
+ $(CC) $(CFLAGS) -c edlog.c $(CURSES_CFLAGS)
|
||||
|
||||
install: $(NPL) $(EDLOG)
|
||||
mkdir -p $(DEST)
|
||||
--
|
||||
2.45.3
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Interpreter and compiler to be compatible with Arity/Prolog32"
|
||||
HOMEPAGE="https://github.com/sasagawa888/nprolog/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/sasagawa888/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/sasagawa888/${PN}/archive/refs/tags/%EF%BD%96${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}--${PV}"
|
||||
|
||||
KEYWORDS="amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/nprolog-3.22-ncursesw.patch"
|
||||
"${FILESDIR}/nprolog-3.88-makefile-CURSES_CFLAGS-edlog-rule.patch"
|
||||
)
|
||||
|
||||
DOCS=( README{,-ja}.md )
|
||||
|
||||
src_prepare() {
|
||||
if [[ -f edlog ]] ; then
|
||||
rm edlog || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
doexe npl
|
||||
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r example library
|
||||
|
||||
if use doc ; then
|
||||
DOCS+=( document )
|
||||
|
||||
docompress -x "/usr/share/doc/${PF}/document"
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user