# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/nvidia-open/hotfix-nvidia.patch # Copyright (C) 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- --- open-gpu-kernel-modules-550.127.05/kernel-open/conftest.sh.vanilla +++ open-gpu-kernel-modules-550.127.05/kernel-open/conftest.sh @@ -96,7 +96,9 @@ BASE_CFLAGS="-O2 -D__KERNEL__ \ -DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \ -nostdinc -isystem $ISYSTEM \ --Wno-implicit-function-declaration -Wno-strict-prototypes" +-Wno-implicit-function-declaration -Wno-strict-prototypes \ +-Wno-incompatible-pointer-types -Wno-implicit-int \ +-Wno-int-conversion -Wno-incompatible-pointer-types" if [ "$OUTPUT" != "$SOURCES" ]; then OUTPUT_CFLAGS="-I$OUTPUT/include2 -I$OUTPUT/include"