[Debichem-devel] Bug#554084: chemtool: FTBFS with binutils-gold

Mahyuddin Susanto udienz at gmail.com
Mon Jan 3 16:52:28 UTC 2011


Package: chemtool
Version: 1.6.12-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch

Hello chemtool developers, i have patch to fix binutils-golds issue.
and this patch discribe at here :https://bugs.launchpad.net/ubuntu/+source/chemtool/+bug/696859

*** /tmp/tmpwBRuxh
In Ubuntu, we've applied the attached patch to achieve the following:

  * Makefile.in, Makefile.am
    - fix FTBFS with ld --no-add-needed (LP: #696859)

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-26-server (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
nly in patch2:
unchanged:
--- chemtool-1.6.12.orig/Makefile.am
+++ chemtool-1.6.12/Makefile.am
@@ -25,7 +25,7 @@
 AM_CPPFLAGS = -I. -I$(srcdir) @GTK_CFLAGS@
 
 # Link time dependencies.
-LDADD = @LIBINTL@ @GTK_LIBS@ @EMFLIBS@
+LDADD = @LIBINTL@ @GTK_LIBS@ @EMFLIBS@ -lX11 -lXext
 
 # Additional files to be distributed.
 EXTRA_DIST = autogen.sh autoclean.sh
only in patch2:
unchanged:
--- chemtool-1.6.12.orig/Makefile.in
+++ chemtool-1.6.12/Makefile.in
@@ -72,7 +72,7 @@
 am_chemtool_OBJECTS = main.$(OBJEXT) draw.$(OBJEXT) graph.$(OBJEXT) \
 	chemproc.$(OBJEXT) undo.$(OBJEXT) inout.$(OBJEXT)
 chemtool_OBJECTS = $(am_chemtool_OBJECTS)
-chemtool_LDADD = $(LDADD)
+chemtool_LDADD = $(LDADD) -lX11 -lXext
 chemtool_DEPENDENCIES =
 src_cht_cht_SOURCES = src-cht/cht.c
 src_cht_cht_OBJECTS = cht.$(OBJEXT)


More information about the Debichem-devel mailing list