From 003da68e930ae9550071691119898fea21ef288d Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 23 Nov 2023 18:48:53 +0100 Subject: Fixed ZFS and upgraded. --- PKGBUILD | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 33b53b6..079a976 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgbase=linux-kentdobias _kver=6.6.2 _zver=2.2.1 pkgver="${_kver}_${_zver}" -pkgrel=1 +pkgrel=2 pkgdesc='Linux' url='https://github.com/archlinux/linux' arch=(x86_64) @@ -52,12 +52,12 @@ sha256sums=('73d4f6ad8dd6ac2a41ed52c2928898b7c3f2519ed5dbdb11920209a36999b77e' 'SKIP' '4ff2de43d39710283ae8ff1744aa96e6cdc83c8efe86a715294d4f6bc34a8e8e' 'SKIP' - '887d0e64dac2fef39351c64d1c939a96d44e947a7a4c7b662f756b901b08cc7b') + '362c90577c1c3a516e7057f756f990a9045f514bb715c17c21da318e428ca1aa') b2sums=('88fc55107834d4308d33547211a031674ffaa8e48e23d6612ba39430292b18073d49271bd3ce8c7be01d8c5668482cb1715071abfd9b1f75b06468a09f8f4eec' 'SKIP' 'c3ff95c892024a11ee5c266b10e3354074606665a201fbab16e1ed12550340e0d991d98bd74f794331b68bd16cd6147a9e8937b8cda72d454abce72a22bafec6' 'SKIP' - 'fb56f331d06271b741d18e354a9c8faac6dbbc57b0511f28b25dee3c4dbcaa625c88065b183bacb4f5d02fd7b86bef80755aeba8c59752c763d5a998b1b626e9') + '2294d356cfedecc1c8c2ae414a0fdb7b580b616b12284b464cc9ccb8c04098aae13574a6a04ed6411b7f8fb6f18a4761d5a601d854d0d9278c009f94080dc274') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase @@ -87,6 +87,21 @@ prepare() { make prepare cd ../zfs-${_zver} + + echo "diff --git a/config/kernel-inode-times.m4 b/config/kernel-inode-times.m4 +index 412e13b47..aae95abf1 100644 +--- a/config/kernel-inode-times.m4 ++++ b/config/kernel-inode-times.m4 +@@ -47,7 +47,7 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_INODE_TIMES], [ + #include + ],[ + struct inode ip; +- struct timespec64 ts; ++ struct timespec64 ts = {0}; + + memset(&ip, 0, sizeof(ip)); + inode_set_ctime_to_ts(&ip, ts);" | patch -Np1 + ./autogen.sh KERNEL_LLVM=1 CC=clang ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --with-mounthelperdir=/usr/bin \ --libdir=/usr/lib --datadir=/usr/share --includedir=/usr/include \ -- cgit v1.2.3-70-g09d2