From e3ca99beb8d8654db3f25438bf72728397bb4b74 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Wed, 1 Feb 2017 22:36:27 +0100 Subject: [PATCH] Fix rt8192cu-git for newer kernels --- satellites/rt8192cu-git.sat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satellites/rt8192cu-git.sat b/satellites/rt8192cu-git.sat index 4e67e39..3ce51ec 100644 --- a/satellites/rt8192cu-git.sat +++ b/satellites/rt8192cu-git.sat @@ -10,7 +10,7 @@ header_end kver="$(option =kver)" cd "$name" -make KSRC="/lib/modules/$kver/build" modules +make USER_EXTRA_CFLAGS='-Wno-error=incompatible-pointer-types' KSRC="/lib/modules/$kver/build" modules install -Dm644 -t "$dir_install/lib/modules/$kver/kernel/drivers/net/wireless" 8192cu.ko install -Dm644 blacklist-dkms-8192cu.conf "$dir_install/$dir_prefix/$dir_sysconfdir/modprobe.d/$name.conf" echo 'blacklist rtl8xxxu' >> "$dir_install/$dir_prefix/$dir_sysconfdir/modprobe.d/$name.conf"