summaryrefslogtreecommitdiff
path: root/devel/stlport/patches/patch-ag
blob: fd11c579587a55b8ec3caf3e94e94fe5c66032cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ag,v 1.2 2002/05/20 17:43:05 cjep Exp $
--- stlport/typeinfo.orig	Sat Nov 10 19:38:11 2001
+++ stlport/typeinfo	Sat Nov 10 19:39:12 2001
@@ -23,7 +23,9 @@
 
 # ifndef __STL_NO_TYPEINFO
 
-# if defined (__GNUC__) && (__GNUC_MINOR__ > 7)
+# if defined (__NetBSD__)
+#  include <g++/typeinfo>
+# elif defined (__GNUC__) && (__GNUC_MINOR__ > 7)
 #  include <../include/typeinfo>
 # elif defined (__STL_NO_NEW_NEW_HEADER)
 #  include __STL_NATIVE_HEADER(typeinfo.h)