netbsd-rumpkernel: fix build; xlint fixes; adopt

This commit is contained in:
Jürgen Buchmüller 2020-05-27 16:10:50 +02:00
parent 5c641eb2ce
commit abdaf103fb
2 changed files with 86 additions and 17 deletions

View File

@ -1275,17 +1275,85 @@ libwiringPi.so libwiringPi-0.0.20200408_1
libwiringPiDev.so libwiringPi-0.0.20200408_1
liblockdev.so.1 lockdev-1.0.3_1
libcec.so.4 libcec-4.0.2_1
librump.so.0 netbsd-rumpkernel-20130321_1
librumpvfs.so.0 netbsd-rumpkernel-20130321_1
librumpdev_disk.so.0 netbsd-rumpkernel-20130321_1
librumpdev.so.0 netbsd-rumpkernel-20130321_1
librumpuser.so.0 netbsd-rumpkernel-20130321_1
librumpnet_sockin.so.0 netbsd-rumpkernel-20130321_1
librumpnet_net.so.0 netbsd-rumpkernel-20130321_1
librumpnet.so.0 netbsd-rumpkernel-20130321_1
librumpkern_sys_linux.so.0 netbsd-rumpkernel-20130321_1
librumpdev_netsmb.so.0 netbsd-rumpkernel-20130321_1
librumpkern_crypto.so.0 netbsd-rumpkernel-20130321_1
librump.so.0 netbsd-rumpkernel-20140526_3
librumpvfs.so.0 netbsd-rumpkernel-20140526_3
librumpdev_disk.so.0 netbsd-rumpkernel-20140526_3
librumpdev.so.0 netbsd-rumpkernel-20140526_3
librumpuser.so.0 netbsd-rumpkernel-20140526_3
librumpnet_sockin.so.0 netbsd-rumpkernel-20140526_3
librumpnet_net.so.0 netbsd-rumpkernel-20140526_3
librumpnet.so.0 netbsd-rumpkernel-20140526_3
librumpkern_sys_linux.so.0 netbsd-rumpkernel-20140526_3
librumpdev_netsmb.so.0 netbsd-rumpkernel-20140526_3
librumpkern_crypto.so.0 netbsd-rumpkernel-20140526_3
librumpdev_usb.so.0 netbsd-rumpkernel-20140526_3
librumpdev_ulpt.so.0 netbsd-rumpkernel-20140526_3
librumpdev_umass.so.0 netbsd-rumpkernel-20140526_3
librumpdev_ugenhc.so.0 netbsd-rumpkernel-20140526_3
librumpdev_ucom.so.0 netbsd-rumpkernel-20140526_3
librumpdev_ubt.so.0 netbsd-rumpkernel-20140526_3
librumpdev_opencrypto.so.0 netbsd-rumpkernel-20140526_3
librumpdev_wscons.so.0 netbsd-rumpkernel-20140526_3
librumpvfs_aio.so.0 netbsd-rumpkernel-20140526_3
librumpdev_sysmon.so.0 netbsd-rumpkernel-20140526_3
librumpvfs_layerfs.so.0 netbsd-rumpkernel-20140526_3
librumpvfs_fifofs.so.0 netbsd-rumpkernel-20140526_3
librumpdev_scsipi.so.0 netbsd-rumpkernel-20140526_3
librumpfs_nfsserver.so.0 netbsd-rumpkernel-20140526_3
librumpdev_rnd.so.0 netbsd-rumpkernel-20140526_3
librumpfs_v7fs.so.0 netbsd-rumpkernel-20140526_3
librumpfs_union.so.0 netbsd-rumpkernel-20140526_3
librumpdev_raidframe.so.0 netbsd-rumpkernel-20140526_3
librumpfs_umap.so.0 netbsd-rumpkernel-20140526_3
librumpdev_putter.so.0 netbsd-rumpkernel-20140526_3
librumpfs_udf.so.0 netbsd-rumpkernel-20140526_3
librumphijack.so.0 netbsd-rumpkernel-20140526_3
librumpfs_tmpfs.so.0 netbsd-rumpkernel-20140526_3
librumpdev_pud.so.0 netbsd-rumpkernel-20140526_3
librumpnet_virtif.so.0 netbsd-rumpkernel-20140526_3
librumpfs_sysvbfs.so.0 netbsd-rumpkernel-20140526_3
librumpdev_pad.so.0 netbsd-rumpkernel-20140526_3
librumpnet_bpfjit.so.0 netbsd-rumpkernel-20140526_3
librumpnet_shmif.so.0 netbsd-rumpkernel-20140526_3
librumpnet_config.so.0 netbsd-rumpkernel-20140526_3
librumpfs_syspuffs.so.0 netbsd-rumpkernel-20140526_3
librumpfs_smbfs.so.0 netbsd-rumpkernel-20140526_3
librumpnet_local.so.0 netbsd-rumpkernel-20140526_3
librumpnet_npf.so.0 netbsd-rumpkernel-20140526_3
librumpfs_ptyfs.so.0 netbsd-rumpkernel-20140526_3
librumpdev_md.so.0 netbsd-rumpkernel-20140526_3
librumpfs_null.so.0 netbsd-rumpkernel-20140526_3
librumpnet_netmpls.so.0 netbsd-rumpkernel-20140526_3
librumpnet_netinet6.so.0 netbsd-rumpkernel-20140526_3
librumpfs_ntfs.so.0 netbsd-rumpkernel-20140526_3
librumpfs_nilfs.so.0 netbsd-rumpkernel-20140526_3
librumpdev_fss.so.0 netbsd-rumpkernel-20140526_3
librumpnet_netinet.so.0 netbsd-rumpkernel-20140526_3
librumpnet_netbt.so.0 netbsd-rumpkernel-20140526_3
librumpfs_msdos.so.0 netbsd-rumpkernel-20140526_3
librumpfs_nfs.so.0 netbsd-rumpkernel-20140526_3
librumpdev_drvctl.so.0 netbsd-rumpkernel-20140526_3
librumpnet_net80211.so.0 netbsd-rumpkernel-20140526_3
librumpfs_mfs.so.0 netbsd-rumpkernel-20140526_3
librumpfs_lfs.so.0 netbsd-rumpkernel-20140526_3
librumpdev_dm.so.0 netbsd-rumpkernel-20140526_3
librumpkern_time.so.0 netbsd-rumpkernel-20140526_3
librumpfs_kernfs.so.0 netbsd-rumpkernel-20140526_3
librumpfs_hfs.so.0 netbsd-rumpkernel-20140526_3
librumpkern_sljit.so.0 netbsd-rumpkernel-20140526_3
librumpfs_ffs.so.0 netbsd-rumpkernel-20140526_3
librumpfs_fdesc.so.0 netbsd-rumpkernel-20140526_3
librumpnet_bridge.so.0 netbsd-rumpkernel-20140526_3
librumpkern_z.so.0 netbsd-rumpkernel-20140526_3
librumpdev_cgd.so.0 netbsd-rumpkernel-20140526_3
librumpfs_ext2fs.so.0 netbsd-rumpkernel-20140526_3
librumpfs_efs.so.0 netbsd-rumpkernel-20140526_3
librumpnet_agr.so.0 netbsd-rumpkernel-20140526_3
librumpkern_tty.so.0 netbsd-rumpkernel-20140526_3
librumpdev_bpf.so.0 netbsd-rumpkernel-20140526_3
librumpfs_cd9660.so.0 netbsd-rumpkernel-20140526_3
librumpdev_audio.so.0 netbsd-rumpkernel-20140526_3
librumpclient.so.0 netbsd-rumpkernel-20140526_3
libdotconf.so.0 dotconf-1.3_1
libspeechd.so.2 speech-dispatcher-0.8_1
libre2.so.0 re2-2015.07.01_1

