$NetBSD: patch-Makefile,v 1.1 2012/05/16 22:02:19 marino Exp $

--- Makefile.orig	2012-05-16 21:04:23.000000000 +0000
+++ Makefile
@@ -69,7 +69,7 @@ endif
 
 #######################################################################
 
-LIBS = $(GTK_LIBS) $(SOUND_LIBS)
+LIBS = $(GTK_LIBS) $(SOUND_LIBS) -lm
 
 gtkmagnetic: $(OBJS)
 	$(CC) -o gtkmagnetic $(OBJS) $(LIBS)
