updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / xpp / xpp-1.5.patch
blob6d2ba63b538c6f85f971b9dae49d1f3be9c57b32
1 diff -cr xpp-1.5-orig/xpp.cxx xpp-1.5/xpp.cxx
2 *** xpp-1.5-orig/xpp.cxx 2004-12-06 23:00:04.000000000 +0400
3 --- xpp-1.5/xpp.cxx 2010-06-08 08:27:05.000000000 +0400
4 ***************
5 *** 168,174 ****
6 {
7 char *tmp;
9 ! if ((tmp = strchr(dest,'/'))) {
10 tmp[0] = '\0';
11 instance = tmp + 1;
13 --- 168,174 ----
15 char *tmp;
17 ! if ((tmp = (char*)(strchr(dest,'/')))) {
18 tmp[0] = '\0';
19 instance = tmp + 1;
21 diff -cr xpp-1.5-orig/xpp.h xpp-1.5/xpp.h
22 *** xpp-1.5-orig/xpp.h 2004-12-06 21:59:35.000000000 +0400
23 --- xpp-1.5/xpp.h 2010-06-08 08:13:21.000000000 +0400
24 ***************
25 *** 177,183 ****
28 int /* O - index of the record of the given option in the array */
29 ! printFiles::getSpecialOptionIndex(int *num_special_opts_in_arr,
30 /* number of options in the array */
31 special_opt_t **special_opts_arr,
32 /* array of numerical/string
33 --- 177,183 ----
36 int /* O - index of the record of the given option in the array */
37 ! getSpecialOptionIndex(int *num_special_opts_in_arr,
38 /* number of options in the array */
39 special_opt_t **special_opts_arr,
40 /* array of numerical/string