From owner-cvs-ports@FreeBSD.ORG Wed Oct 13 08:26:50 2004 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 429E216A4CE; Wed, 13 Oct 2004 08:26:50 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3255D43D5A; Wed, 13 Oct 2004 08:26:50 +0000 (GMT) (envelope-from arved@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9D8Qoab082310; Wed, 13 Oct 2004 08:26:50 GMT (envelope-from arved@repoman.freebsd.org) Received: (from arved@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9D8Qo0S082309; Wed, 13 Oct 2004 08:26:50 GMT (envelope-from arved) Message-Id: <200410130826.i9D8Qo0S082309@repoman.freebsd.org> From: Tilman Linneweh Date: Wed, 13 Oct 2004 08:26:50 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/devel/tvision Makefile ports/devel/tvision/files patch-ncurses-mouse patch-streambyteorder patch-tfiledialog patch-uchar X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 08:26:50 -0000 arved 2004-10-13 08:26:50 UTC FreeBSD ports repository Modified files: devel/tvision Makefile Added files: devel/tvision/files patch-ncurses-mouse patch-streambyteorder patch-tfiledialog patch-uchar Log: First round of patches from Erling Jacobsen: * ntohs() won't work, because it converts from bigendian to native byteorder, and the format used in TVision streams is littleendian. Conversion must be done explicitly, by calling readByte() several times, in consecutive statements ! *This enables ncurses mouse support, which was broken (it seemed to depend on gpm in an unhealthy way). *Un*x filenames can easily contain spaces ... Don't trim the filename. *Avoid possible problems with signed/unsigned char comparisons. And functions like toupper must be called with an unsigned char. PR: 71544 Submitted by: Erling Jacobsen Set maintainer back to ports, as libh is now officially a dead project Compile with GCC 3.4 Bump PORTREVISION Revision Changes Path 1.35 +3 -3 ports/devel/tvision/Makefile 1.1 +112 -0 ports/devel/tvision/files/patch-ncurses-mouse (new) 1.1 +41 -0 ports/devel/tvision/files/patch-streambyteorder (new) 1.1 +43 -0 ports/devel/tvision/files/patch-tfiledialog (new) 1.1 +161 -0 ports/devel/tvision/files/patch-uchar (new)