Author: randy
Date: 2008-10-05 09:13:13 -0600 (Sun, 05 Oct 2008)
New Revision: 1979

Added:
   trunk/glibc/glibc-2.8-20080929-iconv_tests-1.patch
   trunk/glibc/glibc-2.8-20080929-ildoubl_test-1.patch
Log:
Added two patches to correct test suite failures in the Glibc-2.8 snapshot 
releases

Added: trunk/glibc/glibc-2.8-20080929-iconv_tests-1.patch
===================================================================
--- trunk/glibc/glibc-2.8-20080929-iconv_tests-1.patch                          
(rev 0)
+++ trunk/glibc/glibc-2.8-20080929-iconv_tests-1.patch  2008-10-05 15:13:13 UTC 
(rev 1979)
@@ -0,0 +1,42 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2008-10-04
+Initial Package Version: 2.8-20080915 snapshot
+Upstream Status:         Applied
+Origin:                  DIY-Linux Greg Schafer <[EMAIL PROTECTED]>
+                         
http://sourceware.org/ml/glibc-cvs/2008-q2/msg00271.html
+                         
http://sourceware.org/ml/glibc-cvs/2008-q2/msg00272.html
+                         
http://sourceware.org/ml/glibc-cvs/2008-q2/msg00347.html
+Description:             Fixes 2 iconv tests
+
+
+diff -Naur glibc-2.8-20080915.orig/iconvdata/Depend 
glibc-2.8-20080915/iconvdata/Depend
+--- glibc-2.8-20080915.orig/iconvdata/Depend   2000-06-12 19:00:18.000000000 
+0000
++++ glibc-2.8-20080915/iconvdata/Depend        2008-09-22 02:07:04.000000000 
+0000
+@@ -1 +1,2 @@
+ iconv
++localedata
+diff -Naur glibc-2.8-20080915.orig/iconvdata/Makefile 
glibc-2.8-20080915/iconvdata/Makefile
+--- glibc-2.8-20080915.orig/iconvdata/Makefile 2008-01-09 20:03:36.000000000 
+0000
++++ glibc-2.8-20080915/iconvdata/Makefile      2008-09-22 02:07:01.000000000 
+0000
+@@ -73,6 +73,9 @@
+ endif
+ 
+ test-srcs := tst-table-from tst-table-to
++
++bug-iconv6-ENV = LOCPATH=$(common-objpfx)localedata
++tst-iconv7-ENV = LOCPATH=$(common-objpfx)localedata
+ endif
+ 
+ # No code here is in libc.so.
+diff -Naur glibc-2.8-20080915.orig/iconvdata/bug-iconv6.c 
glibc-2.8-20080915/iconvdata/bug-iconv6.c
+--- glibc-2.8-20080915.orig/iconvdata/bug-iconv6.c     2007-11-07 
23:58:04.000000000 +0000
++++ glibc-2.8-20080915/iconvdata/bug-iconv6.c  2008-09-22 02:06:55.000000000 
+0000
+@@ -13,7 +13,7 @@
+ static int
+ do_test (void)
+ {
+-  setlocale (LC_ALL, "en_US.UTF-8");
++  setlocale (LC_ALL, "de_DE.UTF-8");
+   iconv_t ic = iconv_open ("ISO-2022-JP//TRANSLIT", "UTF-8");
+   if (ic == (iconv_t) -1)
+     {

Added: trunk/glibc/glibc-2.8-20080929-ildoubl_test-1.patch
===================================================================
--- trunk/glibc/glibc-2.8-20080929-ildoubl_test-1.patch                         
(rev 0)
+++ trunk/glibc/glibc-2.8-20080929-ildoubl_test-1.patch 2008-10-05 15:13:13 UTC 
(rev 1979)
@@ -0,0 +1,33 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2008-10-05
+Initial Package Version: 2.8-20080929 snapshot
+Upstream Status:         Unknown (Upstream doesn't seem to concerned about x86
+                         architecture any longer)
+Origin:                  
http://sourceware.org/ml/libc-alpha/2008-07/msg00024.html
+Description:             Fixes a ildoubl math test suite error on x86 arches
+
+
+diff -Naur glibc-2.8-20080929-orig/sysdeps/i386/fpu/libm-test-ulps 
glibc-2.8-20080929/sysdeps/i386/fpu/libm-test-ulps
+--- glibc-2.8-20080929-orig/sysdeps/i386/fpu/libm-test-ulps    2006-01-15 
17:59:37.000000000 +0000
++++ glibc-2.8-20080929/sysdeps/i386/fpu/libm-test-ulps 2008-10-05 
14:44:42.000000000 +0000
+@@ -453,6 +453,10 @@
+ ildouble: 8
+ ldouble: 8
+ 
++# expm1
++Test "expm1 (1) == M_El - 1.0":
++ildouble: 1
++
+ # gamma
+ Test "gamma (-0.5) == log(2*sqrt(pi))":
+ double: 1
+@@ -1134,6 +1138,9 @@
+ ildouble: 8
+ ldouble: 8
+ 
++Function: "expm1":
++ildouble: 1
++
+ Function: "gamma":
+ double: 1
+ idouble: 1

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to