diff options
author | mycroft <mycroft@pkgsrc.org> | 2000-11-25 22:43:28 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 2000-11-25 22:43:28 +0000 |
commit | 52abccf3d9ae3f21c434cf5591c12dd7916f0a8f (patch) | |
tree | c60940d2f9ee4e4749fd56006a5927ffd7d108ec /www/mozilla | |
parent | 7ccbf6d22321f410d4712104ad303fdb7ca0816a (diff) | |
download | pkgsrc-52abccf3d9ae3f21c434cf5591c12dd7916f0a8f.tar.gz |
Fix the htmlparser tests to work with unsigned characters.
Diffstat (limited to 'www/mozilla')
-rw-r--r-- | www/mozilla/files/patch-sum | 3 | ||||
-rw-r--r-- | www/mozilla/patches/patch-an | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/www/mozilla/files/patch-sum b/www/mozilla/files/patch-sum index 4125af528ef..23d7b9e6dea 100644 --- a/www/mozilla/files/patch-sum +++ b/www/mozilla/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.33 2000/11/15 04:53:35 martin Exp $ +$NetBSD: patch-sum,v 1.34 2000/11/25 22:43:28 mycroft Exp $ MD5 (patch-aa) = a07a4956a8c6a91fce0ef653b59c902f MD5 (patch-ab) = dfa8ac0ffaac96293904adb6372c5b8d @@ -13,3 +13,4 @@ MD5 (patch-aj) = dae5f7b6f80a833fd63721c5c751fe0b MD5 (patch-ak) = 287b726e245828a0ef5801a621573e09 MD5 (patch-al) = c84bb29314da78f57bbb72c9b9834dc6 MD5 (patch-am) = ae0011f145fee15042a104d9a67a7b44 +MD5 (patch-an) = d675e27cb5f6cd403aafab081b8e84c7 diff --git a/www/mozilla/patches/patch-an b/www/mozilla/patches/patch-an new file mode 100644 index 00000000000..a2f017db23e --- /dev/null +++ b/www/mozilla/patches/patch-an @@ -0,0 +1,31 @@ +$NetBSD: patch-an,v 1.3 2000/11/25 22:43:29 mycroft Exp $ + +--- htmlparser/tests/outsinks/Convert.cpp.orig Thu Aug 31 22:08:07 2000 ++++ htmlparser/tests/outsinks/Convert.cpp Sat Nov 25 22:39:07 2000 +@@ -66,12 +66,12 @@ + + // Inefficiently read from the file: + nsString inString; +- char c; ++ int c; + int index = 0; + int different = 0; + while ((c = getc(file)) != EOF) + { +- inString.AppendWithConversion(c); ++ inString.AppendWithConversion((char) c); + // CVS isn't doing newline comparisons on these files for some reason. + // So compensate for possible newline problems in the CVS file: + if (c == '\n' && str[index] == '\r') +@@ -277,9 +277,9 @@ + + // Read in the string: very inefficient, but who cares? + nsString inString; +- char c; ++ int c; + while ((c = getc(file)) != EOF) +- inString.AppendWithConversion(c); ++ inString.AppendWithConversion((char) c); + + if (file != stdin) + fclose(file); |