Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Aug 2005 16:02:56 -0400
From:      "Stephane E. Potvin" <sepotvin@videotron.ca>
To:        freebsd-eclipse@freebsd.org
Subject:   [Patch] Fix eclipse build after latest firefox update
Message-ID:  <431369F0.5060909@videotron.ca>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Boundary_(ID_NdwDhoLG9jXr/b97uCBXGQ)
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I had to apply the following patch to make eclipse build after the
latest firefox update (the one who changed firefox to use the system
nspr library).

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDE2nvmdOXtTCX/nsRAgT8AJ971FNXEZ0zd3nvfqpJTs5m6I1r5wCfdLVP
8mHU0H+Dlt0M55cEFLh0xuA=
=6bv3
-----END PGP SIGNATURE-----

--Boundary_(ID_NdwDhoLG9jXr/b97uCBXGQ)
Content-type: text/x-patch; name=eclipse.patch; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Content-disposition: inline; filename=eclipse.patch

Index: files/manualpatch-plugins-swt-gtk-build.sh
===================================================================
RCS file: /home/FreeBSD/ncvs/ports/java/eclipse/files/manualpatch-plugins-swt-gtk-build.sh,v
retrieving revision 1.1
diff -u -r1.1 manualpatch-plugins-swt-gtk-build.sh
--- files/manualpatch-plugins-swt-gtk-build.sh	31 Jul 2005 05:26:15 -0000	1.1
+++ files/manualpatch-plugins-swt-gtk-build.sh	29 Aug 2005 19:33:30 -0000
@@ -9,9 +9,9 @@
 +		LD=gcc
 +		XTEST_LIB_PATH=$X11BASE/lib
 +		GECKO_I=${X11BASE}/include/${BROWSER}
-+		GECKO_INCLUDES="-I${GECKO_I} -I${GECKO_I}/nspr -I${GECKO_I}/xpcom -I${GECKO_I}/string -I${GECKO_I}/embed_base -I${GECKO_I}/embedstring"
++		GECKO_INCLUDES="-I${GECKO_I} -I${LOCALBASE}/include/nspr -I${GECKO_I}/xpcom -I${GECKO_I}/string -I${GECKO_I}/embed_base -I${GECKO_I}/embedstring"
 +		GECKO_L=${X11BASE}/lib/${BROWSER}
-+		GECKO_LIBS="-L${GECKO_L} -lxpcom -lnspr4 -lplds4 -lplc4 -lgtkembedmoz"
++		GECKO_LIBS="-L${GECKO_L} -lxpcom -L${LOCALBASE}/lib -lnspr4 -L${GECKO_L} -lplds4 -lplc4 -lgtkembedmoz"
 +		case $MODEL in
 +			"amd64")
 +				AWT_LIB_PATH=$JAVA_HOME/jre/lib/amd64

--Boundary_(ID_NdwDhoLG9jXr/b97uCBXGQ)--



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