this patch fix bug 1132022
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: xiao sheng wen <[email protected]> Date: 3月, 29 2026 13:05:45 +0800 Subject: [PATCH] <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. Bug-Debian: https://bugs.debian.org/1098189 --- The information above should follow the Patch Tagging Guidelines, please checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>) Bug: <upstream-bugtracker-url> Bug-<Vendor>: <vendor-bugtracker-url> Forwarded: (no|not-needed|<patch-forwarded-url>) Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>) Reviewed-By: <name and email of someone who approved/reviewed the patch> --- yiyantang-0.7.0.orig/src/zhinit.c +++ yiyantang-0.7.0/src/zhinit.c @@ -24,7 +24,7 @@ * */ #include <hz.h> - +#include <stddef.h> #include "zhinit.h" enum zhinitcode @@ -43,17 +43,17 @@ void _initgb () { if (!init_stat[HZGB]) { - hz2gb_init (); + hz2gb_init (NULL); init_stat[HZGB] = 1; } if (!init_stat[BIG5GB]) { - big2gb_init (); + big2gb_init (NULL); init_stat[BIG5GB] = 1; } if (!init_stat[UNIGB]) { - uni2gb_init (); + uni2gb_init (NULL); init_stat[UNIGB] = 1; } } @@ -62,12 +62,12 @@ void _initbig () { if (!init_stat[GBBIG5]) { - gb2big_init (); + gb2big_init (NULL); init_stat[GBBIG5] = 1; } if (!init_stat[UNIBIG5]) { - uni2big_init (); + uni2big_init (NULL); init_stat[UNIBIG5] = 1; } } @@ -76,7 +76,7 @@ void _inithz () { if (!init_stat[GBHZ]) { - gb2hz_init (); + gb2hz_init (NULL); init_stat[GBHZ] = 1; } } @@ -85,22 +85,22 @@ void _inituni () { if (!init_stat[GBUNI]) { - gb2uni_init (); + gb2uni_init (NULL); init_stat[GBHZ] = 1; } if (!init_stat[BIG5UNI]) { - big2uni_init (); + big2uni_init (NULL); init_stat[BIG5UNI] = 1; } if (!init_stat[UTF7UNI]) { - utf7_uni_init (); + utf7_uni_init (NULL); init_stat[UTF7UNI] = 1; } if (!init_stat[UTF8UNI]) { - utf8_uni_init (); + utf8_uni_init (NULL); init_stat[UTF8UNI] = 1; } } @@ -109,7 +109,7 @@ void _initutf7 () { if (!init_stat[UNIUTF7]) { - uni_utf7_init (); + uni_utf7_init (NULL); init_stat[UNIUTF7] = 1; } } @@ -118,7 +118,7 @@ void _initutf8 () { if (!init_stat[UNIUTF8]) { - uni_utf8_init (); + uni_utf8_init (NULL); init_stat[UNIUTF8] = 1; } }

