diff --git a/main/efibootmgr/.pkgfiles b/main/efibootmgr/.pkgfiles index c296c18a1..02acc06d4 100644 --- a/main/efibootmgr/.pkgfiles +++ b/main/efibootmgr/.pkgfiles @@ -1,3 +1,4 @@ +efibootmgr-17-1 drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/sbin/ -rwxr-xr-x root/root usr/sbin/efibootmgr diff --git a/main/efibootmgr/spkgbuild b/main/efibootmgr/spkgbuild index 979cc0344..aedc6d95b 100755 --- a/main/efibootmgr/spkgbuild +++ b/main/efibootmgr/spkgbuild @@ -10,7 +10,11 @@ source="$name-$version.tar.gz::https://github.com/rhboot/efibootmgr/archive/$ver build() { cd $name-$version - patch -Np1 -i $SRC/efivar.patch + export CFLAGS="${CFLAGS} -Wno-error=pointer-sign" + + # removing hotfix function declaration: + # https://github.com/rhboot/efibootmgr/issues/128 + sed -e '/extern int efi_set_verbose/d' -i "src/$name.c" EFIDIR=/boot/efi make install -D src/efibootmgr $PKG/usr/sbin/efibootmgr