Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37888291
en ru br
ALT Linux repos
S:1.0.11-alt2
5.0: 1.0.2-alt6
4.1: 1.0.2-alt6
4.0: 1.0.2-alt3
3.0: 0.9.12-alt2.1

Group :: Video
RPM: tvtime

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: tvtime-1.0.2-alt-locale_t.patch
Download


--- tvtime-1.0.2/src/xmltv.c.alt	2009-05-06 09:16:44 +0000
+++ tvtime-1.0.2/src/xmltv.c	2009-05-06 09:22:53 +0000
@@ -118,9 +118,9 @@ const int num_timezones = sizeof( date_m
 typedef struct {
     const char *code;
     const char *name;
-} locale_t;
+} tvtime_locale_t;
 
-static locale_t locale_table[] = {
+static tvtime_locale_t locale_table[] = {
     {"AA", "Afar"},           {"AB", "Abkhazian"},      {"AF", "Afrikaans"},
     {"AM", "Amharic"},        {"AR", "Arabic"},         {"AS", "Assamese"},
     {"AY", "Aymara"},         {"AZ", "Azerbaijani"},    {"BA", "Bashkir"},
@@ -168,7 +168,7 @@ static locale_t locale_table[] = {
     {"XH", "Xhosa"},          {"YO", "Yoruba"},         {"ZH", "Chinese"},
     {"ZU", "Zulu"} };
 
-const int num_locales = sizeof( locale_table ) / sizeof( locale_t );
+const int num_locales = sizeof( locale_table ) / sizeof( tvtime_locale_t );
 
 /**
  * Timezone parsing code based loosely on the algorithm in
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin