diff options
author | Théo Le Calvar | 2020-11-13 11:02:57 +0100 |
---|---|---|
committer | Théo Le Calvar | 2020-11-13 11:02:57 +0100 |
commit | 68d2cef9ebe8de38b8506e4529fb69214603b4d1 (patch) | |
tree | 022a4911386de7c57b55cd6d7421bb1d1b5d4d4e /02-fix-have_unlocked_ioctl.patch | |
parent | 8f19ef584c0603105415160d2ba4e8dfa47495ce (diff) | |
download | aur-68d2cef9ebe8de38b8506e4529fb69214603b4d1.tar.gz |
vump version to 11.7
Diffstat (limited to '02-fix-have_unlocked_ioctl.patch')
-rw-r--r-- | 02-fix-have_unlocked_ioctl.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/02-fix-have_unlocked_ioctl.patch b/02-fix-have_unlocked_ioctl.patch new file mode 100644 index 000000000000..7699c2a189e8 --- /dev/null +++ b/02-fix-have_unlocked_ioctl.patch @@ -0,0 +1,17 @@ +diff --git a/blackmagic-11.7a12/blackmagic_core.c b/blackmagic-11.7a12/blackmagic_core.c +index 2acbdd6..8d4f332 100644 +--- a/blackmagic-11.7a12/blackmagic_core.c ++++ b/blackmagic-11.7a12/blackmagic_core.c +@@ -41,6 +41,12 @@ + + #include "blackmagic_core.h" + ++ ++/* HAVE_UNLOCKED_IOCTL has been removed in kernel 5.9 */ ++#if KERNEL_VERSION_OR_LATER(5, 9, 0) ++# define HAVE_UNLOCKED_IOCTL 1 ++#endif ++ + unsigned long blackmagic_flags = 0; + module_param(blackmagic_flags, ulong, S_IRUGO | S_IWUSR); + |