Date: Sat, 3 Jun 2017 21:56:25 +0000 (UTC) From: Larry Rosenman <ler@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442522 - in head/emulators/tpm-emulator: . files Message-ID: <201706032156.v53LuPPp044232@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706032156.v53LuPPp044232>