1 Upstream patch to fix link against libm
3 The upstream patch is modified to also include the necessary
4 Makefile.in, which avoids the need for autoreconfiguring the
5 package. Autoreconfiguring the package unfortunately doesn't work, due
6 to AM_GCONF_SOURCE_2 and AM_NLS macros being missing.
8 http://git.gnome.org/browse/metacity/commit/src/tools/Makefile.am?id=13d0d52eb885598885b6ff4b73c795c8f29c2a6b
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 From 13d0d52eb885598885b6ff4b73c795c8f29c2a6b Mon Sep 17 00:00:00 2001
13 From: Matthias Clasen <mclasen@redhat.com>
14 Date: Sun, 02 May 2010 14:50:42 +0000
15 Subject: fails to link with pedantic linkers
18 (limited to 'src/tools/Makefile.am')
20 Index: b/src/tools/Makefile.am
21 ===================================================================
22 --- a/src/tools/Makefile.am
23 +++ b/src/tools/Makefile.am
26 metacity_message_LDADD= @METACITY_MESSAGE_LIBS@
27 metacity_window_demo_LDADD= @METACITY_WINDOW_DEMO_LIBS@
28 -metacity_mag_LDADD= @METACITY_WINDOW_DEMO_LIBS@
29 +metacity_mag_LDADD= @METACITY_WINDOW_DEMO_LIBS@ -lm
30 metacity_grayscale_LDADD = @METACITY_WINDOW_DEMO_LIBS@
32 EXTRA_DIST=$(icon_DATA)
33 Index: b/src/tools/Makefile.in
34 ===================================================================
35 --- a/src/tools/Makefile.in
36 +++ b/src/tools/Makefile.in
39 metacity_message_LDADD = @METACITY_MESSAGE_LIBS@
40 metacity_window_demo_LDADD = @METACITY_WINDOW_DEMO_LIBS@
41 -metacity_mag_LDADD = @METACITY_WINDOW_DEMO_LIBS@
42 +metacity_mag_LDADD = @METACITY_WINDOW_DEMO_LIBS@ -lm
43 metacity_grayscale_LDADD = @METACITY_WINDOW_DEMO_LIBS@
44 EXTRA_DIST = $(icon_DATA)