Accepting request 80101 from home:elvigia:branches:multimedia:libs

- Fix build with new gnu Ld defaults.

OBS-URL: https://build.opensuse.org/request/show/80101
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ftgl?expand=0&rev=6
This commit is contained in:
Ismail Dönmez 2011-08-29 16:42:54 +00:00 committed by Git OBS Bridge
parent f60e53ab77
commit 798a30634a
3 changed files with 20 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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