openbsd-ports/lang/egcs/stable/patches/patch-libstdc++-v3-configure_in
espie 5e1c3c14ed Some fixes:
- patch libstdc++-v3/libmath to unconfuse libtool.
- sparc needs the same fix as i386 to not emit bogus frame info.
2001-07-13 14:06:53 +00:00

23 lines
839 B
Plaintext

Current snapshots won't build on many bsd systems without the following
patch, as machine/endian.h cannot be included without including sys/types.h
first.
2000-12-27 Marc Espie <espie@openbsd.org>
* configure.in: Check for sys/types.h.
* configure: Rebuild.
* libmath/mathconf.h: Include sys/types.h prior to
machine/endian.h if available.
--- libstdc++-v3/configure.in.orig Thu Jun 14 10:47:35 2001
+++ libstdc++-v3/configure.in Fri Jul 13 15:13:06 2001
@@ -204,7 +204,7 @@ else
# Check for available headers.
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
- machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h])
+ machine/param.h sys/machine.h sys/types.h fp.h locale.h float.h inttypes.h gconv.h])
GLIBCPP_CHECK_COMPILER_FEATURES
GLIBCPP_CHECK_LINKER_FEATURES