This commit is contained in:
Mario Fetka
2026-05-06 19:32:25 +02:00
parent 1f0ce6e452
commit 785e501ec8
6 changed files with 454 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff '--color=auto' -uNr syncterm-1.8.orig/src/xpdev/ini_file.h syncterm-1.8/src/xpdev/ini_file.h
--- syncterm-1.8.orig/src/xpdev/ini_file.h 2026-05-06 14:36:01.149826373 +0200
+++ syncterm-1.8/src/xpdev/ini_file.h 2026-05-06 14:38:54.546574784 +0200
@@ -29,7 +29,7 @@
#include "str_list.h" /* strList_t */
#ifdef WITH_CRYPTLIB
#ifndef WITHOUT_CRYPTLIB
- #include "cryptlib.h"
+ #include "../../3rdp/src/cl/cryptlib.h"
#endif
#endif

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="A BBS terminal program, supporting ANSI music and IBM charset."
HOMEPAGE="http://syncterm.bbsdev.net"
SRC_URI="https://downloads.sourceforge.net/project/syncterm/syncterm/syncterm-${PV}/syncterm-${PV}-src.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"
RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}"
#PATCHES=(
# "${FILESDIR}"/make_order.patch
# "${FILESDIR}"/webget.patch
# "${FILESDIR}"/ini_file.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)" \
emake -j1 CC="$(tc-getCC)" \
PREFIX="/usr" MANPREFIX="/usr/share" RELEASE=1
}
src_install() {
emake -j1 CC="$(tc-getCC)" \
PREFIX="${ED}/usr" MANPREFIX="${ED}/usr/share" RELEASE=1 install
}