1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

*/*: use USES=sbrk

Replace various BROKEN entries for missing sbrk on aarch64 and risc64
with USES=sbrk.

Fix a few missing entries (generally ports blocked by other
dependences).

Approved by:	portmgr (mat in D47258 comment)
Differential Revision:	https://reviews.freebsd.org/D47259
This commit is contained in:
Brooks Davis 2024-11-19 17:30:56 +00:00
parent f6132c4161
commit 6b7215ed56
17 changed files with 18 additions and 51 deletions

View File

@ -19,13 +19,11 @@ WWW= https://github.com/rubund/graywolf
LICENSE= GPLv2 LICENSE= GPLv2
BROKEN_aarch64= Fails to link: missing sbrk
LIB_DEPENDS= libgsl.so:math/gsl LIB_DEPENDS= libgsl.so:math/gsl
TEST_DEPENDS= bash:shells/bash \ TEST_DEPENDS= bash:shells/bash \
rsync:net/rsync rsync:net/rsync
USES= cmake compiler:c11 pkgconfig shebangfix xorg USES= cmake compiler:c11 pkgconfig sbrk shebangfix xorg
USE_XORG= ice sm x11 xext USE_XORG= ice sm x11 xext
USE_LDCONFIG= yes USE_LDCONFIG= yes

View File

@ -20,9 +20,6 @@ WWW= http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/
LICENSE= MIT LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT LICENSE_FILE= ${WRKSRC}/COPYRIGHT
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_riscv64= Fails to link: missing sbrk
WRKSRC= ${WRKDIR}/${PORTNAME}3f5 WRKSRC= ${WRKDIR}/${PORTNAME}3f5
MAKEFILE= ${FILESDIR}/Makefile MAKEFILE= ${FILESDIR}/Makefile
CONFIGURE_ENV= CONFIGFILE="${CONFIGFILE}" \ CONFIGURE_ENV= CONFIGFILE="${CONFIGFILE}" \
@ -38,6 +35,8 @@ PORTEXAMPLES= bjtnoise.cir bsim1tst.cir bsim2tst.cir diffpair.cir \
process.pro pz2.cir pzt.cir rc.cir rca3040.cir resnoise.cir \ process.pro pz2.cir pzt.cir rc.cir rca3040.cir resnoise.cir \
rtlinv.cir schmitt.cir simplepz.cir rtlinv.cir schmitt.cir simplepz.cir
USES= sbrk
OPTIONS_DEFINE= DOCS EXAMPLES X11 DEV_BSIM3 DEV_BSIM4 DEV_HISIM2 OPTIONS_DEFINE= DOCS EXAMPLES X11 DEV_BSIM3 DEV_BSIM4 DEV_HISIM2
OPTIONS_DEFAULT=X11 OPTIONS_DEFAULT=X11

View File

@ -12,12 +12,9 @@ LICENSE= APACHE20 BSD3CLAUSE NCSA
LICENSE_COMB= multi LICENSE_COMB= multi
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.txt LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.txt
BROKEN_aarch64= fails to link: undefined symbol: sbrk
BROKEN_riscv64= fails to link: undefined symbol: sbrk
LIB_DEPENDS= libsqlite3.so:databases/sqlite3 LIB_DEPENDS= libsqlite3.so:databases/sqlite3
USES= cmake USES= cmake sbrk
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= apple GH_ACCOUNT= apple

View File

@ -9,10 +9,10 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Symbolic Model Verifier System for checking finite state systems COMMENT= Symbolic Model Verifier System for checking finite state systems
WWW= https://www.cs.cmu.edu/~modelcheck/smv.html WWW= https://www.cs.cmu.edu/~modelcheck/smv.html
BROKEN_aarch64= fails to build: undefined reference to sbrk
BROKEN_armv6= fails to build: error: non-void function check_bdd should return a value BROKEN_armv6= fails to build: error: non-void function check_bdd should return a value
BROKEN_armv7= fails to build: error: non-void function check_bdd should return a value BROKEN_armv7= fails to build: error: non-void function check_bdd should return a value
USES= sbrk
USE_GCC= yes USE_GCC= yes
WRKSRC= ${WRKDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= ${PORTNAME} ALL_TARGET= ${PORTNAME}

View File

@ -13,10 +13,7 @@ WWW= https://ex-vi.sourceforge.net/
LICENSE= BSD4CLAUSE LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_aarch64= Fails to link: missing sbrk USES= ncurses sbrk tar:bzip2
BROKEN_riscv64= Fails to link: missing sbrk
USES= ncurses tar:bzip2
PRESERVEDIR= /var/preserve/${PKGBASE} PRESERVEDIR= /var/preserve/${PKGBASE}
PLIST_SUB= PRESERVEDIR="${PRESERVEDIR}" PLIST_SUB= PRESERVEDIR="${PRESERVEDIR}"

View File

@ -14,12 +14,10 @@ LICENSE_NAME= IBM PUBLIC LICENSE - Open Visualization Data Explorer VERSION 1.0
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BROKEN_aarch64= fails to link: undefined symbol: sbrk
LIB_DEPENDS= libtiff.so:graphics/tiff \ LIB_DEPENDS= libtiff.so:graphics/tiff \
libcdf.so:science/cdf libcdf.so:science/cdf
USES= bison compiler:c++17-lang gl gmake libtool localbase:ldflags magick:6 motif xorg USES= bison compiler:c++17-lang gl gmake libtool localbase:ldflags magick:6 motif sbrk xorg
USE_GL= gl glu USE_GL= gl glu
USE_LDCONFIG= yes USE_LDCONFIG= yes
USE_XORG= x11 xt xinerama xext xpm xmu sm ice USE_XORG= x11 xt xinerama xext xpm xmu sm ice

View File

@ -11,13 +11,10 @@ WWW= https://www.gnu.org/software/apl/
LICENSE= GPLv3+ LICENSE= GPLv3+
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_riscv64= Fails to link: missing sbrk
# XXX: should be optional, but no way to disable in the configure script # XXX: should be optional, but no way to disable in the configure script
LIB_DEPENDS= libfftw3.so:math/fftw3 LIB_DEPENDS= libfftw3.so:math/fftw3
USES= compiler:c++11-lang gmake libtool localbase USES= compiler:c++11-lang gmake libtool localbase sbrk
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ENV= CXX_WERROR=no CONFIGURE_ENV= CXX_WERROR=no

View File

@ -9,14 +9,11 @@ WWW= https://gitlab.com/zsaleeba/picoc
LICENSE= BSD3CLAUSE LICENSE= BSD3CLAUSE
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_riscv64= Fails to link: missing sbrk
USE_GITLAB= yes USE_GITLAB= yes
GL_ACCOUNT= zsaleeba GL_ACCOUNT= zsaleeba
GL_TAGNAME= dc85a51e9211cfb644f0a85ea9546e15dc1141c3 GL_TAGNAME= dc85a51e9211cfb644f0a85ea9546e15dc1141c3
USES= cpe gmake readline USES= cpe gmake readline sbrk
CPE_VENDOR= ${PORTNAME}_project CPE_VENDOR= ${PORTNAME}_project
PLIST_FILES= bin/picoc PLIST_FILES= bin/picoc

View File

@ -11,7 +11,6 @@ WWW= https://smalltalk.gnu.org/
LICENSE= GPLv2+ LICENSE= GPLv2+
BROKEN_powerpc64= Fails to build: gst-package: did not understand #~ BROKEN_powerpc64= Fails to build: gst-package: did not understand #~
BROKEN_riscv64= Fails to link: undefined reference to sbrk
BUILD_DEPENDS= zip:archivers/zip \ BUILD_DEPENDS= zip:archivers/zip \
gawk:lang/gawk gawk:lang/gawk
@ -22,7 +21,7 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 \
libltdl.so:devel/libltdl libltdl.so:devel/libltdl
USES= gl gmake gnome iconv libtool makeinfo pathfix pkgconfig \ USES= gl gmake gnome iconv libtool makeinfo pathfix pkgconfig \
readline shebangfix sqlite tar:xz xorg readline sbrk shebangfix sqlite tar:xz xorg
USE_GL= gl glu glut USE_GL= gl glu glut
USE_GNOME= cairo USE_GNOME= cairo
USE_XORG= ice sm x11 xi USE_XORG= ice sm x11 xi

View File

@ -11,12 +11,10 @@ WWW= https://la-samhna.de/samhain/
LICENSE= GPLv2 LICENSE= GPLv2
BROKEN_aarch64= fails to link: missing sbrk
BROKEN_mips= fails to configure: error: Could not find the libwrap library BROKEN_mips= fails to configure: error: Could not find the libwrap library
BROKEN_mips64= fails to configure: error: Could not find the libwrap library BROKEN_mips64= fails to configure: error: Could not find the libwrap library
BROKEN_riscv64= fails to link: missing sbrk
USES= shebangfix USES= sbrk shebangfix
SHEBANG_FILES= scripts/samhainadmin-gpg.pl.in \ SHEBANG_FILES= scripts/samhainadmin-gpg.pl.in \
scripts/samhainadmin-sig.pl.in scripts/samhainadmin-sig.pl.in

View File

@ -7,12 +7,9 @@ MASTER_SITES= LOCAL/cy
MAINTAINER= cy@FreeBSD.org MAINTAINER= cy@FreeBSD.org
COMMENT= The traditional 4.4BSD /bin/csh C-shell COMMENT= The traditional 4.4BSD /bin/csh C-shell
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_riscv64= Fails to link: missing sbrk
EXTRACT_DEPENDS= rcs:devel/rcs57 EXTRACT_DEPENDS= rcs:devel/rcs57
USES= tar:bzip2 USES= sbrk tar:bzip2
LDFLAGS= -Wl,--allow-multiple-definition LDFLAGS= -Wl,--allow-multiple-definition
NO_WRKSUBDIR= yes NO_WRKSUBDIR= yes
PORTDOCS= paper.ascii.gz PORTDOCS= paper.ascii.gz

View File

@ -20,12 +20,11 @@ WWW= http://www.kornshell.com/
LICENSE= EPL LICENSE= EPL
BROKEN_aarch64= Fails to compile: needs sbrk
BROKEN_riscv64= Fails to compile: ast-ksh93v/src/lib/libast/hash/hashalloc.c:162:4: non-const lvalue reference to type '__builtin_va_list' cannot bind to a temporary of type 'va_list' BROKEN_riscv64= Fails to compile: ast-ksh93v/src/lib/libast/hash/hashalloc.c:162:4: non-const lvalue reference to type '__builtin_va_list' cannot bind to a temporary of type 'va_list'
BROKEN_FreeBSD_14= Fails to compile: error: incompatible function pointer types assigning to 'int (*)(wchar_t *, const char *, size_t)' (aka 'int (*)(int *, const char *, unsigned long)') from 'size_t (wchar_t *, const char *, size_t)' (aka 'unsigned long (int *, const char *, unsigned long)') [-Wincompatible-function-pointer-types] BROKEN_FreeBSD_14= Fails to compile: error: incompatible function pointer types assigning to 'int (*)(wchar_t *, const char *, size_t)' (aka 'int (*)(int *, const char *, unsigned long)') from 'size_t (wchar_t *, const char *, size_t)' (aka 'unsigned long (int *, const char *, unsigned long)') [-Wincompatible-function-pointer-types]
BROKEN_FreeBSD_15= ${BROKEN_FreeBSD_14} BROKEN_FreeBSD_15= ${BROKEN_FreeBSD_14}
USES= compiler:c11 USES= compiler:c11 sbrk
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= att GH_ACCOUNT= att

View File

@ -10,10 +10,7 @@ WWW= https://heirloom.sourceforge.net/sh.html
LICENSE= CDDL LICENSE= CDDL
BROKEN_aarch64= fails to link: missing sbrk USES= sbrk tar:bzip2
BROKEN_riscv64= fails to link: missing sbrk
USES= tar:bzip2
MAKEFILE= makefile MAKEFILE= makefile
MAKE_ARGS= ROOT=${STAGEDIR} \ MAKE_ARGS= ROOT=${STAGEDIR} \

View File

@ -15,10 +15,7 @@ MAINTAINER= portmaster@BSDforge.com
COMMENT= Implementation of the UNIX 7th Edition shell COMMENT= Implementation of the UNIX 7th Edition shell
WWW= http://minnie.tuhs.org/UnixTree/V7/ WWW= http://minnie.tuhs.org/UnixTree/V7/
BROKEN_aarch64= Fails to link: missing sbrk USES= sbrk uidfix
BROKEN_riscv64= Fails to link: missing sbrk
USES= uidfix
EXTRACT_CMD= ${CP} EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKSRC} EXTRACT_AFTER_ARGS= ${WRKSRC}

View File

@ -3,10 +3,10 @@ PKGNAMESUFFIX= 13-client-static
COMMENT= Network backup solution (static client) COMMENT= Network backup solution (static client)
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_riscv64= Fails to link: missing sbrk
BROKEN_SSL= libressl BROKEN_SSL= libressl
USES= sbrk
WITH_CLIENT_ONLY= yes WITH_CLIENT_ONLY= yes
PLIST= ${.CURDIR}/pkg-plist PLIST= ${.CURDIR}/pkg-plist
MASTERDIR= ${.CURDIR}/../../sysutils/bacula13-server MASTERDIR= ${.CURDIR}/../../sysutils/bacula13-server

View File

@ -14,7 +14,7 @@ LICENSE= GPLv2+
RUN_DEPENDS?= ${PORTNAME}-genisoimage>0:sysutils/genisoimage RUN_DEPENDS?= ${PORTNAME}-genisoimage>0:sysutils/genisoimage
USES= cmake iconv perl5 shebangfix USES= cmake iconv perl5 sbrk shebangfix
USE_PERL5= run USE_PERL5= run
SHEBANG_FILES= 3rd-party/dirsplit/dirsplit SHEBANG_FILES= 3rd-party/dirsplit/dirsplit
# Fix build with clang11 # Fix build with clang11

View File

@ -2,9 +2,6 @@ PKGNAMESUFFIX= -genisoimage
COMMENT= Standalone genisoimage from cdrkit COMMENT= Standalone genisoimage from cdrkit
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_riscv64= Fails to link: missing sbrk
RUN_DEPENDS= # nada RUN_DEPENDS= # nada
CONFLICTS= # nada CONFLICTS= # nada