Date: Thu, 02 Nov 2017 18:15:46 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 223384] security/opensc: compile fails with SM option unset Message-ID: <bug-223384-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223384 Bug ID: 223384 Summary: security/opensc: compile fails with SM option unset Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ale@FreeBSD.org Reporter: la5lbtyi@aon.at Assignee: ale@FreeBSD.org Flags: maintainer-feedback?(ale@FreeBSD.org) If (as seems to have been the default in previous versions of the port) the= SM option is unset, the compile fails. libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -DOPENSC_CONF_PATH=3D\"/usr/local/etc/opensc.conf\" -I../../src -I/usr/incl= ude -I/usr/local/include/PCSC -D_THREAD_SAFE -pthread -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Werror=3Ddeclaration-after-statement -MT libopensc_la-card-authentic.lo -MD -MP -MF .deps/libopensc_la-card-authentic.Tpo -c card-authentic.c -o libopensc_la-card-authentic.o >/dev/null 2>&1 card-sc-hsm.c:287:2: warning: implicit declaration of function 'sc_sm_stop'= is invalid in C99 [-Wimplicit-function-declaration] sc_sm_stop(card); ^ card-sc-hsm.c:566:13: error: no member named 'sm_ctx' in 'struct sc_card' && card->sm_ctx.sm_mode !=3D SM_MODE_TRANSMIT) { ~~~~ ^ card-sc-hsm.c:566:31: error: use of undeclared identifier 'SM_MODE_TRANSMIT' && card->sm_ctx.sm_mode !=3D SM_MODE_TRANSMIT) { ^ card-sc-hsm.c:608:15: error: no member named 'sm_ctx' in 'struct sc_card' && (card->sm_ctx.sm_mode =3D=3D SM_MODE_TRA= NSMIT)) { ~~~~ ^ card-sc-hsm.c:608:33: error: use of undeclared identifier 'SM_MODE_TRANSMIT' && (card->sm_ctx.sm_mode =3D=3D SM_MODE_TRA= NSMIT)) { ^ card-sc-hsm.c:630:14: error: no member named 'sm_ctx' in 'struct sc_card' if (card->sm_ctx.sm_mode !=3D SM_MODE_TRANSMIT) { ~~~~ ^ card-sc-hsm.c:630:32: error: use of undeclared identifier 'SM_MODE_TRANSMIT' if (card->sm_ctx.sm_mode !=3D SM_MODE_TRANSMIT) { ^ 1 warning and 6 errors generated. gmake[5]: *** [Makefile:1532: libopensc_la-card-sc-hsm.lo] Error 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223384-13>