aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects
diff options
context:
space:
mode:
authorGravatar Joachim Metz <joachim.metz@gmail.com>2022-07-12 11:13:21 +0200
committerGravatar GitHub <noreply@github.com>2022-07-12 10:13:21 +0100
commit3d6474cf52411067486cd7f6dfd1590bb7b45177 (patch)
tree60e883bd32d086b5601dd91d8337729b3fb63e62 /projects
parent828f5cef071f6004d348d2b12eb7e0f54ff9c7c2 (diff)
Work-around for recent libyal project autoconf and gettext updates (#7993)
Work-around for recent libyal project updates
Diffstat (limited to 'projects')
-rwxr-xr-xprojects/libyal/build.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/projects/libyal/build.sh b/projects/libyal/build.sh
index c61ee51b..49bfe8c1 100755
--- a/projects/libyal/build.sh
+++ b/projects/libyal/build.sh
@@ -26,6 +26,13 @@ do
fi
cd ${SRC}/${PROJECT}
+ # OSSFuzz base-image currently uses Ubuntu 20.04 which ships older versions
+ # of autoconf and gettext. The libyal projects are compatible with these
+ # older versions, but should not ship with them. The following edits will
+ # allow ./autogen.sh to generate the correct version for OSSFuzz.
+ sed 's/^AC_PREREQ.*$/AC_PREREQ([2.69])/' -i configure.ac
+ sed 's/^AM_GNU_GETTEXT_VERSION.*$/AM_GNU_GETTEXT_VERSION([0.19])/' -i configure.ac
+
# Prepare the project source for build.
./synclibs.sh
./autogen.sh