diff options
author | Maciej Szeptuch | 2021-10-25 23:31:30 +0200 |
---|---|---|
committer | Maciej Szeptuch | 2021-10-25 23:31:30 +0200 |
commit | 1848445a39c13964c601e1cbbc595218a7a12c3c (patch) | |
tree | 1ad607160a003872d783ab3a9a264343deb871c4 | |
parent | 5c916975a52d151103683b5800fc3c621db786ae (diff) | |
download | aur-1848445a39c13964c601e1cbbc595218a7a12c3c.tar.gz |
fix build on linux 5.12+
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -28,6 +28,9 @@ b2sums=( prepare() { # Make the driver use local raspberrypi-firmware.h copy with new values, as they are not yet upstreamed sed -i -e 's|<soc/bcm2835/raspberrypi-firmware.h>|"raspberrypi-firmware.h"|' rpi-poe-fan.c + + # Fix for linux 5.12+ + sed -i -e 's|thermal_cdev_update|//thermal_cdev_update|' rpi-poe-fan.c } package() { |