From owner-cvs-ports@FreeBSD.ORG Fri Nov 2 12:42:09 2007 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 558A016A417; Fri, 2 Nov 2007 12:42:09 +0000 (UTC) (envelope-from mi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4807413C49D; Fri, 2 Nov 2007 12:42:09 +0000 (UTC) (envelope-from mi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2Cg88l022402; Fri, 2 Nov 2007 12:42:08 GMT (envelope-from mi@repoman.freebsd.org) Received: (from mi@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2Cg8uJ022399; Fri, 2 Nov 2007 12:42:08 GMT (envelope-from mi) Message-Id: <200711021242.lA2Cg8uJ022399@repoman.freebsd.org> From: Mikhail Teterin Date: Fri, 2 Nov 2007 12:42:08 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/graphics/libfpx Makefile distinfo pkg-plist ports/graphics/libfpx/files Makefile.bsd X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 02 Nov 2007 12:42:09 -0000 mi 2007-11-02 12:42:07 UTC FreeBSD ports repository Modified files: graphics/libfpx Makefile distinfo pkg-plist graphics/libfpx/files Makefile.bsd Log: Add a mega-patch, which makes the library usable. It barely worked on even i386 before, and does not anymore, as its numerous original bugs were exposed by the evolving compiler. It never worked on a 64-bit platform, as the original authors assumed sizeof(long) to be 4. With this patch it compiles cleanly (WARNS=3) on both i386 and amd64 and should have no problems on other 64-bit systems. A corrupt input-file may still result in a crash, but, at least, it works correctly with correct input files. Tested on camera-generated originals kindly provided by the originator of the PR below. Bump PORTREVISION. Approved by: portmgr (pav, after some deliberations) Portmgr advised against bumping the SHLIB_MAJOR. They did not /insist/ so I chose to bump it -- the old version is too broken to have been usable to anybody for years, and the dependant ports (such as Graphics and ImageMagicks) need an easy way to insist on the new version (via LIB_DEPENDS). Was required to fix: 67815 Revision Changes Path 1.22 +12 -2 ports/graphics/libfpx/Makefile 1.12 +3 -0 ports/graphics/libfpx/distinfo 1.15 +3 -2 ports/graphics/libfpx/files/Makefile.bsd 1.3 +1 -1 ports/graphics/libfpx/pkg-plist