diff --git a/sysutils/uschedule/Makefile b/sysutils/uschedule/Makefile index db0b1c6eeb6b..027da211fdf2 100644 --- a/sysutils/uschedule/Makefile +++ b/sysutils/uschedule/Makefile @@ -1,58 +1,47 @@ PORTNAME= uschedule PORTVERSION= 0.7.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= http://www.ohse.de/uwe/uschedule/ MAINTAINER= ports@FreeBSD.org COMMENT= Scheduler program, designed to replace cron(8) and at(1) WWW= https://www.ohse.de/uwe/uschedule.html BUILD_DEPENDS= ${LOCALBASE}/bin/tai64nlocal:sysutils/daemontools RUN_DEPENDS= ${LOCALBASE}/bin/multilog:sysutils/daemontools -BROKEN_aarch64= fails to build: regparm is not valid on this platform -BROKEN_armv6= fails to build: regparm is not valid on this platform -BROKEN_armv7= fails to build: regparm is not valid on this platform -BROKEN_riscv64= fails to build: regparm is not valid on this platform - WRKSRC= ${WRKDIR}/admin/${DISTNAME} TEST_TARGET= check PORTDOCS= ChangeLog NEWS SECURITY-BUG bin= uschedule uschedulecmd uscheduleconf uschedulecp \ uscheduleedit uschedulelist uschedulerm uscheduleruntimelimit sbin= uscheduled PLIST_FILES= ${bin:S,^,bin/,} ${bin:S,^,share/man/man1/,:S,$,.1.gz,} \ share/man/man7/uschedule_intro.7.gz share/man/man8/uscheduled.8.gz \ sbin/uscheduled OPTIONS_DEFINE= DOCS -.include - -.if ${ARCH} != amd64 && ${ARCH} != i386 -USES+= compiler:gcc-c++11-lib -.endif - pre-build: ${ECHO_CMD} "${CC}" > ${WRKSRC}/src/conf-cc ${ECHO_CMD} "${CFLAGS}" > ${WRKSRC}/src/conf-cflags do-install: (cd ${WRKSRC}/command && ${INSTALL_PROGRAM} ${bin} \ ${STAGEDIR}${PREFIX}/bin) ${INSTALL_PROGRAM} ${WRKSRC}/command/${sbin} ${STAGEDIR}${PREFIX}/sbin (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${bin:S,$,.1,} \ ${STAGEDIR}${PREFIX}/share/man/man1) ${INSTALL_MAN} ${WRKSRC}/doc/uschedule_intro.7 \ ${STAGEDIR}${PREFIX}/share/man/man7 ${INSTALL_MAN} ${WRKSRC}/doc/uscheduled.8 \ ${STAGEDIR}${PREFIX}/share/man/man8 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/src && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/sysutils/uschedule/files/patch-src_attributes.h b/sysutils/uschedule/files/patch-src_attributes.h new file mode 100644 index 000000000000..07e4cc68db72 --- /dev/null +++ b/sysutils/uschedule/files/patch-src_attributes.h @@ -0,0 +1,11 @@ +--- src/attributes.h.orig 2026-02-02 20:51:48 UTC ++++ src/attributes.h +@@ -67,7 +67,7 @@ + + #define attribute_inline __inline__ + +-#if GNUC_MINIMUM(2,7) /* doesn't work reliable before, IIRC */ ++#if 0 + # define attribute_regparm(x) __attribute__((__regparm__((x)))) + #else + # define attribute_regparm(x)