From a04e6900be5db7e3967f83e9d55d0ecc1494c9ef Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Sat, 6 Apr 2013 17:21:21 +0000 Subject: . Fix build error for java/eclipse with current glib PR: 177582 Submitted by: Jimmy Kelley Approved by: portmgr (miwi) --- java/eclipse/files/freebsd-support.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 + + #include +-#include + #include + #include + +-#ifdef __linux__ ++#ifdef __STDC__ + #include + #else + #include -- cgit v1.2.3