summaryrefslogtreecommitdiff
path: root/devel/stlport
diff options
context:
space:
mode:
authormrauch <mrauch@pkgsrc.org>2002-01-08 21:14:25 +0000
committermrauch <mrauch@pkgsrc.org>2002-01-08 21:14:25 +0000
commit1b3fcad13076e45b1608264c4ad4765f16607961 (patch)
treed84a97e5f430eac95ac963531e2b20bc624c2397 /devel/stlport
parent7179599f7367bc887e998f4f8961facf9a16b6a8 (diff)
downloadpkgsrc-1b3fcad13076e45b1608264c4ad4765f16607961.tar.gz
* Patches for two header files to adjust path fragments in #include
statements for NetBSD * __unix is not any longer defined in new-toolchain gcc's so add __NetBSD__ to make it compile again Bumped version number as a package without the first fix may break other ones.
Diffstat (limited to 'devel/stlport')
-rw-r--r--devel/stlport/patches/patch-ag13
-rw-r--r--devel/stlport/patches/patch-ah11
-rw-r--r--devel/stlport/patches/patch-ai15
3 files changed, 39 insertions, 0 deletions
diff --git a/devel/stlport/patches/patch-ag b/devel/stlport/patches/patch-ag
new file mode 100644
index 00000000000..6d8fecbd44e
--- /dev/null
+++ b/devel/stlport/patches/patch-ag
@@ -0,0 +1,13 @@
+--- 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)
diff --git a/devel/stlport/patches/patch-ah b/devel/stlport/patches/patch-ah
new file mode 100644
index 00000000000..cf190302f54
--- /dev/null
+++ b/devel/stlport/patches/patch-ah
@@ -0,0 +1,11 @@
+--- stlport/stl/_config.h.orig Sat Nov 10 19:51:04 2001
++++ stlport/stl/_config.h Sat Nov 10 19:51:28 2001
+@@ -174,7 +174,7 @@
+ # endif
+
+ /* Operating system recognition (basic) */
+-# if defined (__unix) || defined (__linux__) || defined (__QNX__) || defined (_AIX)
++# if defined (__unix) || defined (__linux__) || defined (__QNX__) || defined (_AIX) || defined(__NetBSD__)
+ # define __STL_UNIX 1
+ # if defined (__linux__) && ! defined (__STL_USE_GLIBC)
+ # define __STL_USE_GLIBC 1
diff --git a/devel/stlport/patches/patch-ai b/devel/stlport/patches/patch-ai
new file mode 100644
index 00000000000..91ee8b3b2c5
--- /dev/null
+++ b/devel/stlport/patches/patch-ai
@@ -0,0 +1,15 @@
+$NetBSD: patch-ai,v 1.1 2002/01/08 21:14:26 mrauch Exp $
+
+--- stlport/new.h.orig Tue Dec 25 11:31:27 2001
++++ stlport/new.h
+@@ -22,7 +22,9 @@
+ # endif
+
+ # ifndef __STL_WINCE
+-# if ( defined (__GNUC__) && (__GNUC_MINOR__ >= 8 )) || ( defined (__MVS__) && ! defined (__GNUC__))
++# if defined(__NetBSD__)
++# include <g++/new.h>
++# elif ( defined (__GNUC__) && (__GNUC_MINOR__ >= 8 )) || ( defined (__MVS__) && ! defined (__GNUC__))
+ # include __STL_NATIVE_C_HEADER(new.h)
+ # elif defined (__BORLANDC__)
+ # include <new.>