diff --git a/srcpkgs/efibootmgr/patches/portability.patch b/srcpkgs/efibootmgr/patches/portability.patch new file mode 100644 index 00000000000..7fa44f0aac3 --- /dev/null +++ b/srcpkgs/efibootmgr/patches/portability.patch @@ -0,0 +1,17 @@ +Use pci.h from linux... sys/pci.h is glibc specific. + +--- src/lib/scsi_ioctls.c.orig 2014-12-28 10:43:35.513305649 +0100 ++++ src/lib/scsi_ioctls.c 2014-12-28 10:43:45.024306074 +0100 +@@ -19,11 +19,11 @@ + */ + + #include +-#include + #include + #include + #include + #include ++#include + #include + #include "scsi_ioctls.h" + diff --git a/srcpkgs/efibootmgr/template b/srcpkgs/efibootmgr/template index b2e179150fe..53d1fee14f4 100644 --- a/srcpkgs/efibootmgr/template +++ b/srcpkgs/efibootmgr/template @@ -1,7 +1,7 @@ # Template file for 'efibootmgr' pkgname=efibootmgr version=0.11.0 -revision=1 +revision=2 makedepends="libefivar-devel zlib-devel pciutils-devel" short_desc="Tool to modify UEFI Firmware Boot Manager Variables" maintainer="Juan RP " @@ -10,7 +10,7 @@ homepage="https://github.com/vathpela/efibootmgr" distfiles="https://github.com/vathpela/efibootmgr/releases/download/efibootmgr-${version}/efibootmgr-${version}.tar.bz2" checksum=f27ce3d7588512017bceb2d2a29aef110499a662a21550afa1158f9950f976d1 -only_for_archs="i686 x86_64" +only_for_archs="i686 i686-musl x86_64 x86_64-musl" do_build() { make EXTRA_CFLAGS="$CFLAGS" ${makejobs}