A patch for libXpm.a

Kate Feng feng1 at bnl.gov
Thu Aug 5 06:47:47 PDT 2010


Alan Coopersmith wrote:
> 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
>   
The attached file is the patch for this new version.  I hope this helps.

Thanks,
Kate
>   
>> 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.
>
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libXpm-3.5.8_src_create.c.diff
Type: text/x-patch
Size: 1157 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20100805/30a1b801/attachment.bin>


More information about the xorg mailing list