[eclipse] Fix compilation with glib 2.31.
Alexander Kurtakov
akurtakov at fedoraproject.org
Fri Oct 21 20:51:33 UTC 2011
commit 52116678202b041d1babd049119a418249dd9825
Author: Alexander Kurtakov < <akurtako at redhat.com>
Date: Fri Oct 21 23:51:19 2011 +0300
Fix compilation with glib 2.31.
eclipse.spec | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/eclipse.spec b/eclipse.spec
index 6709a00..4f3f80f 100644
--- a/eclipse.spec
+++ b/eclipse.spec
@@ -177,6 +177,9 @@ sed -i -e "s|http://java.sun.com/j2se/1.4/docs/api|%{_datadir}/javadoc/java|" \
plugins/org.eclipse.pde.doc.user/pdeOptions.txt \
plugins/org.eclipse.pde.doc.user/pdeOptions.txt
+#fix for glib 2.31 not allowing include of anything else but glib
+sed -i -e "s|#include <glib/gslist.h>||g" plugins/org.eclipse.core.net/natives/unix/gnomeproxy.c
+
# make sure there are no jars left
JARS=""
for j in $(find -name \*.jar); do
@@ -643,6 +646,7 @@ rm -rf %{_bindir}/efj/
* Fri Oct 21 2011 Alexander Kurtakov <akurtako at redhat.com> 1:3.7.0-7
- Install org.eclipse.osgi in javadir/eclipse/osgi.jar
- Add maven pom and depmap.
+- Fix compilation with glib 2.31.
* Thu Oct 20 2011 Sami Wagiaalla <swagiaal at redhat.com> 1:3.7.0-6
- Bump the release number.
More information about the scm-commits
mailing list