From 3a2e69b34e35e4a8d378eeb082cd2b097f33b1b9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Feb 27 2010 04:04:40 +0000 Subject: fix linking with pedantic linkers --- diff --git a/libs.patch b/libs.patch new file mode 100644 index 0000000..d39a64f --- /dev/null +++ b/libs.patch @@ -0,0 +1,12 @@ +diff -up metacity-2.28.1/src/tools/Makefile.am.libs metacity-2.28.1/src/tools/Makefile.am +--- metacity-2.28.1/src/tools/Makefile.am.libs 2010-02-26 23:00:43.446410930 -0500 ++++ metacity-2.28.1/src/tools/Makefile.am 2010-02-26 23:00:55.805414773 -0500 +@@ -26,7 +26,7 @@ noinst_PROGRAMS=metacity-mag metacity-gr + + metacity_message_LDADD= @METACITY_MESSAGE_LIBS@ + metacity_window_demo_LDADD= @METACITY_WINDOW_DEMO_LIBS@ +-metacity_mag_LDADD= @METACITY_WINDOW_DEMO_LIBS@ ++metacity_mag_LDADD= @METACITY_WINDOW_DEMO_LIBS@ -lm + metacity_grayscale_LDADD = @METACITY_WINDOW_DEMO_LIBS@ + + EXTRA_DIST=$(icon_DATA) diff --git a/metacity.spec b/metacity.spec index 811a383..12be680 100644 --- a/metacity.spec +++ b/metacity.spec @@ -38,6 +38,8 @@ Patch24: metacity-2.28-empty-keybindings.patch # https://bugzilla.gnome.org/show_bug.cgi?id=604319 Patch25: metacity-2.28-xioerror-unknown-display.patch +Patch26: libs.patch + License: GPLv2+ Group: User Interface/Desktops BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -112,6 +114,7 @@ API. This package exists purely for technical reasons. %patch21 -p1 -b .missing-session %patch24 -p1 -b .empty-keybindings %patch25 -p1 -b .xioerror-unknown-display +%patch26 -p1 -b .libs # force regeneration rm src/metacity.schemas @@ -220,7 +223,7 @@ fi %changelog * Fri Feb 26 2010 Matthias Clasen - 2.28.1-3 -- Rebuild +- Fix linking with pedantic linkers * Wed Jan 27 2010 Owen Taylor - 2.28.1-2 - Update to 2.28.1, remove 7 patches now applied upstream