A patch for libXpm.a

Alan Coopersmith alan.coopersmith at oracle.com
Tue Aug 3 13:08:22 PDT 2010


Kate Feng wrote:
> To whom it may concern,
> 
> On Thursday, July 22, 2010, I sent a patch for libXpm.a to the list
> http://www.aps.anl.gov/epics/tech-talk/2010/msg00965.php

That message mentions using a libXpm source that's a decade or so out
of date (libXpm 3.4k) - the latest libXpm release is libXpm 3.5.8 from
last year:
http://www.x.org/releases/individual/lib/libXpm-3.5.8.tar.bz2

> diff -u create.c.orig create.c
> 
> --- create.c.orig 1998-03-19 14:51:00.000000000 -0500
> 
> +++ create.c 2010-05-20 09:42:41.000000000 -0400
> 
> @@ -929,8 +929,11 @@
> 
> if (attributes && (attributes->valuemask & XpmReturnAllocPixels)) {
> 
> attributes->alloc_pixels = alloc_pixels;

Your patch got double-spaced by your mailer so won't work - you might
try sending as an attachment if you can't get your mailer to not break it.
(I haven't looked to see if it's correct or not, was just obvious it
 couldn't be used in that format.)

http://www.x.org/wiki/Development/Documentation/SubmittingPatches covers
the preferred ways to send in patches to the mailing list.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System




More information about the xorg mailing list