diff --git a/ftgl-fix-no-add-needed.patch b/ftgl-fix-no-add-needed.patch new file mode 100644 index 0000000..50ba916 --- /dev/null +++ b/ftgl-fix-no-add-needed.patch @@ -0,0 +1,11 @@ +--- configure.ac.orig ++++ configure.ac +@@ -36,7 +36,7 @@ AC_CHECK_HEADER([stdlib.h]) + # Check for system functions + AC_CHECK_FUNCS(wcsdup) + AC_CHECK_FUNCS(strndup) +- ++AC_SEARCH_LIBS(sin, m) + # Checks for libraries. + + AC_PATH_X diff --git a/ftgl.changes b/ftgl.changes index 150b465..b40a24a 100644 --- a/ftgl.changes +++ b/ftgl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 29 16:00:51 UTC 2011 - crrodriguez@opensuse.org + +- Fix build with new gnu Ld defaults. + ------------------------------------------------------------------- Sun Apr 24 12:59:34 UTC 2011 - toddrme2178@gmail.com diff --git a/ftgl.spec b/ftgl.spec index 217661b..17d1649 100644 --- a/ftgl.spec +++ b/ftgl.spec @@ -1,7 +1,7 @@ # -# spec file for package ftgl (Version 2.1.2.99.5) +# spec file for package ftgl # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,6 +31,7 @@ Summary: Library for Using Arbitrary Fonts in OpenGL Applications Source: %{name}-%{_version}.tar.bz2 Patch: %{name}-autoreconf.patch Patch1: ftgl-pkgconfig.patch +Patch2: ftgl-fix-no-add-needed.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libftgl2 = %{version}-%{release} @@ -240,6 +241,7 @@ Authors: %setup -q -n %{name}-%{__version} %patch %patch1 +%patch2 %build autoreconf -f -i -v