Rong-en Fan wrote:> Hi folks,
>
> ncurses in 6.x is pretty old. We have update-to-date ncurses in 7.x
> with wide character support now. The patch at
>
>
http://people.freebsd.org/~rafan/ncurses/ncursesw-5.6-all-fbsd6-20070310.diff.gz
>
>
> gives you ncurses 5.6 and wide character support in 6.x. Please
> apply with 'patch -p0' under /usr/src.
>
> For more information, please visit
>
> http://people.freebsd.org/~rafan/ncurses/
>
> You can also find individual patches, say ncurses update and wide
> character support, there.
>
> Feedbacks and suggestions are welcome.
>
> P.S. Due to some lib32 issues, the patch above contains changes
> made by ru@ recently for src/Makefile.inc1.
make installworld failed:
cd /usr/src; /usr/obj/usr/src/make.amd64/make -f Makefile.inc1 install32
mkdir -p /usr/lib32 # XXX add to mtree
cd /usr/src/lib; MAKEOBJDIRPREFIX=/usr/obj/lib32
_SHLIBDIRPREFIX=/usr/obj/usr/src/lib32 MACHINE=i386 MACHINE_ARCH=i386
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.74joOgie
CC="cc -m32 -march=k8 -mfancy-math-387 -DCOMPAT_32BIT -iprefix
/usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32
-B/usr/obj/usr/src/lib32/usr/lib32" CXX="c++ -m32 -march=k8
-mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/
-L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32"
OBJC="cc -m32 -march=k8 -mfancy-math-387 -DCOMPAT_32BIT -iprefix
/usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32
-B/usr/obj/usr/src/lib32/usr/lib32" LD="ld -m elf_i386_fbsd -Y
P,/usr/obj/usr/src/lib32/usr/lib32" AS="as --32"
LIBDIR=/usr/lib32
SHLIBDIR=/usr/lib32 /usr/obj/usr/src/make.amd64/make -DNO_CPU_CFLAGS
-DCOMPAT_32BIT -DNO_BIND -DNO_MAN -DNO_NLS -DNO_INFO -DNO_HTML -DNO_INCS
install
===> csu/i386-elf (install)
cc -m32 -march=k8 -mfancy-math-387 -DCOMPAT_32BIT -iprefix
/usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32
-B/usr/obj/usr/src/lib32/usr/lib32 -O2 -fno-strict-aliasing -pipe
-I/usr/src/lib/csu/i386-elf/../common
-I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Werror
-Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c crt1.c
In file included from /usr/obj/usr/src/tmp/usr/include/sys/types.h:44,
from /usr/obj/usr/src/tmp/usr/include/sys/param.h:63,
from /usr/src/lib/csu/i386-elf/../common/crtbrand.c:29,
from crt1.c:36:
/usr/obj/usr/src/tmp/usr/include/machine/endian.h: In function `__bswap64':
/usr/obj/usr/src/tmp/usr/include/machine/endian.h:162: warning: right
shift count >= width of type
/usr/obj/usr/src/tmp/usr/include/machine/endian.h:162: warning: right
shift count >= width of type
/usr/obj/usr/src/tmp/usr/include/machine/endian.h:162: warning: left
shift count >= width of type
/usr/obj/usr/src/tmp/usr/include/machine/endian.h:162: warning: left
shift count >= width of type
/usr/obj/usr/src/tmp/usr/include/machine/endian.h:162: warning: left
shift count >= width of type
/usr/obj/usr/src/tmp/usr/include/machine/endian.h:162: warning: left
shift count >= width of type
/usr/obj/usr/src/tmp/usr/include/machine/endian.h:162: warning: left
shift count >= width of type
FreeBSD hater.cmotd.com 6.2-STABLE FreeBSD 6.2-STABLE #1: Tue Feb 6
18:47:56 EET 2007
root@hater.cmotd.com:/usr/obj/usr/src/sys/CORE64-SMP amd64
I'm rebuilding everything (base&kernels) just to be sure that the
problems does not exist without the patch :)>
> Regards,
> Rong-En Fan
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"
--
Best Wishes,
Stefan Lambrev
ICQ# 24134177