diff --git a/scripts/chroot-fixups/openssl-public-header-files.sh b/scripts/chroot-fixups/openssl-public-header-files.sh new file mode 100755 index 00000000..f5b198b8 --- /dev/null +++ b/scripts/chroot-fixups/openssl-public-header-files.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +if test -w /usr/include/openssl/e_os2.h; then + (set -x + + # behave as if the code was preprocessed with -DDEBUG_UNUSED + sed -i /usr/include/openssl/e_os2.h \ + -e 's|\(# *if\)def DEBUG_UNUSED|\1 1|') +fi