svn commit: r442522 - in head/emulators/tpm-emulator: . files
Larry Rosenman
ler at FreeBSD.org
Sat Jun 3 21:56:27 UTC 2017
Author: ler
Date: Sat Jun 3 21:56:25 2017
New Revision: 442522
URL: https://svnweb.freebsd.org/changeset/ports/442522
Log:
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 at rootwyrm.com>
Approved by: maintainer timeout.
Added:
head/emulators/tpm-emulator/files/patch-tpmd_unix_tpmd.c (contents, props changed)
Modified:
head/emulators/tpm-emulator/Makefile
Modified: head/emulators/tpm-emulator/Makefile
==============================================================================
--- head/emulators/tpm-emulator/Makefile Sat Jun 3 21:46:36 2017 (r442521)
+++ head/emulators/tpm-emulator/Makefile Sat Jun 3 21:56:25 2017 (r442522)
@@ -3,7 +3,7 @@
PORTNAME= tpm-emulator
PORTVERSION= 0.7.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= emulators security
MASTER_SITES= SF/${PORTNAME}.berlios
DISTNAME= ${PORTNAME:S,-,_,}-${PORTVERSION}
Added: head/emulators/tpm-emulator/files/patch-tpmd_unix_tpmd.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/tpm-emulator/files/patch-tpmd_unix_tpmd.c Sat Jun 3 21:56:25 2017 (r442522)
@@ -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();
More information about the svn-ports-all
mailing list