From owner-svn-ports-all@freebsd.org Wed Oct 30 14:58:42 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B91151A74F7; Wed, 30 Oct 2019 14:58:42 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 473BRQ4Zdkz42D5; Wed, 30 Oct 2019 14:58:42 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 808B9C032; Wed, 30 Oct 2019 14:58:42 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x9UEwgWi073353; Wed, 30 Oct 2019 14:58:42 GMT (envelope-from ale@FreeBSD.org) Received: (from ale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x9UEwggg073350; Wed, 30 Oct 2019 14:58:42 GMT (envelope-from ale@FreeBSD.org) Message-Id: <201910301458.x9UEwggg073350@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ale set sender to ale@FreeBSD.org using -f From: Alex Dupre Date: Wed, 30 Oct 2019 14:58:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r516062 - in head/security/opensc: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ale X-SVN-Commit-Paths: in head/security/opensc: . files X-SVN-Commit-Revision: 516062 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Oct 2019 14:58:42 -0000 Author: ale Date: Wed Oct 30 14:58:41 2019 New Revision: 516062 URL: https://svnweb.freebsd.org/changeset/ports/516062 Log: Fix build on powerpc and arm PR: 241588 Submitted by: pkubaj Added: head/security/opensc/files/patch-src_tests_p11test_p11test.c (contents, props changed) Modified: head/security/opensc/Makefile Modified: head/security/opensc/Makefile ============================================================================== --- head/security/opensc/Makefile Wed Oct 30 14:36:29 2019 (r516061) +++ head/security/opensc/Makefile Wed Oct 30 14:58:41 2019 (r516062) @@ -11,7 +11,7 @@ COMMENT= Libraries and utilities to access smart cards 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_ENV+= XSLTPROC="${FALSE}" 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 Added: head/security/opensc/files/patch-src_tests_p11test_p11test.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/opensc/files/patch-src_tests_p11test_p11test.c Wed Oct 30 14:58:41 2019 (r516062) @@ -0,0 +1,11 @@ +--- src/tests/p11test/p11test.c.orig 2019-10-30 14:56:38 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,