summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2019-12-21 23:38:52 +0000
committerjoerg <joerg@pkgsrc.org>2019-12-21 23:38:52 +0000
commitd1dd88944b3691239f86ae9056f93c0c24ac5194 (patch)
tree5d937c5737a75e600ce7f5092e30c47ddc1c0c22
parent901f697ffd8353fa4819c956b81f0aab0e84f1a3 (diff)
downloadpkgsrc-d1dd88944b3691239f86ae9056f93c0c24ac5194.tar.gz
Don't use -pedenatic(-errors), they don't do what people think they do.
-rw-r--r--editors/TeXmacs/distinfo3
-rw-r--r--editors/TeXmacs/patches/patch-3rdparty_benchmark_CMakeLists.txt16
2 files changed, 18 insertions, 1 deletions
diff --git a/editors/TeXmacs/distinfo b/editors/TeXmacs/distinfo
index 7acac73c67a..3d0c5b0c0ab 100644
--- a/editors/TeXmacs/distinfo
+++ b/editors/TeXmacs/distinfo
@@ -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 --git a/editors/TeXmacs/patches/patch-3rdparty_benchmark_CMakeLists.txt b/editors/TeXmacs/patches/patch-3rdparty_benchmark_CMakeLists.txt
new file mode 100644
index 00000000000..f0e80f585f4
--- /dev/null
+++ b/editors/TeXmacs/patches/patch-3rdparty_benchmark_CMakeLists.txt
@@ -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)