Fix this for ports where char is unsigned by making ch an int. Pointed out by Matthias Pfaller.
The left out parts (which have not been installed by ISDN4BSD on NetBSD anyway), may be added as pkgs later (if demand exists).