summaryrefslogtreecommitdiff
path: root/devel/sgi-stl/patches
diff options
context:
space:
mode:
authorjlam <jlam>2000-07-12 20:22:42 +0000
committerjlam <jlam>2000-07-12 20:22:42 +0000
commit36d0356c41b34a313e4dd206fff2e584f0b404ef (patch)
treede21f09f414743fef83fa1180368b118f70a8fd9 /devel/sgi-stl/patches
parent4391da6d8a3495ea717862a9c7e0e8ccdf960a6e (diff)
downloadpkgsrc-36d0356c41b34a313e4dd206fff2e584f0b404ef.tar.gz
Update SGI-STL to 3.3. Changes from version 3.2:
* New feature: concept checks. The library now does better compile-time error checking to make sure that the types used to instantiate library templates conform to the templates' requirements. * Removed two non-standard-conforming extensions: the second, defaulted template parameter in bitset, and the third, default template parameter in deque. * Many bug fixes, performance enhancements, and compatibility improvements.
Diffstat (limited to 'devel/sgi-stl/patches')
-rw-r--r--devel/sgi-stl/patches/patch-aa21
-rw-r--r--devel/sgi-stl/patches/patch-ab22
2 files changed, 20 insertions, 23 deletions
diff --git a/devel/sgi-stl/patches/patch-aa b/devel/sgi-stl/patches/patch-aa
index 34e27c10bd2..dcacc23d996 100644
--- a/devel/sgi-stl/patches/patch-aa
+++ b/devel/sgi-stl/patches/patch-aa
@@ -1,22 +1,19 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/05/24 05:46:54 jlam Exp $
+$NetBSD: patch-aa,v 1.2 2000/07/12 20:22:44 jlam Exp $
-Still need to find 1st word of +infinity, quiet NaN, and signaling NaN.
-
---- limits.orig Thu Apr 22 20:47:10 1999
-+++ limits Sat May 13 02:24:42 2000
-@@ -372,9 +372,15 @@
+--- limits.orig Thu Jun 8 18:10:23 2000
++++ limits Wed Jul 12 03:16:05 2000
+@@ -350,6 +350,14 @@
#if !defined(LONGLONG_MIN) && !defined(LONGLONG_MAX) \
&& !defined(ULONGLONG_MAX)
-+#ifdef __NetBSD__
++#if defined(__NetBSD__)
++
+#define ULONGLONG_MAX ULLONG_MAX
+#define LONGLONG_MAX LLONG_MAX
+#define LONGLONG_MIN LLONG_MIN
++
+#else
++
#define ULONGLONG_MAX 0xffffffffffffffffLLU
#define LONGLONG_MAX 0x7fffffffffffffffLL
- #define LONGLONG_MIN (-LONGLONG_MAX - 1)
-+#endif
-
- #endif
-
+ #define LONGLONG_MIN (-LONGLONG_MAX - 1LL)
diff --git a/devel/sgi-stl/patches/patch-ab b/devel/sgi-stl/patches/patch-ab
index 170142975b0..8fd4a9b01a5 100644
--- a/devel/sgi-stl/patches/patch-ab
+++ b/devel/sgi-stl/patches/patch-ab
@@ -1,14 +1,14 @@
-$NetBSD: patch-ab,v 1.1.1.1 2000/05/24 05:46:54 jlam Exp $
+$NetBSD: patch-ab,v 1.2 2000/07/12 20:22:44 jlam Exp $
---- stl_config.h.orig Thu Apr 22 20:47:11 1999
-+++ stl_config.h Sat May 13 02:19:46 2000
-@@ -260,6 +260,9 @@
- # ifdef _REENTRANT
- # define __STL_PTHREADS
- # endif
-+# ifdef __NetBSD__
-+# define __STL_LONG_LONG
-+# endif
+--- stl_config.h.orig Thu Jun 8 18:10:28 2000
++++ stl_config.h Wed Jul 12 03:19:11 2000
+@@ -252,6 +252,9 @@
# endif
- # if defined(__SUNPRO_CC)
+
++# ifdef __NetBSD__
++# define __STL_LONG_LONG
++# endif
+
+ # ifdef __GNUC__
+ # if __GNUC__ == 2 && __GNUC_MINOR__ <= 7