. Fix build error for java/eclipse with current glib

PR:		177582
Submitted by:	Jimmy Kelley <ljboiler@gmail.com>
Approved by:	portmgr (miwi)
This commit is contained in:
Greg Lewis 2013-04-06 17:21:21 +00:00
parent d917376b3d
commit a04e6900be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315747

View File

@ -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>