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.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to