aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2013-04-07 01:21:21 +0800
committerglewis <glewis@FreeBSD.org>2013-04-07 01:21:21 +0800
commite8e3fe05d36e9e208e065084ff078af8d301b9a1 (patch)
treef8cbecec5c6f8c2c9908324f5c354a7a420e60c9 /java
parentcd1fd44f8382cf9018b2e75ca7b70110658a24f0 (diff)
downloadfreebsd-ports-gnome-e8e3fe05d36e9e208e065084ff078af8d301b9a1.tar.gz
freebsd-ports-gnome-e8e3fe05d36e9e208e065084ff078af8d301b9a1.tar.zst
freebsd-ports-gnome-e8e3fe05d36e9e208e065084ff078af8d301b9a1.zip
. Fix build error for java/eclipse with current glib
PR: 177582 Submitted by: Jimmy Kelley <ljboiler@gmail.com> Approved by: portmgr (miwi)
Diffstat (limited to 'java')
-rw-r--r--java/eclipse/files/freebsd-support.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/java/eclipse/files/freebsd-support.patch b/java/eclipse/files/freebsd-support.patch
index a2315dab73b3..cb7bbc686c03 100644
--- a/java/eclipse/files/freebsd-support.patch
+++ b/java/eclipse/files/freebsd-support.patch
@@ -7480,3 +7480,18 @@ $FreeBSD$
GLX_PREFIX = swt-glx
SWT_LIB = lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
+--- build/eclipse-3.7.1-src/plugins/org.eclipse.core.net/natives/unix/gnomeproxy.c.orig 2008-10-17 09:48:23.000000000 -0500
++++ build/eclipse-3.7.1-src/plugins/org.eclipse.core.net/natives/unix/gnomeproxy.c 2013-03-24 21:44:14.000000000 -0500
+@@ -13,11 +13,10 @@
+ #include <jni.h>
+
+ #include <glib.h>
+-#include <glib/gslist.h>
+ #include <gconf/gconf-value.h>
+ #include <gconf/gconf-client.h>
+
+-#ifdef __linux__
++#ifdef __STDC__
+ #include <string.h>
+ #else
+ #include <strings.h>