[Pkg-tcltk-devel] Bug#463583: Proposed fixes to this bug

Konstantin Khomoutov flatworm at users.sourceforge.net
Fri Feb 1 19:04:33 UTC 2008


I propose some fixes to this and the related bug #461600.
Since I'm not familiar with dpatch, I'll try to summarize what to
change to squash these bugs.

1) configure.in --
Change the line reading
TEA_ADD_LIBS([])
to
TEA_ADD_LIBS([-lstdc++])

This actually fixes #463583

2) Makefile.in --
Change the line reading
COMPILE     = $(CC) $(DEFS) $(INCLUDES) ...
to
COMPILE     = $(CXX) $(DEFS) $(INCLUDES) ...

3) debian.rules --
Add the --enable-gxx option to the call to ./configure
under the config.status target.

Under the build-stamp target change the line reading
$(MAKE) CC=g++ CFLAGS="$(CFLAGS)"
to just
$(MAKE)

These two changes fix #461600 (in fact just removing the override
fo CFLAGS in the call to $(MAKE) fixes it, but the above changes will
make the sources to be built using g++ instead of gcc -- not a big deal,
but anyway).

Hope it helps.






More information about the Pkg-tcltk-devel mailing list