-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updpatch: yubikey-personalization 1.20.0-4
Signed-off-by: 秋雨落 <[email protected]>
- Loading branch information
Showing
1 changed file
with
3 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,10 @@ | ||
diff --git PKGBUILD PKGBUILD | ||
index 5e0be2a..e827413 100644 | ||
--- PKGBUILD | ||
+++ PKGBUILD | ||
@@ -15,15 +15,18 @@ provides=('ykpers') | ||
conflicts=('ykpers') | ||
validpgpkeys=('0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A') # Klas Lindfors <[email protected]> | ||
source=("https://developers.yubico.com/${pkgname}/Releases/${_shortname}-${pkgver}.tar.gz"{,.sig} | ||
- '0001-fix-boolean-value-with-json-c-0.14.patch') | ||
+ '0001-fix-boolean-value-with-json-c-0.14.patch' | ||
+ "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-auth/ykpers/files/ykpers-1.20.0-fix-gcc10-fno-common.patch") | ||
sha256sums=('0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93' | ||
'SKIP' | ||
- 'f9b434e9570ce7d0192182aab979f767238b704f12645546e567db841bb7b5e2') | ||
+ 'f9b434e9570ce7d0192182aab979f767238b704f12645546e567db841bb7b5e2' | ||
+ '8ae31623531e5fe6f10b884ffaae17798282da39718139765fcd0e772c527358') | ||
|
||
prepare() { | ||
cd "${_shortname}-${pkgver}" | ||
@@ -27,6 +27,7 @@ prepare() { | ||
|
||
patch -Np1 < ../0001-fix-boolean-value-with-json-c-0.14.patch | ||
+ patch -Np1 < ../ykpers-1.20.0-fix-gcc10-fno-common.patch | ||
patch -Np1 < ../0002-make-header-declarations-extern.patch | ||
+ autoreconf -fi | ||
} | ||
|
||
build() { | ||
@@ -48,4 +51,3 @@ package() { | ||
install -D -m0644 README "${pkgdir}/usr/share/doc/yubikey-personalization/README" | ||
make DESTDIR="${pkgdir}/" install | ||
} | ||
- |