[Commits] [SCM] claws-win32-installer branch, master, updated. 3.18.0-2-21-gc91390d
jonathan at claws-mail.org
jonathan at claws-mail.org
Thu Nov 11 22:37:02 CET 2021
The branch, master has been updated
via c91390d72a7a716439dbbacde1ca75ec03e37827 (commit)
from 676769aaaeb8c72e695007a939d174c9e0694bbf (commit)
Summary of changes:
patches/webkitgtk-2.4.11/09-no-fortify-source.patch | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 patches/webkitgtk-2.4.11/09-no-fortify-source.patch
- Log -----------------------------------------------------------------
commit c91390d72a7a716439dbbacde1ca75ec03e37827
Author: Jonathan Boeing <jonathan.n.boeing at gmail.com>
Date: Tue Nov 9 23:34:05 2021 -0700
Disable -D_FORTIFY_SOURCE=2 for webkit
diff --git a/patches/webkitgtk-2.4.11/09-no-fortify-source.patch b/patches/webkitgtk-2.4.11/09-no-fortify-source.patch
new file mode 100644
index 0000000..d3e3a34
--- /dev/null
+++ b/patches/webkitgtk-2.4.11/09-no-fortify-source.patch
@@ -0,0 +1,18 @@
+# Remove -D_FORTIFY_SOURCE=2 for mingw gcc-10
+diff -u a/Source/autotools/SetupCompilerFlags.m4 b/Source/autotools/bSetupCompilerFlags.m4
+--- a/Source/autotools/SetupCompilerFlags.m4
++++ b/Source/autotools/SetupCompilerFlags.m4
+@@ -46,13 +46,6 @@ fi
+ if test "$enable_optimizations" = "yes"; then
+ CXXFLAGS="$CXXFLAGS -O2"
+ CFLAGS="$CFLAGS -O2"
+-
+- if test "$c_compiler" = "gcc"; then
+- CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2"
+- fi
+- if test "$cxx_compiler" = "g++"; then
+- CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2"
+- fi
+ else
+ CXXFLAGS="$CXXFLAGS -Og"
+ CFLAGS="$CFLAGS -Og"
-----------------------------------------------------------------------
hooks/post-receive
--
Installer sources for Claws Mail Windows port
More information about the Commits
mailing list