Bump
This commit is contained in:
11
app-misc/syncterm/files/st_crypt-9999.patch
Normal file
11
app-misc/syncterm/files/st_crypt-9999.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- syncterm-9999/src/syncterm/st_crypt.h.orig 2023-01-13 15:24:35.746160896 +0100
|
||||
+++ syncterm-9999/src/syncterm/st_crypt.h 2023-01-13 15:25:16.746700269 +0100
|
||||
@@ -4,7 +4,7 @@
|
||||
#define _ST_CRYPT_H_
|
||||
|
||||
#ifndef WITHOUT_CRYPTLIB
|
||||
- #include <cryptlib.h>
|
||||
+ #include "../../3rdp/src/cl/cryptlib.h"
|
||||
#if CRYPTLIB_VERSION < 3400
|
||||
#if CRYPTLIB_VERSION < 340 || CRYPTLIB_VERSION > 999
|
||||
#define CRYPT_ATTRIBUTE_ERRORMESSAGE CRYPT_ATTRIBUTE_INT_ERRORMESSAGE
|
||||
51
app-misc/syncterm/syncterm-9999.ebuild
Normal file
51
app-misc/syncterm/syncterm-9999.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.synchro.net/main/sbbs.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://downloads.sourceforge.net/project/syncterm/syncterm/syncterm-${PV}/syncterm-${PV}-src.tgz"
|
||||
KEYWORDS="amd64"
|
||||
fi
|
||||
|
||||
|
||||
DESCRIPTION="A BBS terminal program, supporting ANSI music and IBM charset."
|
||||
HOMEPAGE="http://syncterm.bbsdev.net"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="sys-libs/ncurses"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
# "${FILESDIR}"/cl-makefile.patch
|
||||
"${FILESDIR}"/st_crypt-9999.patch
|
||||
)
|
||||
|
||||
#S=${WORKDIR}/syncterm-${PV}/src/syncterm
|
||||
|
||||
#src_prepare() {
|
||||
# cp "${FILESDIR}"/cl-linux-yield.patch ${WORKDIR}/syncterm-${PV}/3rdp/build/cl-linux-yield.patch
|
||||
# default
|
||||
#}
|
||||
|
||||
src_compile() {
|
||||
# CPPFLAGS="${CPPFLAGS}" \
|
||||
# CFLAGS="${CFLAGS}" \
|
||||
# LDFLAGS="${LDFLAGS}" \
|
||||
|
||||
emake -C src/syncterm CC="$(tc-getCC)" \
|
||||
PREFIX="/usr" MANPREFIX="/usr/share" RELEASE=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src/syncterm CC="$(tc-getCC)" \
|
||||
PREFIX="${ED}/usr" MANPREFIX="${ED}/usr/share" RELEASE=1 install
|
||||
}
|
||||
Reference in New Issue
Block a user