From 957f24cf63261424288a8794f61cfdf5e5606fad Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 20 May 2026 00:52:25 +0400 Subject: FreeBSD port: added patches for a v2.5.2_1 release that should fix building on arm64 and riscv * I don't want to release a new upstream version since master isn't stable, yet. I also don't want to branch out a stable v2.5 branch. So we just add the necessary patch files. * Also fixes the `_` register pollution when opening new files. * Should fix Poudriere arm64 builds that are currently causing fallout. --- freebsd/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'freebsd/Makefile') diff --git a/freebsd/Makefile b/freebsd/Makefile index 8550f5a..fd8e284 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -1,5 +1,6 @@ PORTNAME= sciteco DISTVERSION= 2.5.2 +PORTREVISION= 1 CATEGORIES= editors textproc devel MASTER_SITES= https://sciteco.fmsbw.de/downloads/v${DISTVERSION}/ \ SOURCEFORGE/${PORTNAME}/v${DISTVERSION}/ @@ -24,12 +25,17 @@ gtk_BUILD_DEPENDS= mcookie:devel/util-linux \ Xvfb:x11-servers/xorg-server@xvfb USES= compiler:c11 gmake gnome groff pkgconfig +# Only required because we patch configure.ac: +USES+= autoreconf USE_GNOME= glib20 GNU_CONFIGURE= yes CONFIGURE_ARGS= CONFIGURE_OUTSOURCE= yes +EXTRA_PATCHES= ${FILESDIR}/opener.check-recovery.patch:-p1 \ + ${FILESDIR}/sbrk.patch:-p1 + MAKEFILE= GNUmakefile TEST_TARGET= check -- cgit v1.2.3