📄 crosstool-0.38_patches_glibc-2.3.6_glibc-2.3.4-allow-gcc-4.0-iconvdata.patch
字号:
--- crosstool-0.38-orig/patches/glibc-2.3.6/glibc-2.3.4-allow-gcc-4.0-iconvdata.patch 1970-01-01 01:00:00.000000000 +0100+++ crosstool-0.38/patches/glibc-2.3.6/glibc-2.3.4-allow-gcc-4.0-iconvdata.patch 2006-01-16 08:16:12.000000000 +0100@@ -0,0 +1,30 @@+See http://sources.redhat.com/ml/libc-hacker/2005-02/msg00000.html+and http://www.mail-archive.com/pld-cvs-commit@pld-linux.org/msg00229.html++Fixes+ In file included from jis0208.c:23:+ jis0208.h:32: error: array type has incomplete element type+when building glibc with gcc-4.0+The bug has been present since at least glibc-2.2.5.+This patch applies cleanly to glibc-2.3.4++Index: glibc-2.3.6/iconvdata/jis0208.h+===================================================================+--- glibc-2.3.6.orig/iconvdata/jis0208.h++++ glibc-2.3.6/iconvdata/jis0208.h+@@ -42,6 +42,15 @@ extern const struct jisx0208_ucs_idx __j+ extern const char __jisx0208_from_ucs_tab[][2];+ + ++/* Conversion table. */++extern const uint16_t __jis0208_to_ucs[];++++extern const char __jisx0208_from_ucs4_lat1[256][2];++extern const char __jisx0208_from_ucs4_greek[0xc1][2];++extern const struct jisx0208_ucs_idx __jisx0208_from_ucs_idx[];++extern const char __jisx0208_from_ucs_tab[][2];+++++ static inline uint32_t+ __attribute ((always_inline))+ jisx0208_to_ucs4 (const unsigned char **s, size_t avail, unsigned char offset)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -