summaryrefslogtreecommitdiff
path: root/debian/patches/libffi-ro-eh_frame_sect.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/libffi-ro-eh_frame_sect.diff')
-rw-r--r--debian/patches/libffi-ro-eh_frame_sect.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/libffi-ro-eh_frame_sect.diff b/debian/patches/libffi-ro-eh_frame_sect.diff
new file mode 100644
index 0000000..c860143
--- /dev/null
+++ b/debian/patches/libffi-ro-eh_frame_sect.diff
@@ -0,0 +1,15 @@
+# DP: PR libffi/47248, force a read only eh frame section.
+
+Index: b/src/libffi/configure.ac
+===================================================================
+--- a/src/libffi/configure.ac
++++ b/src/libffi/configure.ac
+@@ -275,6 +275,8 @@ if test "x$GCC" = "xyes"; then
+ libffi_cv_hidden_visibility_attribute=yes
+ fi
+ fi
++ # FIXME: see PR libffi/47248
++ libffi_cv_ro_eh_frame=yes
+ rm -f conftest.*
+ ])
+ if test $libffi_cv_hidden_visibility_attribute = yes; then