Received: by mail.netbsd.org (Postfix, from userid 605) id 7EEC784DAD; Thu, 10 Sep 2020 11:32:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0664E84D9F for ; Thu, 10 Sep 2020 11:32:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id O1hVWw9Qnxs1 for ; Thu, 10 Sep 2020 11:31:59 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 7B29684D75 for ; Thu, 10 Sep 2020 11:31:59 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E9959FB28; Thu, 10 Sep 2020 11:31:58 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_159973751855530" MIME-Version: 1.0 Date: Thu, 10 Sep 2020 11:31:58 +0000 From: "Martin Husemann" Subject: CVS commit: pkgsrc/graphics/exiv2 To: pkgsrc-changes@NetBSD.org Reply-To: martin@netbsd.org X-Mailer: log_accum Message-Id: <20200910113158.E9959FB28@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. --_----------=_159973751855530 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: martin Date: Thu Sep 10 11:31:58 UTC 2020 Modified Files: pkgsrc/graphics/exiv2: distinfo Added Files: pkgsrc/graphics/exiv2/patches: patch-cmake_compilerFlags.cmake Log Message: Avoid invalid compiler flag -fcf-protection on sparc* To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 pkgsrc/graphics/exiv2/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/graphics/exiv2/patches/patch-cmake_compilerFlags.cmake Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_159973751855530 Content-Disposition: inline Content-Length: 2205 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/exiv2/distinfo diff -u pkgsrc/graphics/exiv2/distinfo:1.33 pkgsrc/graphics/exiv2/distinfo:1.34 --- pkgsrc/graphics/exiv2/distinfo:1.33 Fri Jul 31 09:20:39 2020 +++ pkgsrc/graphics/exiv2/distinfo Thu Sep 10 11:31:58 2020 @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.33 2020/07/31 09:20:39 wiz Exp $ +$NetBSD: distinfo,v 1.34 2020/09/10 11:31:58 martin Exp $ SHA1 (exiv2-0.27.3-Source.tar.gz) = f31a74793ce2cd0161915ed1fbec8e79c31cd54d RMD160 (exiv2-0.27.3-Source.tar.gz) = 7e3ce6de75aaf87b46d419f86b4b0fc55f133234 SHA512 (exiv2-0.27.3-Source.tar.gz) = 3f5758ee862b811eeb89cc75fc2bbd8bf10329efa2ce1e68555cdc7729faa6cfd1603e0cc859fbdbe6d8fd5e53bd9b9e6d869d8a20ed17497bf87ce78c005de9 Size (exiv2-0.27.3-Source.tar.gz) = 26447901 bytes +SHA1 (patch-cmake_compilerFlags.cmake) = 862dffae1571137e8e719d2de29bac8ae229cd87 SHA1 (patch-cmake_config.h.cmake) = b7e0336e5ca55a9df08958a05d8ac2a2c800e836 SHA1 (patch-contrib_organize_Makefile) = 27348fdb0f80092b6e16f27e3ac1dca988eefe70 SHA1 (patch-contrib_organize_helpers.cpp) = ec003c826d463b3e7e571ab4c41baffaca1240e9 Added files: Index: pkgsrc/graphics/exiv2/patches/patch-cmake_compilerFlags.cmake diff -u /dev/null pkgsrc/graphics/exiv2/patches/patch-cmake_compilerFlags.cmake:1.1 --- /dev/null Thu Sep 10 11:31:58 2020 +++ pkgsrc/graphics/exiv2/patches/patch-cmake_compilerFlags.cmake Thu Sep 10 11:31:58 2020 @@ -0,0 +1,15 @@ +$NetBSD: patch-cmake_compilerFlags.cmake,v 1.1 2020/09/10 11:31:58 martin Exp $ + +Gcc on sparc* does not support -fcf-protection. + +--- cmake/compilerFlags.cmake.orig 2020-06-30 15:33:22.000000000 +0200 ++++ cmake/compilerFlags.cmake 2020-09-10 13:20:12.412480808 +0200 +@@ -25,7 +25,7 @@ + + # This fails under Fedora, MinGW GCC 8.3.0 and CYGWIN/MSYS 9.3.0 + if (NOT (MINGW OR CMAKE_HOST_SOLARIS OR CYGWIN OR MSYS) ) +- if (COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0) ++ if (COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0 AND NOT (${CMAKE_SYSTEM_PROCESSOR} MATCHES sparc.*)) + add_compile_options(-fstack-clash-protection -fcf-protection) + endif() + --_----------=_159973751855530--