diff options
author | Mauro Santos | 2023-06-03 19:38:01 +0100 |
---|---|---|
committer | Mauro Santos | 2023-06-03 19:38:01 +0100 |
commit | 6eb29841bf6a3175ef7cea91625c81b2a03f3444 (patch) | |
tree | 518c65b51e47ad2f825945e467a4f06be9624df2 | |
parent | 5391e07a3a167c0d6931bacd0c75be3497ef8984 (diff) | |
download | aur-sedutil.tar.gz |
Add cstdint include
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | cstdint.patch | 12 |
3 files changed, 26 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon May 1 19:13:35 UTC 2023 +# Sat Jun 3 18:38:02 UTC 2023 pkgbase = sedutil pkgdesc = TCG OPAL 2.00 SED Management Program pkgver = 1.20.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/Drive-Trust-Alliance/sedutil install = sedutil.install arch = i686 @@ -28,6 +28,7 @@ pkgbase = sedutil source = linuxpba.hook source = linuxpba.install source = getpasswd.c + source = cstdint.patch sha256sums = 88016b93cbbef98fa6f5c4e6f58e6c871662b6a7f1fc8dc788c8599fa37a44f3 sha256sums = 40d785c16a28a5a8a43050d1731174482ee24459be215d2e4e27ffba3b2e28b2 sha256sums = ee3171da9eeab5170815713280588db99118a5fba73eea6373f8555451ab1e5c @@ -39,6 +40,7 @@ pkgbase = sedutil sha256sums = d9a7b66d8365e7f4eb0233b30c0ab70b5e978f6554960bf12994a1f0910c1447 sha256sums = f31a0ba891dd705ef68174afeb651bdc3426a63202d058d98510907de43248f7 sha256sums = e94d011c98bd336f37d6d4923e5d63a22ebd10d8f2c6486b6bcd6617524d6484 + sha256sums = 39cdcf396b4171b65ddb696ba5fc4893a22f052d3257a683708b5233f04248f5 pkgname = sedutil @@ -2,7 +2,7 @@ pkgname=sedutil pkgver=1.20.0 -pkgrel=2 +pkgrel=3 pkgdesc="TCG OPAL 2.00 SED Management Program" arch=('i686' 'x86_64') url="https://github.com/Drive-Trust-Alliance/sedutil" @@ -26,7 +26,8 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Drive-Trust-Alliance/${ 'mkinitcpio.conf.lib' 'linuxpba.hook' 'linuxpba.install' - 'getpasswd.c') + 'getpasswd.c' + 'cstdint.patch') sha256sums=('88016b93cbbef98fa6f5c4e6f58e6c871662b6a7f1fc8dc788c8599fa37a44f3' '40d785c16a28a5a8a43050d1731174482ee24459be215d2e4e27ffba3b2e28b2' 'ee3171da9eeab5170815713280588db99118a5fba73eea6373f8555451ab1e5c' @@ -37,9 +38,15 @@ sha256sums=('88016b93cbbef98fa6f5c4e6f58e6c871662b6a7f1fc8dc788c8599fa37a44f3' 'daaa13d48b9e72e3185594a0f7c54d2966711ef03b5444141d41be9994710c82' 'd9a7b66d8365e7f4eb0233b30c0ab70b5e978f6554960bf12994a1f0910c1447' 'f31a0ba891dd705ef68174afeb651bdc3426a63202d058d98510907de43248f7' - 'e94d011c98bd336f37d6d4923e5d63a22ebd10d8f2c6486b6bcd6617524d6484') + 'e94d011c98bd336f37d6d4923e5d63a22ebd10d8f2c6486b6bcd6617524d6484' + '39cdcf396b4171b65ddb696ba5fc4893a22f052d3257a683708b5233f04248f5') CPPFLAGS="$CPPFLAGS -O2" +prepare() { + cd "${srcdir}/$pkgname-$pkgver" + patch -p2 < "${srcdir}/cstdint.patch" +} + build() { _release="Release_$CARCH" cd "${srcdir}/" diff --git a/cstdint.patch b/cstdint.patch new file mode 100644 index 000000000000..5739e51f0690 --- /dev/null +++ b/cstdint.patch @@ -0,0 +1,12 @@ +diff -ur src/sedutil-1.20.0/Common/DtaOptions.h new/sedutil-1.20.0/Common/DtaOptions.h +--- src/sedutil-1.20.0/Common/DtaOptions.h 2021-08-18 13:18:03.000000000 +0100 ++++ new/sedutil-1.20.0/Common/DtaOptions.h 2023-06-03 19:35:06.239632338 +0100 +@@ -21,6 +21,8 @@ + #ifndef _DTAOPTIONS_H + #define _DTAOPTIONS_H + ++#include <cstdint> ++ + /** Output modes */ + typedef enum _sedutiloutput { + sedutilNormal, |