exfat-dkms: remove package

exfat has been integrated into linux mainline from 5.7
This commit is contained in:
Đoàn Trần Công Danh 2022-08-27 09:53:57 +07:00 committed by Andrea Brancaleoni
parent cf59354cf4
commit f17c192511
2 changed files with 0 additions and 52 deletions

View file

@ -1,32 +0,0 @@
--- a/exfat_super.c
+++ b/exfat_super.c
@@ -97,6 +97,11 @@ static int exfat_default_codepage = CONF
static char exfat_default_iocharset[] = CONFIG_EXFAT_DEFAULT_IOCHARSET;
extern struct timezone sys_tz;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,18,0)
+#define timespec_compat timespec64
+#else
+#define timespec_compat timespec
+#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,8,0)
#define current_time(x) (CURRENT_TIME_SEC)
@@ -147,7 +152,7 @@ static time_t accum_days_in_year[] = {
static void _exfat_truncate(struct inode *inode, loff_t old_size);
/* Convert a FAT time/date pair to a UNIX date (seconds since 1 1 70). */
-void exfat_time_fat2unix(struct exfat_sb_info *sbi, struct timespec *ts,
+void exfat_time_fat2unix(struct exfat_sb_info *sbi, struct timespec_compat *ts,
DATE_TIME_T *tp)
{
time_t year = tp->Year;
@@ -166,7 +171,7 @@ void exfat_time_fat2unix(struct exfat_sb
}
/* Convert linear UNIX date to a FAT time/date pair. */
-void exfat_time_unix2fat(struct exfat_sb_info *sbi, struct timespec *ts,
+void exfat_time_unix2fat(struct exfat_sb_info *sbi, struct timespec_compat *ts,
DATE_TIME_T *tp)
{
time_t second = ts->tv_sec;

View file

@ -1,20 +0,0 @@
# Template file for 'exfat-dkms'
pkgname=exfat-dkms
version=1.2.8
revision=5
_commit=01c30ad52625a7261e1b0d874553b6ca7af25966
wrksrc="exfat-nofuse-${_commit}"
short_desc="Exfat kernel driver (nofuse)"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-or-later"
homepage="https://github.com/dorimanx/exfat-nofuse"
distfiles="https://github.com/dorimanx/exfat-nofuse/archive/${_commit}.tar.gz"
checksum=b88a98f0a7e1b987465f5ccfcafb384b293506c7fec9d3b91b803e0fe5b16e0a
dkms_modules="exfat ${version}"
depends="dkms"
do_install() {
vmkdir usr/src/exfat-${version}
vcopy "*" usr/src/exfat-${version}
}