fix build

This commit is contained in:
Peter Robinson 2011-09-20 11:24:17 +01:00
parent 6a805b2ae1
commit f23c42e5aa
2 changed files with 13 additions and 0 deletions

11
clutter-gtk-fixdso.patch Normal file
View File

@ -0,0 +1,11 @@
--- clutter-gtk-1.0.2/examples/Makefile.in.orig 2011-09-20 10:36:29.538419932 +0100
+++ clutter-gtk-1.0.2/examples/Makefile.in 2011-09-20 10:36:59.131412139 +0100
@@ -199,7 +199,7 @@
INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
LD = @LD@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -lm
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@

View File

@ -9,6 +9,7 @@ Group: Development/Languages
License: LGPLv2+
URL: http://www.clutter-project.org
Source0: http://www.clutter-project.org/sources/%{name}/1.0/%{name}-%{version}.tar.xz
Patch0: clutter-gtk-fixdso.patch
BuildRequires: gtk3-devel >= 3.0.0
BuildRequires: clutter-devel
@ -32,6 +33,7 @@ clutter-gtk
%prep
%setup -q
%patch0 -p1 -b .fixdso
%build