diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-08 22:28:37 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-08 22:28:37 +0000 |
commit | 14f1f0955e87a65d593317cfe90d9f3f6a3ef458 (patch) | |
tree | 7903bc2aa00d8d48e1fbf1f67779d3a289a8c87b /media-tv/tvtime/files | |
parent | Fix building with GLIBC 2.10+ wrt #272517. (diff) | |
download | historical-14f1f0955e87a65d593317cfe90d9f3f6a3ef458.tar.gz historical-14f1f0955e87a65d593317cfe90d9f3f6a3ef458.tar.bz2 historical-14f1f0955e87a65d593317cfe90d9f3f6a3ef458.zip |
Fix building with GLIBC 2.10+ wrt #275119, thanks to Markus Rathgeb for patch.
Package-Manager: portage-2.2_rc36/cvs/Linux x86_64
Diffstat (limited to 'media-tv/tvtime/files')
-rw-r--r-- | media-tv/tvtime/files/tvtime-1.0.2-glibc-2.10.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media-tv/tvtime/files/tvtime-1.0.2-glibc-2.10.patch b/media-tv/tvtime/files/tvtime-1.0.2-glibc-2.10.patch new file mode 100644 index 000000000000..c3d8ad87d733 --- /dev/null +++ b/media-tv/tvtime/files/tvtime-1.0.2-glibc-2.10.patch @@ -0,0 +1,24 @@ +diff -Naur tvtime-1.0.2.org/src/xmltv.c tvtime-1.0.2/src/xmltv.c +--- tvtime-1.0.2.org/src/xmltv.c 2009-07-02 21:48:49.426191088 +0200 ++++ tvtime-1.0.2/src/xmltv.c 2009-07-02 21:50:20.842066085 +0200 +@@ -118,9 +118,9 @@ + 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 @@ + {"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 |