ports/66074: [PATCH] x11/wmcliphist: code cleanup for 64-bit platform sparc64

[ Available lists | Index of freebsd-ports-bugs | Month of Apr 2004 | Week of 28 Apr 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Andrew Belashov <bel@orel.ru>
Date
28 Apr 2004 23:10:26
Subject
ports/66074: [PATCH] x11/wmcliphist: code cleanup for 64-bit platform sparc64
Message-ID
200404290603.i3T63cnX028763@www.freebsd.org


[ Hide this part ]
 
>Number: 66074
>Category: ports
>Synopsis: [PATCH] x11/wmcliphist: code cleanup for 64-bit platform sparc64
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 28 23:10:18 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Andrew Belashov
>Release: FreeBSD 5.2-CURRENT sparc64
>Organization:
JSC "CenterTelecom"
>Environment:
FreeBSD bel.localdomain 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Thu Apr 8 16:58:57 MSD 2004 bel@bel.localdomain:/usr/obj/usr/src/sys/NOSMP sparc64
Kernel build without SMP option for stability!
>Description:
wmcliphist does not save/load clipboard history to/from file $HOME/.wmcliphist.data
Reason: wmcliphist store length of objects in 32-bit variable, but size_t is 64-bit.
>How-To-Repeat:
Build port and run wmcliphist. Copy any value to clipboard and exit. Then run wmcliphist again. wmcliphist exiting with error message "cannot load history".
>Fix:
Apply this patch <http://www.orel.ru/~bel/patches/wmcliphist.patch
>Release-Note:
>Audit-Trail:
>Unformatted:


Elapsed time: 0.069 seconds