Bug 177582

Summary: Fix build error for java/eclipse
Product: Ports & Packages Reporter: Jimmy Kelley <ljboiler>
Component: Individual Port(s)Assignee: freebsd-eclipse (Nobody) <eclipse>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Jimmy Kelley 2013-04-02 14:20:00 UTC
java/eclipse port fails building the native library libgnomeproxy.

Fix: The attached patch fixes the error.

Patch attached with submission follows:
How-To-Repeat: Attempt to build the java/eclipse port.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-02 14:20:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->eclipse

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-04-06 18:21:30 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"
Comment 3 Greg Lewis freebsd_committer freebsd_triage 2013-04-06 18:29:21 UTC
State Changed
From-To: open->closed

Committed. Thanks!