diff --git a/srcpkgs/linux6.2/patches/fixdep-largefile.patch b/srcpkgs/linux6.2/patches/fixdep-largefile.patch new file mode 100644 index 00000000000..1408d329c08 --- /dev/null +++ b/srcpkgs/linux6.2/patches/fixdep-largefile.patch @@ -0,0 +1,11 @@ +--- a/tools/build/fixdep.c ++++ b/tools/build/fixdep.c +@@ -11,6 +11,8 @@ + * base transformation of dependecies without the CONFIG mangle. + */ + ++#define _FILE_OFFSET_BITS 64 ++ + #include + #include + #include diff --git a/srcpkgs/linux6.2/template b/srcpkgs/linux6.2/template index c9899d2cbd5..970ce644770 100644 --- a/srcpkgs/linux6.2/template +++ b/srcpkgs/linux6.2/template @@ -51,9 +51,6 @@ export KBUILD_BUILD_TIMESTAMP=$(LC_ALL=C date -ud @${SOURCE_DATE_EPOCH:-0}) export KBUILD_BUILD_USER=voidlinux export KBUILD_BUILD_HOST=voidlinux -# 64-bit inodes in fixdep -export HOST_EXTRACFLAGS="-D_FILE_OFFSET_BITS=64" - if [ "$CROSS_BUILD" ]; then _cross="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-" fi