source: patches/eglibc-2.17-qecvt-1.patch@ 1625b3e

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1625b3e was 874ec12, checked in by William Harrington <kb0iic@…>, 11 years ago

Add eglibc 2.17 qecvt patch for powerpc targets.

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