Bumblebee-Project / bbswitch

Disable discrete graphics (currently nvidia only)
GNU General Public License v2.0
487 stars 78 forks source link

New release request to fix build failure in Arch Linux RISC-V #217

Open Avimitin opened 2 years ago

Avimitin commented 2 years ago

The Arch Linux package bbswitch fail to build on RISC-V. It reports

/usr/bin/make -C /usr/src/linux M="$(pwd)" modules
make[1]: Entering directory '/usr/lib/modules/5.13.13-arch1-1.4/build'
  CC [M]  /build/bbswitch/src/bbswitch-0.8/bbswitch.o
/build/bbswitch/src/bbswitch-0.8/bbswitch.c: In function ‘bbswitch_off’:
/build/bbswitch/src/bbswitch-0.8/bbswitch.c:269:13: error: implicit declaration of function ‘acpi_bus_get_device’; did you 

which had been fixed in #216. But I found that the package is based on version 0.8 which is released in 2013. It is hard to apply this patch or use cherry-pick to fix this error. So I would like to ask you to release a new version recently.