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