From 49b95ac5419b717daee9f963c6729828499becdf Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 9 Aug 2011 19:25:44 +0200 Subject: [PATCH] glibc: reintroduced handling of internal libidn support (see note!) Note: This partially reverts commit cde2856ca0a718e437124ee17e545521104d418e because I wrongly assumed that the IDN support will be enabled by default, which is not the case! As of glibc 2.11 only the sources of the glibc libidn addon are included, but the addon itself is *NOT* enabled by default. Thus I restored the old behavior besides the part for unpacking the libidn addon sources. --- base/glibc/glibc.conf | 5 +++++ base/glibc/subconfig-libc.in | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/base/glibc/glibc.conf b/base/glibc/glibc.conf index 0da7cc33f..776558a93 100644 --- a/base/glibc/glibc.conf +++ b/base/glibc/glibc.conf @@ -81,6 +81,11 @@ else var_append extraconfopt " " "--without-tls" fi +# ckeck whether to enable libidn support +if [ $SDECFG_PKG_GLIBC_LIBIDN = 1 ]; then + var_append glibc_addons "," "libidn" +fi + var_append extraconfopt " " "--enable-add-ons=$glibc_addons" # control whether to include profiling support diff --git a/base/glibc/subconfig-libc.in b/base/glibc/subconfig-libc.in index 4f7219fa7..c8d33f406 100644 --- a/base/glibc/subconfig-libc.in +++ b/base/glibc/subconfig-libc.in @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../glibc/subconfig-libc.in -# Copyright (C) 2007 - 2010 The OpenSDE Project +# Copyright (C) 2007 - 2011 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -23,6 +23,7 @@ comment 'Glibc (GNU C Library) Options' esac bool 'Enable TLS and NPTL' SDECFG_PKG_GLIBC_TLS $tls + bool 'Enable LibIDN' SDECFG_PKG_GLIBC_LIBIDN 1 bool 'Enable profile library' SDECFG_PKG_GLIBC_ENABLE_PROFILE 0 comment ' '