Fix build on arm arches.

This commit is contained in:
Mat Booth 2018-04-29 09:15:26 +01:00
parent be32b7c751
commit 2c77185405

View File

@ -514,9 +514,12 @@ for f in eclipse.jdt/org.eclipse.jdt-feature/feature.xml \
done
done
# Fix versions in secondary arch SWT modules
# Fix versions in secondary arch fragments
fix_files=$(grep -lr 3.106.100 eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.*)
sed -i -e "s/3.106.100/3.107.0/" $fix_files
fix_files=$(grep -lr '1\.1\.[56]00' rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.linux.*)
sed -i -e "s/1\.1\.[56]00/1.1.700/" $fix_files
sed -i -e "/Fragment-Host/s/\(bundle-version=\).*/\1\"1.0.0\"/" $fix_files
# We don't need SWT fragments since we only care for current arch
%pom_disable_module tests/org.eclipse.swt.tests.fragments.feature eclipse.platform.swt