1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Add langinfo twirks

This commit is contained in:
Martin Blapp 2002-03-10 23:02:24 +00:00
parent 60deb7a34d
commit b19cbdef34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55836
20 changed files with 360 additions and 0 deletions

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif

View File

@ -0,0 +1,18 @@
--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
+++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
@@ -64,12 +64,14 @@
#elif defined( OS2 )
#define INCL_DOSNLS
#include <svpm.h>
-#elif defined(LINUX) || defined(SOLARIS)
+#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <locale.h>
+if !defined(FREEBSD) || OSVERSION > 500000
#include <langinfo.h>
+#endif
#ifndef _TOOLS_LANG_HXX
#include <lang.hxx>
#endif