diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..82f39a0 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libftgl2 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 7f25ad5..b40a24a 100644 --- a/ftgl.changes +++ b/ftgl.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +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 + +- Add 32bit compatibility libraries +- Fixed spec file encoding (fix for RPMLINT warning) + ------------------------------------------------------------------- Mon Apr 26 13:01:34 CEST 2010 - ro@suse.de diff --git a/ftgl.spec b/ftgl.spec index 5a4e8e6..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} @@ -68,15 +69,15 @@ Authors: -------- Henry Maddocks Jed Soane - Gérard Lanois + G�rard Lanois Matthias Kretz Andrew Ellerton Max Rheiner - Sébastien Barré + S�bastien Barr� Marcelo E. Magallon Robert Bell Sam Hocevar - Éric Beets + �ric Beets Christopher Sean Morrison Jeff Myers (JeffM2501) Daniel Remenak @@ -121,15 +122,15 @@ Authors: -------- Henry Maddocks Jed Soane - Gérard Lanois + G�rard Lanois Matthias Kretz Andrew Ellerton Max Rheiner - Sébastien Barré + S�bastien Barr� Marcelo E. Magallon Robert Bell Sam Hocevar - Éric Beets + �ric Beets Christopher Sean Morrison Jeff Myers (JeffM2501) Daniel Remenak @@ -169,15 +170,15 @@ Authors: -------- Henry Maddocks Jed Soane - Gérard Lanois + G�rard Lanois Matthias Kretz Andrew Ellerton Max Rheiner - Sébastien Barré + S�bastien Barr� Marcelo E. Magallon Robert Bell Sam Hocevar - Éric Beets + �ric Beets Christopher Sean Morrison Jeff Myers (JeffM2501) Daniel Remenak @@ -186,7 +187,7 @@ Authors: License: LGPLv2.1+ Group: System/Libraries Summary: Library for Using Arbitrary Fonts in OpenGL Applications -# Up to openSUSE 11.0 and SLED 10, %{_bindir}/FTGLDemo was part of ftgl-devel: +# Up to openSUSE 11.0 and SLED 10, %%{_bindir}/FTGLDemo was part of ftgl-devel: Conflicts: %{name}-devel <= 2.1.2 %description demo @@ -223,15 +224,15 @@ Authors: -------- Henry Maddocks Jed Soane - Gérard Lanois + G�rard Lanois Matthias Kretz Andrew Ellerton Max Rheiner - Sébastien Barré + S�bastien Barr� Marcelo E. Magallon Robert Bell Sam Hocevar - Éric Beets + �ric Beets Christopher Sean Morrison Jeff Myers (JeffM2501) Daniel Remenak @@ -240,6 +241,7 @@ Authors: %setup -q -n %{name}-%{__version} %patch %patch1 +%patch2 %build autoreconf -f -i -v