updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / tvtime_patched / tvtime-1.0.2-locale_t-fix.patch
blob7aaa53da136a043a0925db570c51953d7bcd8656
1 --- tvtime-1.0.2.orig/src/xmltv.c 2004-09-26 18:40:01.000000000 +0200
2 +++ tvtime-1.0.2/src/xmltv.c 2009-05-31 18:08:13.228709960 +0200
3 @@ -118,9 +118,9 @@ const int num_timezones = sizeof( date_m
4 typedef struct {
5 const char *code;
6 const char *name;
7 -} locale_t;
8 +} tv_locale_t;
10 -static locale_t locale_table[] = {
11 +static tv_locale_t locale_table[] = {
12 {"AA", "Afar"}, {"AB", "Abkhazian"}, {"AF", "Afrikaans"},
13 {"AM", "Amharic"}, {"AR", "Arabic"}, {"AS", "Assamese"},
14 {"AY", "Aymara"}, {"AZ", "Azerbaijani"}, {"BA", "Bashkir"},
15 @@ -168,7 +168,7 @@ static locale_t locale_table[] = {
16 {"XH", "Xhosa"}, {"YO", "Yoruba"}, {"ZH", "Chinese"},
17 {"ZU", "Zulu"} };
19 -const int num_locales = sizeof( locale_table ) / sizeof( locale_t );
20 +const int num_locales = sizeof( locale_table ) / sizeof( tv_locale_t );
22 /**
23 * Timezone parsing code based loosely on the algorithm in