Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2002 22:59:46 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        Peter Wemm <peter@wemm.org>, <obrien@freebsd.org>
Cc:        <current@freebsd.org>
Subject:   Solved: libstdc++ problem with recent CURRENT 
Message-ID:  <20020530225212.I18017-100000@levais.imp.ch>
In-Reply-To: <20020530192331.CA60D380A@overcee.wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help

http://people.freebsd.org/~mbr/patches/patch-libstd++::config.h

This patch fixes the problem.

--- gnu/lib/libstdc++/c++config.h.orig	Wed May 29 02:45:51 2002
+++ gnu/lib/libstdc++/c++config.h	Thu May 30 22:49:07 2002
@@ -420,7 +420,7 @@
 /* #undef _GLIBCPP_HAVE_COSHL */

 /* Define if you have the cosl function.  */
-/* #undef _GLIBCPP_HAVE_COSL */
+#define _GLIBCPP_HAVE_COSL 1

 /* Define if you have the drand48 function.  */
 #define _GLIBCPP_HAVE_DRAND48 1
@@ -612,13 +612,13 @@
 /* #undef _GLIBCPP_HAVE_SINHL */

 /* Define if you have the sinl function.  */
-/* #undef _GLIBCPP_HAVE_SINL */
+#define _GLIBCPP_HAVE_SINL 1

 /* Define if you have the sqrtf function.  */
 #define _GLIBCPP_HAVE_SQRTF 1

 /* Define if you have the sqrtl function.  */
-/* #undef _GLIBCPP_HAVE_SQRTL */
+#define _GLIBCPP_HAVE_SQRTL 1

 /* Define if you have the strtof function.  */
 /* #undef _GLIBCPP_HAVE_STRTOF */
--- gnu/lib/libstdc++/config.h.orig	Fri May 10 10:54:42 2002
+++ gnu/lib/libstdc++/config.h	Thu May 30 22:45:01 2002
@@ -343,7 +343,7 @@
 /* #undef HAVE_COSHL */

 /* Define if you have the cosl function.  */
-/* #undef HAVE_COSL */
+#define HAVE_COSL 1

 /* Define if you have the drand48 function.  */
 #define HAVE_DRAND48 1
@@ -535,13 +535,13 @@
 /* #undef HAVE_SINHL */

 /* Define if you have the sinl function.  */
-/* #undef HAVE_SINL */
+#define HAVE_SINL 1

 /* Define if you have the sqrtf function.  */
 #define HAVE_SQRTF 1

 /* Define if you have the sqrtl function.  */
-/* #undef HAVE_SQRTL */
+#define HAVE_SQRTL 1

 /* Define if you have the strtof function.  */
 /* #undef HAVE_STRTOF */

Martin

Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP: <finger -l mbr@freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020530225212.I18017-100000>