void-packages/srcpkgs/efivar/patches/fix-efivar_h-location.patch
maxice8 d16d21060a efivar: update to 32.
- Remove musl specific file and patch, opt for using Alpine patch that
works on both musl and glibc, this also cleans the 'case esac' on
do_build()
- Remove sed on Make.rules that add -lpopt, we add 'pkg-config' to
hostmakedepends since the Makefile uses it to find the popt-devel flags
- add patch from upstream commit that fixes the location of efivar.h on
'src/test/tester.c'
- Change build-style to gnu-makefile

Closes: #10128 [via git-merge-pr]
2017-12-28 15:32:44 +01:00

15 lines
367 B
Diff

When other bits of the source got fixed to use a different include path
for efivars, the test directory did not.
--- src/test/tester.c
+++ src/test/tester.c
@@ -26,7 +26,7 @@
#include <sys/stat.h>
#include <unistd.h>
-#include <efivar.h>
+#include <efivar/efivar.h>
#define TEST_GUID EFI_GUID(0x84be9c3e,0x8a32,0x42c0,0x891c,0x4c,0xd3,0xb0,0x72,0xbe,0xcc)