summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-01-25 23:51:42 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-01-25 23:51:42 +0000
commitc281774047b37a1f8cb82f3f745943b6bc261a5b (patch)
tree2ca0b6d854974dc4abcb4b6e3413ad221d1c858c /sci-biology/emboss/files
parentfix quoting (diff)
downloadgentoo-2-c281774047b37a1f8cb82f3f745943b6bc261a5b.tar.gz
gentoo-2-c281774047b37a1f8cb82f3f745943b6bc261a5b.tar.bz2
gentoo-2-c281774047b37a1f8cb82f3f745943b6bc261a5b.zip
Fixed unresolved symbols with as-needed (see bug #207304).
(Portage version: 2.1.4)
Diffstat (limited to 'sci-biology/emboss/files')
-rw-r--r--sci-biology/emboss/files/emboss-5.0.0-as-needed.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-biology/emboss/files/emboss-5.0.0-as-needed.patch b/sci-biology/emboss/files/emboss-5.0.0-as-needed.patch
new file mode 100644
index 000000000000..9915f95376d0
--- /dev/null
+++ b/sci-biology/emboss/files/emboss-5.0.0-as-needed.patch
@@ -0,0 +1,24 @@
+diff -Naur EMBOSS-5.0.0.old/ajax/Makefile.in EMBOSS-5.0.0/ajax/Makefile.in
+--- EMBOSS-5.0.0.old/ajax/Makefile.in 2007-07-12 05:53:32.000000000 -0500
++++ EMBOSS-5.0.0/ajax/Makefile.in 2008-01-25 16:43:51.000000000 -0500
+@@ -244,7 +244,7 @@
+ top_srcdir = @top_srcdir@
+ @ISCYGWIN_FALSE@lib_LTLIBRARIES = libajax.la libajaxg.la
+ @ISCYGWIN_TRUE@lib_LTLIBRARIES = libajax.la
+-@ISAIXIA64_FALSE@@ISSHARED_TRUE@AM_CFLAGS =
++@ISAIXIA64_FALSE@@ISSHARED_TRUE@AM_CFLAGS = -lm -L../plplot/.libs -leplplot
+ @ISAIXIA64_TRUE@@ISSHARED_TRUE@@NEEDAJAX_FALSE@AM_CFLAGS = -Wl,-G -L../plplot/.libs -L.libs -leplplot -lm
+ @ISAIXIA64_TRUE@@ISSHARED_TRUE@@NEEDAJAX_TRUE@AM_CFLAGS = -Wl,-G -L../plplot/.libs -L.libs -lajax -leplplot -lm
+ @ISCYGWIN_TRUE@AM_LDFLAGS = -no-undefined -Wl,--add-stdcall-alias -Wl,--export-all-symbols -Wl,--enable-auto-import -L../plplot -leplplot
+diff -Naur EMBOSS-5.0.0.old/plplot/Makefile.in EMBOSS-5.0.0/plplot/Makefile.in
+--- EMBOSS-5.0.0.old/plplot/Makefile.in 2007-07-12 05:53:36.000000000 -0500
++++ EMBOSS-5.0.0/plplot/Makefile.in 2008-01-25 16:42:51.000000000 -0500
+@@ -229,7 +229,7 @@
+ lib_LTLIBRARIES = libeplplot.la
+ @AMPNG_FALSE@@ISAIXIA64_TRUE@@ISSHARED_TRUE@AM_CFLAGS = -Wl,-G -lX11
+ @AMPNG_TRUE@@ISAIXIA64_TRUE@@ISSHARED_TRUE@AM_CFLAGS = -Wl,-G -lgd -lpng -lz -lX11 -lm
+-@ISAIXIA64_FALSE@@ISSHARED_TRUE@AM_CFLAGS =
++@ISAIXIA64_FALSE@@ISSHARED_TRUE@AM_CFLAGS = PATCH_PLPLOT
+ @ISCYGWIN_TRUE@AM_LDFLAGS = -no-undefined -Wl,--add-stdcall-alias -Wl,--export-all-symbols -Wl,--enable-auto-import -lX11 -lgd -lpng -lz
+ INCLUDES = $(X_CFLAGS) -I$(srcdir)/ -I/usr/include/gd -DPREFIX=\"$(prefix)\" -DBUILD_DIR=\"$(srcdir)\" -DDRV_DIR=\"$(srcdir)\" -DEMBOSS_TOP=\"$(EMBOSS_TOP)\"
+ PLPLOTSRC = pdfutils.c plargs.c plbox.c plcont.c plcore.c \