pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/TeXmacs Don't use -pedenatic(-errors), they do...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88697b6e6a31
branches:  trunk
changeset: 345926:88697b6e6a31
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Dec 21 23:38:52 2019 +0000

description:
Don't use -pedenatic(-errors), they don't do what people think they do.

diffstat:

 editors/TeXmacs/distinfo                                        |   3 +-
 editors/TeXmacs/patches/patch-3rdparty_benchmark_CMakeLists.txt |  16 ++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r ba6bfdee0df4 -r 88697b6e6a31 editors/TeXmacs/distinfo
--- a/editors/TeXmacs/distinfo  Sat Dec 21 23:36:22 2019 +0000
+++ b/editors/TeXmacs/distinfo  Sat Dec 21 23:38:52 2019 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.70 2019/10/28 15:10:00 kamil Exp $
+$NetBSD: distinfo,v 1.71 2019/12/21 23:38:52 joerg Exp $
 
 SHA1 (TeXmacs-1.99.11-src.tar.gz) = 53abe8011df033005ffa3530f23501833afed440
 RMD160 (TeXmacs-1.99.11-src.tar.gz) = 25a17545389f06b4ac49899fc2c8554612708b48
 SHA512 (TeXmacs-1.99.11-src.tar.gz) = 3f3481834baeeee93afc2c2de1666297b8c02d7dc5223b00ee93120e175503c91bdcc3d9ff4d8df498033064b2e67b12ffd47af9e8b95ad5eee12b47ec076855
 Size (TeXmacs-1.99.11-src.tar.gz) = 32798336 bytes
+SHA1 (patch-3rdparty_benchmark_CMakeLists.txt) = 3977244d6f130d6135f9eac5fc03ee41c40efb9d
 SHA1 (patch-cmake_FindGuile.cmake) = cb6085af098467d320ff65451df33bf552b2ddaa
 SHA1 (patch-misc_CMakeLists.txt) = 0534c9a1c66315d3189a4d6932ce56b3d7c2978a
diff -r ba6bfdee0df4 -r 88697b6e6a31 editors/TeXmacs/patches/patch-3rdparty_benchmark_CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/TeXmacs/patches/patch-3rdparty_benchmark_CMakeLists.txt   Sat Dec 21 23:38:52 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-3rdparty_benchmark_CMakeLists.txt,v 1.1 2019/12/21 23:38:53 joerg Exp $
+
+-pedantic and -pedantic-errors override later -std=gnu++11,
+effectively killing <atomic>
+
+--- 3rdparty/benchmark/CMakeLists.txt.orig     2019-12-21 18:16:48.271248028 +0000
++++ 3rdparty/benchmark/CMakeLists.txt
+@@ -134,8 +134,6 @@ else()
+   add_cxx_compiler_flag(-Werror RELEASE)
+   add_cxx_compiler_flag(-Werror RELWITHDEBINFO)
+   add_cxx_compiler_flag(-Werror MINSIZEREL)
+-  add_cxx_compiler_flag(-pedantic)
+-  add_cxx_compiler_flag(-pedantic-errors)
+   add_cxx_compiler_flag(-Wshorten-64-to-32)
+   add_cxx_compiler_flag(-Wfloat-equal)
+   add_cxx_compiler_flag(-fstrict-aliasing)



Home | Main Index | Thread Index | Old Index