equal
deleted
inserted
replaced
|
1 casting to fix the build error on sparc - restricing it to sparc for now |
|
2 since x86 builds and runs fine as is. |
|
3 |
|
4 Potentially find a better fix |
|
5 |
|
6 --- yelp-3.18.0/libyelp/yelp-man-parser.c 2016-08-22 15:22:25.739238800 -0700 |
|
7 +++ yelp-3.18.0/libyelp/yelp-man-parser.c 2016-08-22 15:23:37.092255584 -0700 |
|
8 @@ -1362,8 +1362,13 @@ |
|
9 g_regex_match_full (regex, accumulator->str, |
|
10 -1, offset, 0, &match_info, NULL); |
|
11 while (g_match_info_matches (match_info)) { |
|
12 - offset = inserter ((offset_elt_pair *)pairs->data, |
|
13 +#if defined(__sparc) |
|
14 + offset = inserter ((offset_elt_pair *)(void *)pairs->data, |
|
15 match_info); |
|
16 +#else |
|
17 + offset = inserter ((offset_elt_pair *)pairs->data, |
|
18 + match_info); |
|
19 +#endif |
|
20 |
|
21 g_match_info_free (match_info); |
|
22 |