preload-hacks: Some patches to make it work.
[termux-packages] / packages / hashdeep / configure.ac.patch
CommitLineData
779a1dd3
FF
1Remove -MD option as that avoids pie wrapper script functionality.
2
3diff -u -r ../hashdeep-4.4/configure.ac ./configure.ac
4--- ../hashdeep-4.4/configure.ac 2015-04-01 02:12:52.000000000 +0200
5+++ ./configure.ac 2017-09-23 02:18:08.770776322 +0200
6@@ -64,7 +64,7 @@
7 ################################################################
8 ### I am a glutten for punishment and this is security-critical software
9 # Check GCC
10-WARNINGS_TO_TEST="-MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes \
11+WARNINGS_TO_TEST="-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes \
12 -Wshadow -Wwrite-strings -Wcast-align -Waggregate-return \
13 -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wdisabled-optimization \
14 -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wmissing-noreturn -funit-at-a-time"
15@@ -97,7 +97,7 @@
16 # -Wcast-qual
17 # -Wmissing-format-attribute - can't get this one right
18 AC_LANG_PUSH(C++)
19-WARNINGS_TO_TEST="-Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith \
20+WARNINGS_TO_TEST="-Wall -D_FORTIFY_SOURCE=2 -Wpointer-arith \
21 -Wshadow -Wwrite-strings -Wcast-align \
22 -Wredundant-decls -Wdisabled-optimization \
23 -Wfloat-equal -Wmultichar -Wmissing-noreturn \