diff options
Diffstat (limited to 'graphics/dia/files/patch-lib::charconv.c')
-rw-r--r-- | graphics/dia/files/patch-lib::charconv.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/dia/files/patch-lib::charconv.c b/graphics/dia/files/patch-lib::charconv.c new file mode 100644 index 000000000000..ee085c256d35 --- /dev/null +++ b/graphics/dia/files/patch-lib::charconv.c @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- lib/charconv.c 2002/06/03 07:54:31 1.1 ++++ lib/charconv.c 2002/06/03 08:10:29 +@@ -98,7 +98,8 @@ + + if ((*charset == NULL) || + (0==strcmp(*charset,"US-ASCII")) || +- (0==strcmp(*charset,"ANSI_X3.4-1968"))) { ++ (0==strcmp(*charset,"ANSI_X3.4-1968")) || ++ (**charset == '\0')) { + /* we got basic stupid ASCII here. We use its sane + superset instead. Especially since libxml2 doesn't like + the pedantic name of ASCII. */ |