summarylogtreecommitdiffstats
path: root/time-libm.patch
blob: 3750bb8d66646b9b3fc26c70121cc4e1cd2a33be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
From: Andreas Henriksson <andreas@fatal.se>
Subject: using floor should link with libm

--- gnome-system-tools-3.0.0.orig/src/time/Makefile.am
+++ gnome-system-tools-3.0.0/src/time/Makefile.am
@@ -15,7 +15,7 @@ INCLUDES += $(GST_TOOL_CFLAGS) $(DBUS_CF
 CLEANFILES = $(GST_TOOL_CLEANFILES)
 EXTRA_DIST = $(GST_TOOL_EXTRA_DIST)
 
-time_admin_LDADD = ./e-map/libemap.a $(GST_TOOL_LIBS) $(DBUS_LIBS)
+time_admin_LDADD = ./e-map/libemap.a $(GST_TOOL_LIBS) $(DBUS_LIBS) -lm
 time_admin_DEPENDENCIES = ./e-map/libemap.a $(GST_TOOL_DEPENDENCIES)
 time_admin_SOURCES = \
 	time-tool.c	time-tool.h \