summaryrefslogtreecommitdiffstats
path: root/multimedia/tvtime/patches
diff options
context:
space:
mode:
author Marco Bonetti2010-04-09 05:36:43 +0200
committer David Somero2010-05-15 10:27:13 +0200
commit70a1aa314f051713510504432ae2f9ecff5ecdfa (patch)
treea423af3b7c51609c2e8fb25b961d8345cdd5c81d /multimedia/tvtime/patches
parentb1eacc4adc19f34f866042fdecc2fe190127dc67 (diff)
downloadslackbuilds-70a1aa314f051713510504432ae2f9ecff5ecdfa.tar.gz
multimedia/tvtime: Updated build with glibc patch.
Diffstat (limited to 'multimedia/tvtime/patches')
-rw-r--r--multimedia/tvtime/patches/glibc-2.10.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/multimedia/tvtime/patches/glibc-2.10.patch b/multimedia/tvtime/patches/glibc-2.10.patch
new file mode 100644
index 0000000000..c3d8ad87d7
--- /dev/null
+++ b/multimedia/tvtime/patches/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