source: patches/eglibc-2.15-qecvt-1.patch@ 5c734c5

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5c734c5 was a8ba0b1, checked in by William Harrington <kb0iic@…>, 12 years ago

Add eglibc qecvt and friends patch for ppc and ppc64 builds.

  • Property mode set to 100644
File size: 814 bytes
RevLine 
[a8ba0b1]1Submitted By: William Harrington kb0iic at cross-lfs dot org.
2Date: 2013-01-13
3Initial Package Version: 1.3.17
4Upstream Status: Unknown
5Origin: http://sourceware.org/bugzilla/show_bug.cgi?id=15007
6Description: Fixes a mismatch of guards around qcvt and friends.
7
8diff -Naur eglibc-2.15.orig/stdlib/bits/stdlib-ldbl.h eglibc-2.15/stdlib/bits/stdlib-ldbl.h
9--- eglibc-2.15.orig/stdlib/bits/stdlib-ldbl.h 2012-10-31 23:42:47.000000000 +0000
10+++ eglibc-2.15/stdlib/bits/stdlib-ldbl.h 2013-01-12 17:42:14.772625587 +0000
11@@ -31,7 +31,7 @@
12 __LDBL_REDIR1_DECL (strtold_l, strtod_l)
13 #endif
14
15-#if defined __USE_SVID || defined __USE_XOPEN_EXTENDED
16+#if defined __USE_SVID || (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K)
17 # ifdef __USE_MISC
18 __LDBL_REDIR1_DECL (qecvt, ecvt)
19 __LDBL_REDIR1_DECL (qfcvt, fcvt)
Note: See TracBrowser for help on using the repository browser.