updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cuda-sdk / data-paths.patch
blobb555378dfd037f1b457401670f2137b4c05929c4
1 --- pkg/sdk/shared/src/shrUtils.cpp.orig 2011-04-07 10:36:20.013234725 +0200
2 +++ pkg/sdk/shared/src/shrUtils.cpp 2011-04-07 10:41:00.025799423 +0200
3 @@ -596,6 +596,10 @@
4 "../data/", // up 1 in tree, "/data/" subdir
5 "../src/", // up 1 in tree, "/src/" subdir
6 "../inc/", // up 1 in tree, "/inc/" subdir
7 + "../src/<executable_name>/", // up 1 in tree, "/src/<executable_name>/" subdir
8 + "../src/<executable_name>/data/", // up 1 in tree, "/src/<executable_name>/data/" subdir
9 + "../src/<executable_name>/src/", // up 1 in tree, "/src/<executable_name>/src/" subdir
10 + "../OpenCL/src/<executable_name>/inc/", // up 1 in tree, "/OpenCL/src/<executable_name>/inc/" subdir
11 "../OpenCL/src/<executable_name>/", // up 1 in tree, "/OpenCL/src/<executable_name>/" subdir
12 "../OpenCL/src/<executable_name>/data/", // up 1 in tree, "/OpenCL/src/<executable_name>/data/" subdir
13 "../OpenCL/src/<executable_name>/src/", // up 1 in tree, "/OpenCL/src/<executable_name>/src/" subdir
14 --- pkg/sdk/CUDALibraries/src/boxFilterNPP/boxFilterNPP.cpp.orig 2011-05-23 06:57:49.000000000 +0200
15 +++ pkg/sdk/CUDALibraries/src/boxFilterNPP/boxFilterNPP.cpp 2011-05-31 13:47:40.561169789 +0200
16 @@ -37,7 +37,7 @@
17 if (filename == 0)
18 return 0;
19 size_t filename_len = strlen(filename);
20 - const char data_folder[] = "../../data/";
21 + const char data_folder[] = "data/";
22 size_t data_folder_len = strlen(data_folder);
23 char* file_path =
24 (char*) malloc( sizeof(char) * (data_folder_len + filename_len + 1));
25 --- pkg/sdk/CUDALibraries/src/freeImageInteropNPP/freeImageInteropNPP.cpp.orig 2011-05-23 06:57:49.000000000 +0200
26 +++ pkg/sdk/CUDALibraries/src/freeImageInteropNPP/freeImageInteropNPP.cpp 2011-05-31 13:47:40.547835889 +0200
27 @@ -66,7 +66,7 @@
28 if (filename == 0)
29 return 0;
30 size_t filename_len = strlen(filename);
31 - const char data_folder[] = "../../data/";
32 + const char data_folder[] = "data/";
33 size_t data_folder_len = strlen(data_folder);
34 char* file_path =
35 (char*) malloc( sizeof(char) * (data_folder_len + filename_len + 1));
36 --- pkg/sdk/CUDALibraries/src/histEqualizationNPP/histEqualizationNPP.cpp.orig 2011-05-23 06:57:49.000000000 +0200
37 +++ pkg/sdk/CUDALibraries/src/histEqualizationNPP/histEqualizationNPP.cpp 2011-05-31 13:47:40.554502839 +0200
38 @@ -38,7 +38,7 @@
39 if (filename == 0)
40 return 0;
41 size_t filename_len = strlen(filename);
42 - const char data_folder[] = "../../data/";
43 + const char data_folder[] = "data/";
44 size_t data_folder_len = strlen(data_folder);
45 char* file_path =
46 (char*) malloc( sizeof(char) * (data_folder_len + filename_len + 1));
47 --- pkg/sdk/CUDALibraries/src/imageSegmentationNPP/imageSegmentationNPP.cpp.orig 2011-05-23 06:57:49.000000000 +0200
48 +++ pkg/sdk/CUDALibraries/src/imageSegmentationNPP/imageSegmentationNPP.cpp 2011-05-31 13:47:40.541168939 +0200
49 @@ -51,7 +51,7 @@
50 if (filename == 0)
51 return 0;
52 size_t filename_len = strlen(filename);
53 - const char data_folder[] = "../../data/";
54 + const char data_folder[] = "data/";
55 size_t data_folder_len = strlen(data_folder);
56 char* file_path =
57 (char*) malloc( sizeof(char) * (data_folder_len + filename_len + 1));