View File

@ -1,12 +1,12 @@
# Template file for 'netbsd-rumpkernel'
pkgname=netbsd-rumpkernel
version=20140526
revision=2
revision=3
archs="x86_64* i686*"
wrksrc="buildrump.sh-${version}"
hostmakedepends="git"
short_desc="The NetBSD rump kernel"
maintainer="Orphaned <orphan@voidlinux.org>"
hostmakedepends="git tar"
short_desc="NetBSD rump kernel"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="BSD"
homepage="https://github.com/anttikantee/buildrump.sh"
distfiles="https://github.com/rumpkernel/buildrump.sh/archive/v${version}.tar.gz"
@ -18,10 +18,10 @@ do_configure() {
./buildrump.sh checkout
# Do not install preformatted manpages
sed -i '/MKCATPAGES/d' buildrump.sh
# Do not error out on warnings
grep -rlw -- "-Werror" | xargs sed -i -e "s;-Werror;-Wno-error;"
}
do_build() {
export CPPFLAGS=-Wno-error
./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
}
@ -30,6 +30,7 @@ do_install() {
# Set proper perms to libs.
chmod 644 ${DESTDIR}/usr/lib/*.a
chmod 755 ${DESTDIR}/usr/lib/*.so.*
vlicense LICENSE
}
netbsd-rumpkernel-devel_package() {