summaryrefslogtreecommitdiff
path: root/devel/stlport/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'devel/stlport/patches/patch-af')
-rw-r--r--devel/stlport/patches/patch-af22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/stlport/patches/patch-af b/devel/stlport/patches/patch-af
new file mode 100644
index 00000000000..929f437f426
--- /dev/null
+++ b/devel/stlport/patches/patch-af
@@ -0,0 +1,22 @@
+$NetBSD: patch-af,v 1.1.1.1 2000/12/27 17:37:51 jlam Exp $
+
+--- stlport/stl/c_locale.h.orig Thu Jul 13 21:53:26 2000
++++ stlport/stl/c_locale.h
+@@ -280,6 +280,17 @@
+ # define _Locale_PRINT _CTYPE_R
+ # define _Locale_ALPHA _CTYPE_A
+
++# elif defined (__NetBSD__)
++
++# define _Locale_CNTRL _C
++# define _Locale_UPPER _U
++# define _Locale_LOWER _L
++# define _Locale_DIGIT _N
++# define _Locale_XDIGIT (_N | _X)
++# define _Locale_PUNCT _P
++# define _Locale_SPACE _S
++# define _Locale_PRINT (_P |_U |_L |_N | _B)
++# define _Locale_ALPHA (_U | _L)
+
+ # elif defined(__STL_USE_GLIBC) /* linux, using the gnu compiler */
+