Skip to content

Commit

Permalink
fuzzers/build.sh: avoid issues related to downloading Poppler
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Sep 14, 2024
1 parent 6a5ab0e commit ae91738
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fuzzers/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,12 @@ curl -L https://download.savannah.gnu.org/releases/freetype/freetype-2.13.2.tar.
rm freetype-2.13.2.tar.xz

rm -rf poppler
git clone --depth 1 https://anongit.freedesktop.org/git/poppler/poppler.git poppler
# Poppler git server is too unreliable. Use a snapshot of a given version
#git clone --depth 1 https://anongit.freedesktop.org/git/poppler/poppler.git poppler
curl -L https://poppler.freedesktop.org/poppler-24.09.0.tar.xz > poppler-24.09.0.tar.xz && \
tar xJf poppler-24.09.0.tar.xz && \
mv poppler-24.09.0 poppler && \
rm poppler-24.09.0.tar.xz

# Build xerces-c from source to avoid upstream bugs
rm -rf xerces-c
Expand Down

0 comments on commit ae91738

Please sign in to comment.