Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2026 12:41:46 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 65784d411f0f - main - sysutils/uschedule: disable use of regparm, enable everywhere
Message-ID:  <69833e8a.309c6.f7cccbc@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=65784d411f0fc664e83d1d2e57450155f1479c8c

commit 65784d411f0fc664e83d1d2e57450155f1479c8c
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-02-02 20:57:06 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-02-04 12:41:15 +0000

    sysutils/uschedule: disable use of regparm, enable everywhere
    
    This attribute isn't strictly needed to build the software.
    Disable it to enable a build with clang on all platforms.
    
    MFH:            2026Q1
---
 sysutils/uschedule/Makefile                     | 13 +------------
 sysutils/uschedule/files/patch-src_attributes.h | 11 +++++++++++
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/sysutils/uschedule/Makefile b/sysutils/uschedule/Makefile
index db0b1c6eeb6b..027da211fdf2 100644
--- a/sysutils/uschedule/Makefile
+++ b/sysutils/uschedule/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	uschedule
 PORTVERSION=	0.7.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.ohse.de/uwe/uschedule/
 
@@ -11,11 +11,6 @@ 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
@@ -30,12 +25,6 @@ PLIST_FILES=	${bin:S,^,bin/,} ${bin:S,^,share/man/man1/,:S,$,.1.gz,} \
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
-.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
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)


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69833e8a.309c6.f7cccbc>