pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cmocka cmocka: Leave pkgsrc to handle security f...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3e2ac4b27bee
branches: trunk
changeset: 375030:3e2ac4b27bee
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Feb 02 10:32:25 2018 +0000
description:
cmocka: Leave pkgsrc to handle security features.
diffstat:
devel/cmocka/distinfo | 3 +-
devel/cmocka/patches/patch-cmake_Modules_DefineCompilerFlags.cmake | 22 ++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (40 lines):
diff -r e6912e9a93cd -r 3e2ac4b27bee devel/cmocka/distinfo
--- a/devel/cmocka/distinfo Fri Feb 02 10:31:07 2018 +0000
+++ b/devel/cmocka/distinfo Fri Feb 02 10:32:25 2018 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.6 2018/02/02 10:31:07 jperkin Exp $
+$NetBSD: distinfo,v 1.7 2018/02/02 10:32:25 jperkin Exp $
SHA1 (cmocka-1.0.1.tar.xz) = 1f9baabbac3d8b777e83d5c84b64954d019dea34
RMD160 (cmocka-1.0.1.tar.xz) = d53133a09f2791d65b9fa732d0f4e3b8fe0f65e5
SHA512 (cmocka-1.0.1.tar.xz) = 142b3293a8ab137904d07f1ac6a56daf0afbbfcf7816a582c9998b6225aa5d6fe5f2d1b889de7b187142fc24ca4d1cfdbd630e8783858bc9ce89217ff05abc1e
Size (cmocka-1.0.1.tar.xz) = 80240 bytes
+SHA1 (patch-cmake_Modules_DefineCompilerFlags.cmake) = a39376671c52bb44116babed892fc5749ddc21bd
SHA1 (patch-include_cmocka.h) = f34a92589ce62de6c4fdc8232fc6e0c4bb43aa3d
SHA1 (patch-src_cmocka.c) = a389be7815a861a19dfb2f555b7681ef9013ee80
diff -r e6912e9a93cd -r 3e2ac4b27bee devel/cmocka/patches/patch-cmake_Modules_DefineCompilerFlags.cmake
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cmocka/patches/patch-cmake_Modules_DefineCompilerFlags.cmake Fri Feb 02 10:32:25 2018 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-cmake_Modules_DefineCompilerFlags.cmake,v 1.1 2018/02/02 10:32:25 jperkin Exp $
+
+Leave pkgsrc to handle security features.
+
+--- cmake/Modules/DefineCompilerFlags.cmake.orig 2015-02-11 06:57:11.000000000 +0000
++++ cmake/Modules/DefineCompilerFlags.cmake
+@@ -21,6 +21,7 @@ if (UNIX AND NOT WIN32)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
+ endif (WITH_FPIC)
+
++ if(0)
+ check_c_compiler_flag_ssp("-fstack-protector" WITH_STACK_PROTECTOR)
+ if (WITH_STACK_PROTECTOR)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector")
+@@ -35,6 +36,7 @@ if (UNIX AND NOT WIN32)
+ endif (WITH_FORTIFY_SOURCE)
+ endif()
+ endif()
++ endif(0)
+
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_GNU_SOURCE")
+ endif (${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)")
Home |
Main Index |
Thread Index |
Old Index