Received: by mail.netbsd.org (Postfix, from userid 605) id 42F6284CEA; Wed, 18 Sep 2019 19:35:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id BA1B884CE9 for ; Wed, 18 Sep 2019 19:35:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id BR2AwNtdb4hT for ; Wed, 18 Sep 2019 19:35:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 440C684CCF for ; Wed, 18 Sep 2019 19:35:09 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E276CFBF4; Wed, 18 Sep 2019 19:35:08 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1568835308191820" MIME-Version: 1.0 Date: Wed, 18 Sep 2019 19:35:08 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/security/libssh/patches To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20190918193508.E276CFBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1568835308191820 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Wed Sep 18 19:35:08 UTC 2019 Modified Files: pkgsrc/security/libssh/patches: patch-CompilerChecks.cmake Log Message: libssh: update patch To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \ pkgsrc/security/libssh/patches/patch-CompilerChecks.cmake Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1568835308191820 Content-Disposition: inline Content-Length: 2147 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/security/libssh/patches/patch-CompilerChecks.cmake diff -u pkgsrc/security/libssh/patches/patch-CompilerChecks.cmake:1.1 pkgsrc/security/libssh/patches/patch-CompilerChecks.cmake:1.2 --- pkgsrc/security/libssh/patches/patch-CompilerChecks.cmake:1.1 Mon Dec 3 15:19:51 2018 +++ pkgsrc/security/libssh/patches/patch-CompilerChecks.cmake Wed Sep 18 19:35:08 2019 @@ -1,27 +1,36 @@ -$NetBSD: patch-CompilerChecks.cmake,v 1.1 2018/12/03 15:19:51 adam Exp $ +$NetBSD: patch-CompilerChecks.cmake,v 1.2 2019/09/18 19:35:08 nia Exp $ Let PkgSrc handle security features. ---- CompilerChecks.cmake.orig 2018-12-03 09:27:44.000000000 +0000 +--- CompilerChecks.cmake.orig 2019-06-27 08:34:16.000000000 +0000 +++ CompilerChecks.cmake -@@ -62,20 +62,7 @@ if (UNIX) +@@ -66,29 +66,6 @@ if (UNIX) endif() endif() - check_c_compiler_flag_ssp("-fstack-protector-strong" WITH_STACK_PROTECTOR_STRONG) - if (WITH_STACK_PROTECTOR_STRONG) - list(APPEND SUPPORTED_COMPILER_FLAGS "-fstack-protector-strong") +- # This is needed as Solaris has a seperate libssp +- if (SOLARIS) +- list(APPEND SUPPORTED_LINKER_FLAGS "-fstack-protector-strong") +- endif() - else (WITH_STACK_PROTECTOR_STRONG) - check_c_compiler_flag_ssp("-fstack-protector" WITH_STACK_PROTECTOR) - if (WITH_STACK_PROTECTOR) - list(APPEND SUPPORTED_COMPILER_FLAGS "-fstack-protector") +- # This is needed as Solaris has a seperate libssp +- if (SOLARIS) +- list(APPEND SUPPORTED_LINKER_FLAGS "-fstack-protector") +- endif() - endif() - endif (WITH_STACK_PROTECTOR_STRONG) - +- - check_c_compiler_flag_ssp("-fstack-clash-protection" WITH_STACK_CLASH_PROTECTION) - if (WITH_STACK_CLASH_PROTECTION) - list(APPEND SUPPORTED_COMPILER_FLAGS "-fstack-clash-protection") - endif() - +- if (PICKY_DEVELOPER) add_c_compiler_flag("-Wno-error=deprecated-declarations" SUPPORTED_COMPILER_FLAGS) + add_c_compiler_flag("-Wno-error=tautological-compare" SUPPORTED_COMPILER_FLAGS) --_----------=_1568835308191820--