From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 9 00:20:09 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CEBB1065673 for ; Mon, 9 Jan 2012 00:20:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0245C8FC18 for ; Mon, 9 Jan 2012 00:20:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q090K8fd012945 for ; Mon, 9 Jan 2012 00:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q090K8RM012944; Mon, 9 Jan 2012 00:20:08 GMT (envelope-from gnats) Resent-Date: Mon, 9 Jan 2012 00:20:08 GMT Resent-Message-Id: <201201090020.q090K8RM012944@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Matthew D.Fuller" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FBC11065676 for ; Mon, 9 Jan 2012 00:10:39 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from thyme.infocus-llc.com (server.infocus-llc.com [206.156.254.44]) by mx1.freebsd.org (Postfix) with ESMTP id DABFE8FC1F for ; Mon, 9 Jan 2012 00:10:35 +0000 (UTC) Received: from draco.over-yonder.net (c-174-50-4-38.hsd1.ms.comcast.net [174.50.4.38]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by thyme.infocus-llc.com (Postfix) with ESMTPSA id 9324537B544 for ; Sun, 8 Jan 2012 18:10:34 -0600 (CST) Received: by draco.over-yonder.net (Postfix, from userid 100) id 192E6177E7; Sun, 8 Jan 2012 18:10:34 -0600 (CST) Message-Id: <20120109001034.192E6177E7@draco.over-yonder.net> Date: Sun, 8 Jan 2012 18:10:34 -0600 (CST) From: "Matthew D.Fuller" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/163939: [MAINTAINER] x11-wm/ctwm: Patch potential amd64 issue X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Matthew D.Fuller" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2012 00:20:09 -0000 >Number: 163939 >Category: ports >Synopsis: [MAINTAINER] x11-wm/ctwm: Patch potential amd64 issue >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jan 09 00:20:08 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Matthew D. Fuller >Release: FreeBSD 9.0-RC1 i386 >Organization: >Environment: System: FreeBSD draco.over-yonder.net 9.0-RC1 FreeBSD 9.0-RC1 #0 r227108M: Sat Nov 5 09:06:02 CDT 2011 root@draco.over-yonder.net:/bsd/obj/bsd/src/sys/DRACO i386 >Description: Part of the JPEG loading code assumes long is 32 bit, which isn't true on amd64 (and potentially other platforms). To be addressed upstream, but this fixes it locally for now. >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /draco/cvs/ports/x11-wm/ctwm/Makefile,v retrieving revision 1.52 diff -u -r1.52 Makefile --- Makefile 7 Jan 2012 19:26:58 -0000 1.52 +++ Makefile 8 Jan 2012 17:24:13 -0000 @@ -7,6 +7,7 @@ PORTNAME= ctwm PORTVERSION= 3.8.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= x11-wm MASTER_SITES= http://ctwm.free.lp.se/dist/ \ Index: files/patch-util.c =================================================================== RCS file: files/patch-util.c diff -N files/patch-util.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-util.c 8 Jan 2012 22:52:06 -0000 @@ -0,0 +1,11 @@ +--- util.c.orig 2012-01-08 16:51:48.245308175 -0600 ++++ util.c 2012-01-08 16:51:52.168309618 -0600 +@@ -3941,7 +3941,7 @@ + #ifdef JPEG + + unsigned short int *buffer_16bpp; +-long *buffer_32bpp; ++uint32_t *buffer_32bpp; + + static void convert_for_16 (int w, int x, int y, int r, int g, int b) { + buffer_16bpp [y * w + x] = ((r >> 3) << 11) + ((g >> 2) << 5) + (b >> 3); >Release-Note: >Audit-Trail: >Unformatted: