FreeBSD Bugzilla – Attachment 141971 Details for
Bug 188904
java/eclipse-devel fails to build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.38 KB, created by
Jonathan Chen
on 2014-04-23 04:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jonathan Chen
Created:
2014-04-23 04:30:01 UTC
Size:
2.38 KB
patch
obsolete
>diff -ruN /usr/ports/java/eclipse-devel/files/freebsd-support.patch ./files/freebsd-support.patch >--- /usr/ports/java/eclipse-devel/files/freebsd-support.patch 2013-08-19 13:49:16.831657960 +1200 >+++ ./files/freebsd-support.patch 2014-04-23 14:43:51.150366018 +1200 >@@ -100,7 +100,7 @@ > +endif > + > +# Define the object modules to be compiled and flags. >-+CC=gcc >++CC=cc > +MAIN_OBJS = eclipseMain.o > +COMMON_OBJS = eclipseConfig.o eclipseCommon.o eclipseGtkCommon.o eclipseGtkInit.o > +DLL_OBJS = eclipse.o eclipseGtk.o eclipseUtil.o eclipseJNI.o eclipseMozilla.o eclipseShm.o eclipseNix.o >@@ -326,8 +326,8 @@ > +OPT_FLAGS=-O2 -g -s -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > + > +core : >-+ gcc $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) $(COMMON_INCLUDE) -o $(CORE.O) $(CORE.C) >-+ gcc $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc >++ cc $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) $(COMMON_INCLUDE) -o $(CORE.O) $(CORE.C) >++ cc $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc > + > +clean : > + rm *.o >@@ -675,15 +675,15 @@ > + > +compile: > + @echo "Building file: $(GNOMEPROXY.O)" >-+ @echo "Invoking: GCC C Compiler" >-+ gcc $(INCLUDE) $(COMPILER_FLAGS) -o $(GNOMEPROXY.O) $(GNOMEPROXY.C) >++ @echo "Invoking: C Compiler" >++ cc $(INCLUDE) $(COMPILER_FLAGS) -o $(GNOMEPROXY.O) $(GNOMEPROXY.C) > + @echo "Finished building: $(GNOMEPROXY.O)" > + @echo " " > + > +link: compile > + @echo "Building target: $(LIB_NAME_FULL)" >-+ @echo "Invoking: GCC C Linker" >-+ gcc $(LINKER_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(LIBS) $(GNOMEPROXY.O) -lc >++ @echo "Invoking: C Linker" >++ cc $(LINKER_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(LIBS) $(GNOMEPROXY.O) -lc > + @echo "Finished building target: $(LIB_NAME_FULL)" > + @echo " " > + >@@ -7052,9 +7052,9 @@ > + <property name="header-path" value="${jdk-path}/../include"/> > + <property name="header-freebsd-path" value="${header-path}/freebsd" /> > + >-+ <echo message="gcc -o ${library-file} -shared -I${src-path} -I${header-freebsd-path} -fPIC ${library-file}"/> >++ <echo message="cc -o ${library-file} -shared -I${src-path} -I${header-freebsd-path} -fPIC ${library-file}"/> > + >-+ <apply executable="gcc" dest="${eclipse-home}/" parallel="false"> >++ <apply executable="cc" dest="${eclipse-home}/" parallel="false"> > + <arg value="-o"/> > + <arg value="${library-file}"/> > + <arg value="-shared"/>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 188904
: 141971