- fix build with latest autoconf (#449440)

epel9
jorton 17 years ago
parent 06a36ab9f1
commit 09160e91d1

@ -0,0 +1,18 @@
--- libidn-0.6.14/lib/gl/m4/extensions.m4.aconf262
+++ libidn-0.6.14/lib/gl/m4/extensions.m4
@@ -16,6 +16,7 @@
# ------------------------
# Enable extensions on systems that normally disable them,
# typically due to standards-conformance issues.
+m4_ifndef([AC_USE_SYSTEM_EXTENSIONS], [
AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
[
AC_BEFORE([$0], [AC_COMPILE_IFELSE])
@@ -49,6 +50,7 @@ AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
AC_DEFINE([_TANDEM_SOURCE])
])
+])
# gl_USE_SYSTEM_EXTENSIONS
# ------------------------

@ -1,10 +1,11 @@
Summary: Internationalized Domain Name support library
Name: libidn
Version: 0.6.14
Release: 7
Release: 8
URL: http://www.gnu.org/software/libidn/
License: LGPLv2+
Source0: http://josefsson.org/libidn/releases/libidn-%{version}.tar.gz
Patch0: libidn-0.6.14-aconf262.patch
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig, gettext, libtool, autoconf
@ -31,6 +32,7 @@ developing programs which use the GNU libidn library.
%prep
%setup -q
%patch0 -p1 -b .aconf262
# Name directory sections consistently in the info file, #209491
sed -i '/^INFO-DIR-SECTION/{s/GNU Libraries/Libraries/;s/GNU utilities/Utilities/;}' doc/libidn.info
@ -108,6 +110,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
* Tue Jun 10 2008 Joe Orton <jorton@redhat.com> 0.6.14-8
- fix build with latest autoconf (#449440)
* Mon Mar 31 2008 Joe Orton <jorton@redhat.com> 0.6.14-7
- fix libidn.pc for correct libdir (#439549)

Loading…
Cancel
Save