summaryrefslogtreecommitdiff
path: root/textproc/icu/patches/patch-ah
blob: f3762ab07b9cfd06438f7f22ef833c66ecd94bd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ah,v 1.1.1.1 2000/12/20 18:28:05 skrll Exp $

--- test/intltest/intltest.cpp.orig	Tue Aug 15 00:44:12 2000
+++ test/intltest/intltest.cpp
@@ -386,7 +386,7 @@
             mainDirBuffer[0]='\0';
         }
         mainDir=mainDirBuffer;
-    #elif defined(_AIX) || defined(U_SOLARIS) || defined(U_LINUX) || defined(HPUX) || defined(POSIX) || defined(OS390)
+    #elif defined(_AIX) || defined(U_SOLARIS) || defined(U_LINUX) || defined(HPUX) || defined(POSIX) || defined(OS390) || defined(U_NETBSD)
         char mainDirBuffer[200];
         strcpy(mainDirBuffer, u_getDataDirectory());
         strcat(mainDirBuffer, "/../");
@@ -453,7 +453,7 @@
 {
        if (_testDirectory == NULL) 
     {
-#if defined(_AIX) || defined(U_SOLARIS) || defined(U_LINUX) || defined(HPUX) || defined(POSIX) || defined(OS390)
+#if defined(_AIX) || defined(U_SOLARIS) || defined(U_LINUX) || defined(HPUX) || defined(POSIX) || defined(OS390) || defined(U_NETBSD)
       setTestDirectory("source|test|testdata|");
 #else
       setTestDirectory("icu|source|test|testdata|");