Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2022 14:47:51 GMT
From:      =?utf-8?Q?Stefan E=C3=9Fer?= <se@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 879a6b7b6280 - stable/12 - bin/df: add back linking with getmntops.c from sbin/mount
Message-ID:  <202204181447.23IElpnv036992@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by se:

URL: https://cgit.FreeBSD.org/src/commit/?id=879a6b7b628060a85a0f1787aa30ab6efbf1e0c1

commit 879a6b7b628060a85a0f1787aa30ab6efbf1e0c1
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2022-04-18 14:44:30 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2022-04-18 14:44:30 +0000

    bin/df: add back linking with getmntops.c from sbin/mount
    
    A last minute clean-up of the Makefile erroneously removed the
    definitions required to link against sbin/mount/getmntops.c which
    defines the iovec handling functions used for the unmounted device
    case (that has been removed from -CURRENT and 13-STABLE).
    
    Put back the definitions to make the build with MOUNT_CHAR_DEVS
    defined succeed.
---
 bin/df/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/df/Makefile b/bin/df/Makefile
index bf1c72b884ac..b8e0ffc8c263 100644
--- a/bin/df/Makefile
+++ b/bin/df/Makefile
@@ -3,12 +3,14 @@
 
 PACKAGE=runtime
 MOUNT= ${.CURDIR}/../../sbin/mount
+.PATH: ${MOUNT}
 
 PROG=	df
 SRCS=	df.c
 
 CFLAGS+= -I${MOUNT}
 CFLAGS+= -DMOUNT_CHAR_DEVS
+SRCS+=	getmntopts.c
 
 LIBADD=	xo util
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204181447.23IElpnv036992>