ports/opt (3.6): openntpd: fix build with gcc 10
commit 14f69d59a892c30dbdf58328cd9355eed1c92030 Author: Juergen Daubert <jue@jue.li> Date: Sat Oct 31 17:28:11 2020 +0000 openntpd: fix build with gcc 10 diff --git a/openntpd/.signature b/openntpd/.signature index 8735e97d6..23955a0bc 100644 --- a/openntpd/.signature +++ b/openntpd/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/XgHwqWjxVYe22/qjOxJUa+yGONRAaTwn0w71MBIbyyZWq8l2ksgQKOvMSpmua5aiaOv6jtnVN9N7+GGY+d+YAI= -SHA256 (Pkgfile) = 6bc0aca44cfd27cadb9c6299acbdb2f5d48002dbf79dacc1690990a1143e1bd3 +RWSE3ohX2g5d/exUJUcAJoVGGfANQGsFyYaq5J9phVxfs9JM1oyHk090Lz4PYssfgChFJkXFsHSf3jVvsKfHlt3GCMym+SJBIQM= +SHA256 (Pkgfile) = b9d5a190766630338d8d7aad56a86e45026243539157fd2de3cedb013bb1f05b SHA256 (.footprint) = 38e19020fd3cf0be9dc6da17b4e8a9d44c44ca22ded298b6e1b8e804b674d55d SHA256 (openntpd-6.2p3.tar.gz) = 7b02691524197e01ba6b1b4b7595b33956e657ba6d5c4cf2fc20ea3f4914c13a SHA256 (ntpd) = ef91ef0b6ac7fe78968ef9de1426fb2c886521e9a311517809af505f2367f0fb diff --git a/openntpd/Pkgfile b/openntpd/Pkgfile index ee607d27c..fc9e883c2 100644 --- a/openntpd/Pkgfile +++ b/openntpd/Pkgfile @@ -4,7 +4,7 @@ name=openntpd version=6.2p3 -release=1 +release=2 source=( http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/$name-$version.tar.gz ntpd @@ -23,9 +23,10 @@ build() { --localstatedir=/var \ --with-privsep-user=ntp \ --disable-https-constraint - make + + make CFLAGS+=" -fcommon" make DESTDIR=$PKG install - + rmdir $PKG/var/db $PKG/var/run install -D -m 0755 $SRC/ntpd $PKG/etc/rc.d/ntpd
participants (1)
-
crux@crux.nu