From 09160e91d192c43f1ae923f9a04a6c8d324ab58f Mon Sep 17 00:00:00 2001 From: jorton Date: Tue, 10 Jun 2008 15:43:01 +0000 Subject: [PATCH] - fix build with latest autoconf (#449440) --- libidn-0.6.14-aconf262.patch | 18 ++++++++++++++++++ libidn.spec | 7 ++++++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 libidn-0.6.14-aconf262.patch diff --git a/libidn-0.6.14-aconf262.patch b/libidn-0.6.14-aconf262.patch new file mode 100644 index 0000000..766c129 --- /dev/null +++ b/libidn-0.6.14-aconf262.patch @@ -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 + # ------------------------ diff --git a/libidn.spec b/libidn.spec index 0a3b543..b9b266e 100644 --- a/libidn.spec +++ b/libidn.spec @@ -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 0.6.14-8 +- fix build with latest autoconf (#449440) + * Mon Mar 31 2008 Joe Orton 0.6.14-7 - fix libidn.pc for correct libdir (#439549)