diff options
| author | Robert Clausecker <fuz@FreeBSD.org> | 2026-02-02 20:57:06 +0000 |
|---|---|---|
| committer | Robert Clausecker <fuz@FreeBSD.org> | 2026-02-04 12:41:15 +0000 |
| commit | 65784d411f0fc664e83d1d2e57450155f1479c8c (patch) | |
| tree | 8b7cd838fc4833347a24d30ad3888e4e0d5e0b4a | |
| parent | 0dcfef2904478a759f30e39fa8257d8718b78dbc (diff) | |
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
| -rw-r--r-- | sysutils/uschedule/Makefile | 13 | ||||
| -rw-r--r-- | 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) |
