View | Details | Raw Unified | Return to bug 241588
Collapse All | Expand All

(-)Makefile (-10 / +2 lines)
Lines 10-16 Link Here
10
10
11
LICENSE=	LGPL21
11
LICENSE=	LGPL21
12
12
13
USES=		autoreconf compiler gmake libtool pkgconfig ssl
13
USES=		autoreconf compiler:c11 gmake libtool pkgconfig ssl
14
14
15
OPTIONS_SINGLE=	BACKEND
15
OPTIONS_SINGLE=	BACKEND
16
OPTIONS_SINGLE_BACKEND=PCSC OPENCT CTAPI
16
OPTIONS_SINGLE_BACKEND=PCSC OPENCT CTAPI
Lines 70-81 Link Here
70
CONFIGURE_ARGS+=--without-xsl-stylesheetsdir
70
CONFIGURE_ARGS+=--without-xsl-stylesheetsdir
71
.endif
71
.endif
72
72
73
.include <bsd.port.pre.mk>
73
.include <bsd.port.mk>
74
75
.if ${CHOSEN_COMPILER_TYPE} == gcc
76
post-patch:
77
	${REINPLACE_CMD} -e '/-Wno-unused-but-set-variable/d' \
78
		${WRKSRC}/src/tools/Makefile.am
79
.endif
80
81
.include <bsd.port.post.mk>
(-)files/patch-src_tests_p11test_p11test.c (+11 lines)
Line 0 Link Here
1
--- src/tests/p11test/p11test.c.orig	2019-10-30 11:56:42 UTC
2
+++ src/tests/p11test/p11test.c
3
@@ -49,7 +49,7 @@ void display_usage() {
4
 }
5
 
6
 int main(int argc, char** argv) {
7
-	char command;
8
+	signed char command;
9
 	const struct CMUnitTest readonly_tests_without_initialization[] = {
10
 		/* Test card events on slot */
11
 		cmocka_unit_test_setup_teardown(wait_test,

Return to bug 241588