pkgsrc/www/firefox38/patches/patch-media_libtheora_lib_info.c
ryoon 9cd6a39c3e Import firefox38-38.1.0 as www/firefox38.
Mozilla Firefox is a free, open-source and cross-platform web browser
for Windows, Linux, MacOS X and many other operating systems.

It is fast and easy to use, and offers many advantages over other web
browsers, such as tabbed browsing and the ability to block pop-up
windows.

Firefox also offers excellent bookmark and history management, and it
can be extended by developers using industry standards such as XML,
CSS, JavaScript, C++, etc. Many extensions are available.

This package tracks 38 ESR.
2015-07-09 14:13:51 +00:00

13 lines
502 B
C

$NetBSD: patch-media_libtheora_lib_info.c,v 1.1 2015/07/09 14:13:52 ryoon Exp $
--- media/libtheora/lib/info.c.orig 2015-01-23 05:59:59.000000000 +0000
+++ media/libtheora/lib/info.c 2015-02-16 14:49:17.000000000 +0000
@@ -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]!='=';
}