pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/cmocka
Module Name: pkgsrc
Committed By: jperkin
Date: Fri Feb 2 10:32:25 UTC 2018
Modified Files:
pkgsrc/devel/cmocka: distinfo
Added Files:
pkgsrc/devel/cmocka/patches:
patch-cmake_Modules_DefineCompilerFlags.cmake
Log Message:
cmocka: Leave pkgsrc to handle security features.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/cmocka/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/cmocka/patches/patch-cmake_Modules_DefineCompilerFlags.cmake
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/cmocka/distinfo
diff -u pkgsrc/devel/cmocka/distinfo:1.6 pkgsrc/devel/cmocka/distinfo:1.7
--- pkgsrc/devel/cmocka/distinfo:1.6 Fri Feb 2 10:31:07 2018
+++ pkgsrc/devel/cmocka/distinfo Fri Feb 2 10:32:25 2018
@@ -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
Added files:
Index: pkgsrc/devel/cmocka/patches/patch-cmake_Modules_DefineCompilerFlags.cmake
diff -u /dev/null pkgsrc/devel/cmocka/patches/patch-cmake_Modules_DefineCompilerFlags.cmake:1.1
--- /dev/null Fri Feb 2 10:32:25 2018
+++ pkgsrc/devel/cmocka/patches/patch-cmake_Modules_DefineCompilerFlags.cmake Fri Feb 2 10:32:25 2018
@@ -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