Fix eclipse-secondary-arches.patch for RISC-V

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-09-14 09:40:38 +02:00
parent cddc74d4b1
commit 942f57a867
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
2 changed files with 15 additions and 2 deletions

View File

@ -15,6 +15,19 @@ index c13fae9ff..7f798e4f1 100644
<module>bundles/org.eclipse.swt.gtk.linux.x86</module>
<module>bundles/org.eclipse.swt.gtk.linux.x86_64</module>
<module>bundles/org.eclipse.swt.win32.win32.x86</module>
diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
index a1e3f456b..e138f98a3 100755
--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
+++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
@@ -195,7 +195,7 @@ esac
# For 64-bit CPUs, we have a switch
-if [ ${MODEL} = 'x86_64' -o ${MODEL} = 'ia64' -o ${MODEL} = 's390x' -o ${MODEL} = 'ppc64le' -o ${MODEL} = 'aarch64' ]; then
+if [ ${MODEL} = 'x86_64' -o ${MODEL} = 'ia64' -o ${MODEL} = 's390x' -o ${MODEL} = 'ppc64le' -o ${MODEL} = 'aarch64' -o ${MODEL} = 'riscv64' ]; then
SWT_PTR_CFLAGS=-DJNI64
if [ -d /lib64 ]; then
XLIB64=-L/usr/X11R6/lib64
diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf b/eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf
index 64628e51c..28da2e7d3 100644
--- a/eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf

View File

@ -40,7 +40,7 @@ Epoch: 1
Summary: An open, extensible IDE
Name: eclipse
Version: 4.9.0
Release: 0.4.1.riscv64%{?dist}
Release: 0.4.2.riscv64%{?dist}
License: EPL-2.0
URL: http://www.eclipse.org/
@ -1069,7 +1069,7 @@ fi
%{_eclipsedir}/plugins/org.eclipse.osgi.util_*
%changelog
* Thu Sep 13 2018 David Abdurachmanov <david.abdurachmanov> - 1:4.9.0-0.4.1.riscv64
* Thu Sep 13 2018 David Abdurachmanov <david.abdurachmanov> - 1:4.9.0-0.4.2.riscv64
- Enable RISC-V (riscv64)
* Thu Aug 23 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.4