diff options
author | Markus Dittrich <markusle@gentoo.org> | 2006-11-22 03:23:20 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2006-11-22 03:23:20 +0000 |
commit | f5302306b026d38e8557a91a766c931509e70567 (patch) | |
tree | d29cd4a66da95096a4ac3a1957b1d9cd2effef19 /sci-mathematics/scilab/files/scilab-4.0-java-pic.patch | |
parent | New upstream version. (diff) | |
download | gentoo-2-f5302306b026d38e8557a91a766c931509e70567.tar.gz gentoo-2-f5302306b026d38e8557a91a766c931509e70567.tar.bz2 gentoo-2-f5302306b026d38e8557a91a766c931509e70567.zip |
Added patch to fix TEXTREL in libjavasci.so and removed deprecated tcltk USE flag
(Portage version: 2.1.2_rc2-r1)
Diffstat (limited to 'sci-mathematics/scilab/files/scilab-4.0-java-pic.patch')
-rw-r--r-- | sci-mathematics/scilab/files/scilab-4.0-java-pic.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sci-mathematics/scilab/files/scilab-4.0-java-pic.patch b/sci-mathematics/scilab/files/scilab-4.0-java-pic.patch new file mode 100644 index 000000000000..390ce9d0b3ec --- /dev/null +++ b/sci-mathematics/scilab/files/scilab-4.0-java-pic.patch @@ -0,0 +1,21 @@ +diff -Naur scilab-4.0/routines/Javasci/Makefile.in scilab-4.0-new/routines/Javasci/Makefile.in +--- scilab-4.0/routines/Javasci/Makefile.in 2006-01-28 10:27:50.000000000 -0500 ++++ scilab-4.0-new/routines/Javasci/Makefile.in 2006-11-21 21:27:59.000000000 -0500 +@@ -13,7 +13,7 @@ + OBJSC= javasci_SciStringArray.o javasci_globals.o javasci_Scilab.o javasci_SciDoubleArray.o @GCCFIX@ + OBJSF = + OBJS = $(OBJSC) +-CFLAGS = $(CC_OPTIONS) $(JAVAINC) ++CFLAGS = $(CC_OPTIONS) -fPIC $(JAVAINC) + FLIBS=@FLIBS@ + + include ../../Makefile.incl +diff -Naur scilab-4.0/routines/Javasci/Makefile.linux scilab-4.0-new/routines/Javasci/Makefile.linux +--- scilab-4.0/routines/Javasci/Makefile.linux 2005-05-23 07:22:17.000000000 -0400 ++++ scilab-4.0-new/routines/Javasci/Makefile.linux 2006-11-21 21:27:14.000000000 -0500 +@@ -4,4 +4,4 @@ + @echo Creation of $(LIBRARY) + @$(RM) $@; + @echo "linking"; +- @$(FC) -Wl,-shared -g -o $@ $(OBJS) $(DEFAULTS) $(LIBR) $(TCLTK_LIBS) $(XLIBS) $(TERMCAPLIB); ++ @$(CC) -shared -o $@ $(OBJS) $(TCLTK_LIBS) $(XLIBS) $(TERMCAPLIB); |