--- Makefile (revision 515760) +++ Makefile (working copy) @@ -10,7 +10,7 @@ LICENSE= LGPL21 -USES= autoreconf compiler gmake libtool pkgconfig ssl +USES= autoreconf compiler:c11 gmake libtool pkgconfig ssl OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND=PCSC OPENCT CTAPI @@ -70,12 +70,4 @@ CONFIGURE_ARGS+=--without-xsl-stylesheetsdir .endif -.include - -.if ${CHOSEN_COMPILER_TYPE} == gcc -post-patch: - ${REINPLACE_CMD} -e '/-Wno-unused-but-set-variable/d' \ - ${WRKSRC}/src/tools/Makefile.am -.endif - -.include +.include --- files/patch-src_tests_p11test_p11test.c (nonexistent) +++ files/patch-src_tests_p11test_p11test.c (working copy) @@ -0,0 +1,11 @@ +--- src/tests/p11test/p11test.c.orig 2019-10-30 11:56:42 UTC ++++ src/tests/p11test/p11test.c +@@ -49,7 +49,7 @@ void display_usage() { + } + + int main(int argc, char** argv) { +- char command; ++ signed char command; + const struct CMUnitTest readonly_tests_without_initialization[] = { + /* Test card events on slot */ + cmocka_unit_test_setup_teardown(wait_test,