summaryrefslogtreecommitdiff
path: root/mail/thunderbird45/patches/patch-mozilla_media_libtheora_lib_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird45/patches/patch-mozilla_media_libtheora_lib_info.c')
-rw-r--r--mail/thunderbird45/patches/patch-mozilla_media_libtheora_lib_info.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mozilla_media_libtheora_lib_info.c b/mail/thunderbird45/patches/patch-mozilla_media_libtheora_lib_info.c
new file mode 100644
index 00000000000..23bc83f7e88
--- /dev/null
+++ b/mail/thunderbird45/patches/patch-mozilla_media_libtheora_lib_info.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-mozilla_media_libtheora_lib_info.c,v 1.1 2017/04/27 13:38:19 ryoon Exp $
+
+--- mozilla/media/libtheora/lib/info.c.orig 2016-04-07 21:33:21.000000000 +0000
++++ mozilla/media/libtheora/lib/info.c
+@@ -29,7 +29,7 @@
+ static int oc_tagcompare(const char *_s1,const char *_s2,int _n){
+ int c;
+ for(c=0;c<_n;c++){
+- if(toupper(_s1[c])!=toupper(_s2[c]))return !0;
++ if(toupper((unsigned char)_s1[c])!=toupper((unsigned char)_s2[c]))return !0;
+ }
+ return _s1[c]!='=';
+ }