mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
dev-lang/eisl: drop old 2.72
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST eisl-2.72.tar.gz 2124119 BLAKE2B e0a1216b4e9c301ec965d0dc7a6fcaa5acd91fd611193959fee698a27523c0c4832e7960652af14af3e7f5846131d81f0ae9db7030511e051d5384ba573241ae SHA512 80998239b9cc421f42323f24ffbc5f518a2675c314580284309d127523bab328db21d294d8d32dca413abd63d279a2c857ea34ec35548da15459235eb0f3da2b
|
||||
DIST eisl-2.85.tar.gz 2126779 BLAKE2B b95735cac70a1bae0277f910ba0b69746ca44979c08b4c19c5642d1d998e0a248827cf6cc0bac9f29c620c34ede2558e7723b7ab8b841fadbf366fa9047e6a7c SHA512 4b09e0faa126e30e44d0d23cfb79316289631da1ae8069989c58852f14c4b1f2e28539698fc8a1f433ff11e0be7a63efd836d0978965eefe42a7620c11b56c54
|
||||
DIST eisl-2.90.tar.gz 2129524 BLAKE2B 5b7a7aaf68a53ac4611b90f98f50fb66973411f1303f0de9dab14301a49847a1250c07d1e912d55783b939d3a2b7a6aa82fa3d9b42818ea9aacf37949ba9e14a SHA512 3cefc6608e1f4d4a0ba581c2043cb9af9d379273cfda74a4ac77f802dbb672faf98af5a60a946e12f0abedd47074b67a0c8163a81eebca92a20cd04f767d6b0f
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Interpreter and compiler compatible with the ISLisp standard"
|
||||
HOMEPAGE="https://github.com/sasagawa888/eisl/"
|
||||
SRC_URI="https://github.com/sasagawa888/eisl/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
RESTRICT="test" # Tests run cppcheck (and fail)
|
||||
|
||||
DOCS=( README{,-ja}.md documents )
|
||||
|
||||
RDEPEND="sys-libs/ncurses:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.67-Makefile.patch
|
||||
"${FILESDIR}"/${PN}-2.65-implicit.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" clean edlis eisl
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
doexe edlis eisl
|
||||
|
||||
# Compilation of ISLisp files on installation fails.
|
||||
# Do not compile them and mimic "make install".
|
||||
insinto /usr/share/${PN}
|
||||
doins -r library
|
||||
doins fast.h ffi.h
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -252,7 +252,7 @@ static inline void maybe_greet(void)
|
||||
Fmt_print("Easy-ISLisp Ver%1.2f\n", VERSION);
|
||||
}
|
||||
|
||||
-static inline disable_repl_flag(void)
|
||||
+static inline void disable_repl_flag(void)
|
||||
{
|
||||
#ifndef WITHOUT_CURSES
|
||||
repl_flag = false;
|
||||
@@ -1,32 +0,0 @@
|
||||
--- a/makefile
|
||||
+++ b/makefile
|
||||
@@ -38,7 +38,7 @@ else
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
-CFLAGS += $(INCS) -Wall -Wextra -D_FORTIFY_SOURCE=2 $(CURSES_CFLAGS) -U_XOPEN_SOURCE -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED -Inana/src
|
||||
+CFLAGS += $(INCS) -Wall -Wextra $(CURSES_CFLAGS) -U_XOPEN_SOURCE -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED -Inana/src
|
||||
DFLAGS := --preview=all --de -w --O3 --release --betterC
|
||||
SRC_CII := cii/src/except.c cii/src/fmt.c cii/src/str.c cii/src/text.c
|
||||
SRC_D := dextension.d disl.d
|
||||
@@ -65,7 +65,7 @@ ifeq ($(DEBUG),1)
|
||||
LDFLAGS += -fsanitize=undefined
|
||||
endif
|
||||
else
|
||||
- CFLAGS += -O3 -flto -DNDEBUG=1 -DWITHOUT_NANA=1
|
||||
+ CFLAGS += -DNDEBUG=1 -DWITHOUT_NANA=1
|
||||
SRC_CII += cii/src/mem.c
|
||||
endif
|
||||
OBJ_CII := $(SRC_CII:.c=.o)
|
||||
@@ -83,11 +83,9 @@ ifeq ($(shell uname -n),raspberrypi)
|
||||
CFLAGS += -D__rpi__
|
||||
endif
|
||||
ifneq ($(DEBUG),1)
|
||||
- LDFLAGS += -flto
|
||||
ifeq ($(shell uname),Darwin)
|
||||
LDFLAGS += -Wl,-S,-x
|
||||
else
|
||||
- LDFLAGS += -s
|
||||
endif
|
||||
endif
|
||||
PREFIX := /usr/local
|
||||
Reference in New Issue
Block a user