summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2013-04-06 17:21:21 +0000
committerGreg Lewis <glewis@FreeBSD.org>2013-04-06 17:21:21 +0000
commita04e6900be5db7e3967f83e9d55d0ecc1494c9ef (patch)
treef8cbecec5c6f8c2c9908324f5c354a7a420e60c9 /java
parent- Security udpate to 12.15 (diff)
. Fix build error for java/eclipse with current glib
PR: 177582 Submitted by: Jimmy Kelley <ljboiler@gmail.com> Approved by: portmgr (miwi)
Notes
Notes: svn path=/head/; revision=315747
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>