mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
Fix bool typedef error. Also a minor adjustment to `ARCH` variable for linter.
```
In file included from asn1.c:18:
typedefs.h:55:23: error: 'bool' cannot be defined via 'typedef'
55 | typedef unsigned char bool;
| ^~~~
typedefs.h:55:23: note: 'bool' is a keyword with '-std=c23' onwards
typedefs.h:55:1: warning: useless type name in empty declaration
55 | typedef unsigned char bool;
| ^~~~~~~
```
51 lines
2.3 KiB
Plaintext
51 lines
2.3 KiB
Plaintext
# Contributor: Tero Hilpinen <tero.hilpinen@symbio.com>
|
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
|
|
pkgname=efitools
|
|
pkgver=1.9.2
|
|
pkgrel=13
|
|
pkgdesc="EFI tools"
|
|
url="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git"
|
|
# others: limited by sbsigntool
|
|
# riscv64: sbsigntool appears to be broken
|
|
arch="all !armhf !s390x !ppc64le !loongarch64 !riscv64"
|
|
license="(GPL-2.0-only AND LGPL-2.1-or-later) WITH OpenSSL-Exception"
|
|
options="!check" # no testsuite
|
|
# efi-readvar requires mount(8) with -l option
|
|
depends="mount"
|
|
makedepends="gnu-efi-dev gnu-efi openssl-dev>3 perl-file-slurp help2man sbsigntool"
|
|
subpackages="$pkgname-doc"
|
|
source="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git/snapshot/efitools-$pkgver.tar.gz
|
|
001-datatypes.patch
|
|
002-fix-parallel-make.patch
|
|
003-fix-wchar_t.patch
|
|
004-typo.patch
|
|
005-riscv64.patch
|
|
006-gcc15-bool.patch
|
|
fix-build-on-aarch64.patch
|
|
"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
sed -i "s/-O2/$CFLAGS -Wno-pointer-sign -O2/" Make.rules
|
|
}
|
|
|
|
build() {
|
|
ARCH="$CARCH" make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
77e0ad7e865814ed388ff6daabe0f4b49ba51672bf2cbb98b7905e209cbd28f9ede2f73213ce45af8a978c1e67dba24ec88a1188661317cc22317b47e575cde8 efitools-1.9.2.tar.gz
|
|
cd72161a99b26472909a8da834c08a1f88b54d35291a6646562b03a6616fa5fb61e49d4fb3c780861689d23823c101709890dd245dd8aa9f51dca40ac1b2d369 001-datatypes.patch
|
|
7afe87e9b44ed3e10200770d3079e4e14b6d39c54c05538031e93d021631427fed47781b016b46f58b8fe6d21f1f3c78667b2b502aa20b99516aa980303aa2ad 002-fix-parallel-make.patch
|
|
dafe620f7eb3cbfe9538659da0936d704b11e176dbf544d12233c04c4d0edc7e46ebd4388edf886e907da7ba68dbd98828001369149b9fe3dfc7cba3f41ebea6 003-fix-wchar_t.patch
|
|
e34d4d8f420a29cfc50a9f98dcbb048016f2fc535ddb3e39482e58f44b37db672410ffab24392751818d72b1e914d77644cae8f7a92bb9af7fe2a9f726a230e9 004-typo.patch
|
|
630587b00bee4e65e9258f56d0e66677e36063c83659f394c5fcb766683d704f63e8e2acf72f69f6bfef77dd84471c28ab21ef15f10389d8c2151fa2e46229c4 005-riscv64.patch
|
|
15c1719b5b35c47e05ae436b2a116d8836461c9e15a53fbe4e2ef00c920b416754917cb9bd6e0c670fe80a153f067707aa8f7306326febc9300d9f58711de733 006-gcc15-bool.patch
|
|
92527e22ba385b0485508eb528d7338f202f2fc3174ef285a9fc7dfb339162bc95f98dbad0593043f0970034e99e8d027424e5a6924ea0a8c10e0c5b524e8f32 fix-build-on-aarch64.patch
|
|
"
|