]> git.pld-linux.org Git - packages/seamonkey.git/blob - seamonkey-icu-detect.patch
33d8d9c495b192fad16a0cd335e9fd73b0dd535b
[packages/seamonkey.git] / seamonkey-icu-detect.patch
1 --- seamonkey-2.46/mozilla/build/autoconf/icu.m4~       2016-12-14 03:09:42.000000000 +0100
2 +++ seamonkey-2.46/mozilla/build/autoconf/icu.m4        2017-01-31 16:04:37.386019997 +0100
3 @@ -62,15 +62,8 @@
4  
5  dnl Settings for the implementation of the ECMAScript Internationalization API
6  if test -n "$USE_ICU"; then
7 -    icudir="$_topsrcdir/intl/icu/source"
8 -    if test ! -d "$icudir"; then
9 -        icudir="$_topsrcdir/../../intl/icu/source"
10 -        if test ! -d "$icudir"; then
11 -            AC_MSG_ERROR([Cannot find the ICU directory])
12 -        fi
13 -    fi
14  
15 -    version=`sed -n 's/^[[:space:]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "$icudir/common/unicode/uvernum.h"`
16 +    version=`sed -n 's/^\s*#\s*define\s\s*U_ICU_VERSION_MAJOR_NUM\s\s*\([0-9][0-9]*\)\s*$/\1/p' "/usr/include/unicode/uvernum.h"`
17      if test x"$version" = x; then
18         AC_MSG_ERROR([cannot determine icu version number from uvernum.h header file $lineno])
19      fi
This page took 0.018195 seconds and 2 git commands to generate.