Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2013 13:13:07 GMT
From:      Jimmy Kelley <ljboiler@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/177582: Fix build error for java/eclipse
Message-ID:  <201304021313.r32DD7J9008572@red.freebsd.org>
Resent-Message-ID: <201304021320.r32DK0x9093733@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177582
>Category:       ports
>Synopsis:       Fix build error for java/eclipse
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 02 13:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Kelley
>Release:        9-STABLE
>Organization:
>Environment:
FreeBSD jmobile.jimmy.local 9.1-STABLE FreeBSD 9.1-STABLE #0 r248857: Thu Mar 28 22:26:55 CDT 2013     root@jmobile.jimmy.local:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
java/eclipse port fails building the native library libgnomeproxy.
>How-To-Repeat:
Attempt to build the java/eclipse port.
>Fix:
The attached patch fixes the error.

Patch attached with submission follows:

--- files/freebsd-support.patch.orig	2013-03-19 12:40:50.000000000 -0500
+++ files/freebsd-support.patch	2013-03-24 22:26:05.000000000 -0500
@@ -7480,3 +7480,18 @@
  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>


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304021313.r32DD7J9008572>