From nobody@FreeBSD.org  Tue Apr  2 13:13:08 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 58860A87
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Apr 2013 13:13:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 4AFFD1B0
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Apr 2013 13:13:08 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r32DD73a008573
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 2 Apr 2013 13:13:07 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r32DD7J9008572;
	Tue, 2 Apr 2013 13:13:07 GMT
	(envelope-from nobody)
Message-Id: <201304021313.r32DD7J9008572@red.freebsd.org>
Date: Tue, 2 Apr 2013 13:13:07 GMT
From: Jimmy Kelley <ljboiler@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Fix build error for java/eclipse
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         177582
>Category:       ports
>Synopsis:       Fix build error for java/eclipse
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    eclipse
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 02 13:20:00 UTC 2013
>Closed-Date:    Sat Apr 06 17:29:21 UTC 2013
>Last-Modified:  Sat Apr  6 17:30:00 UTC 2013
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->eclipse 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Apr 2 13:20:09 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177582 
State-Changed-From-To: open->closed 
State-Changed-By: glewis 
State-Changed-When: Sat Apr 6 17:29:21 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177582 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/177582: commit references a PR
Date: Sat,  6 Apr 2013 17:21:30 +0000 (UTC)

 Author: glewis
 Date: Sat Apr  6 17:21:21 2013
 New Revision: 315747
 URL: http://svnweb.freebsd.org/changeset/ports/315747
 
 Log:
   . Fix build error for java/eclipse with current glib
   
   PR:		177582
   Submitted by:	Jimmy Kelley <ljboiler@gmail.com>
   Approved by:	portmgr (miwi)
 
 Modified:
   head/java/eclipse/files/freebsd-support.patch
 
 Modified: head/java/eclipse/files/freebsd-support.patch
 ==============================================================================
 --- head/java/eclipse/files/freebsd-support.patch	Sat Apr  6 16:51:41 2013	(r315746)
 +++ head/java/eclipse/files/freebsd-support.patch	Sat Apr  6 17:21:21 2013	(r315747)
 @@ -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>
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
