[Bug 292869] x11/nvidia-driver: fix build with clang 21

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292869

Tomoaki AOKI <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Tomoaki AOKI <[email protected]> ---
First report not to be stupidly committed.

As x11/nvidia-driver is the master (parent) port for
x11/nvidia-driver-{304|340|390|470|devel} and patches under
x11/nvidia-driver/files are shared between x11/nvidia-kmod, which is the master
port for x11/nvidia-kmod-{304|340|390|470|devel}, this needs to be
conditionalized.

I'll report back once I could take time for confirming thoroughly for all slave
(child) ports.


For example:
/usr/ports/x11/nvidia-kmod-304# make
===>  License NVIDIA accepted by the user
===>   nvidia-kmod-304-304.137.1500506 depends on file: /usr/local/sbin/pkg -
found
===> Fetching all distfiles required by nvidia-kmod-304-304.137.1500506 for
building
===>  Extracting for nvidia-kmod-304-304.137.1500506
=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86_64-304.137.tar.gz.
===>  Patching for nvidia-kmod-304-304.137.1500506
===>  Applying extra patch
/usr/ports/x11/nvidia-kmod-304/work/extra-patch-src-Makefile
===>  Applying extra patch
/usr/ports/x11/nvidia-kmod-304/work/extra-patch-src-nv-freebsd.h
===>  Applying extra patch
/usr/ports/x11/nvidia-kmod-304/work/extra-patch-src-nvidia_dev.c
===>  Applying extra patch
/usr/ports/x11/nvidia-kmod-304/work/extra-patch-src-nvidia_pci.c
===>  Applying extra patch
/usr/ports/x11/nvidia-kmod-304/work/extra-patch-src-nvidia_subr.c
===>  Applying extra patch
/usr/ports/x11/nvidia-kmod-304/work/extra-patch-src-nvidia_ctl.c
===>  Applying extra patch
/usr/ports/x11/nvidia-kmod-304/work/extra-patch-src-nvidia_linux.c
===>  Applying extra patch
/usr/ports/x11/nvidia-kmod-304/work/extra-patch-src-nv-misc.h
===>  Applying FreeBSD patches for nvidia-kmod-304-304.137.1500506 from
/usr/ports/x11/nvidia-kmod-304/../nvidia-driver/files
File to patch:

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.