Description: Add libm to the libraries used by xmj.
 xmj directly uses some symbols from libm (hypot and trunc) but does not
 directly link with that library. This leads to a build failure with
 binutils-gold. Explicitely link with libm to avoid that build failure.
Bug-Debian: http://bugs.debian.org/555582
Author: Nicolas Boullis <nboullis@debian.org>
--- a/Makefile.in
+++ b/Makefile.in
@@ -155,7 +155,7 @@
 # Not Windows. If gtk+ is properly installed, this is all that's needed.
 ifdef Gtk
 EXTRA_INCLUDES=`pkg-config --cflags gtk+-$(Gtk)`
-GUILIBS=-lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lglib-2.0
+GUILIBS=-lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lm
 else
 EXTRA_INCLUDES=`gtk-config --cflags`
 GUILIBS=`gtk-config --libs`
