emulators/tpm-emulator: fail to run in arm64 due to improper getopt(3) use
Add patch to fix it. PR: 219352 Submitted by: Phillip R. Jaenke <prj@rootwyrm.com> Approved by: maintainer timeout.
This commit is contained in:
parent
7b4e221f99
commit
8c5cf0c48c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442522
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= tpm-emulator
|
PORTNAME= tpm-emulator
|
||||||
PORTVERSION= 0.7.4
|
PORTVERSION= 0.7.4
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= emulators security
|
CATEGORIES= emulators security
|
||||||
MASTER_SITES= SF/${PORTNAME}.berlios
|
MASTER_SITES= SF/${PORTNAME}.berlios
|
||||||
DISTNAME= ${PORTNAME:S,-,_,}-${PORTVERSION}
|
DISTNAME= ${PORTNAME:S,-,_,}-${PORTVERSION}
|
||||||
|
11
emulators/tpm-emulator/files/patch-tpmd_unix_tpmd.c
Normal file
11
emulators/tpm-emulator/files/patch-tpmd_unix_tpmd.c
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- tpmd/unix/tpmd.c.orig 2011-12-20 18:30:06 UTC
|
||||||
|
+++ tpmd/unix/tpmd.c
|
||||||
|
@@ -85,7 +85,7 @@ static void print_usage(char *name)
|
||||||
|
|
||||||
|
static void parse_options(int argc, char **argv)
|
||||||
|
{
|
||||||
|
- char c;
|
||||||
|
+ int c;
|
||||||
|
struct passwd *pwd;
|
||||||
|
struct group *grp;
|
||||||
|
opt_uid = getuid();
|
Loading…
Reference in New Issue
Block a user