[oe] imagemagick-native-6.3.5 compile problems

mail mail mail at april1985.com
Sun Oct 11 16:14:07 UTC 2009


Hi, Holger Hans Peter Freyther
Thank you for your direction. I finished compile it and here is my patch:

--- delegate.c    2007-09-11 11:20:41.000000000 +0800
+++ delegate.c    2009-10-12 00:04:45.000000000 +0800
@@ -769,7 +769,7 @@
   /*
     Copy source file to destination.
   */
-  destination_file=open(destination,O_WRONLY | O_BINARY | O_CREAT);
+  destination_file=open(destination,O_WRONLY | O_BINARY | O_CREAT, 0777);
   if (destination_file == -1)
     return;
   source_file=open(source,O_RDONLY | O_BINARY);

2009/10/11 mail mail <mail at april1985.com>

>
> Ni Hao too, haha.
> How could you know I'm Chinese ^_^
>
> Thanks, I'll check it.
>
> 2009/10/11 Holger Hans Peter Freyther <holger+oe at freyther.de<holger%2Boe at freyther.de>
> >
>
> On Sunday 11 October 2009 16:37:19 mail mail wrote:
>> > Hi, all
>> > I'm compiling x11-sato-image. I chose mini2440 as my machine and
>> angstrom
>> >  as distro.
>>
>> Ni Hao,
>>
>> sorry this is not how it is working. Ask on IRC or google/baidu first.
>>
>>
>> You are using a fortify enabled compiler and the open call lacks a third
>> argument. Just create a patch to change the open call to have the access
>> mode
>> in it as well, send a patch, we will be happy to apply it.
>>
>>
>> z.
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: delegate.patch
Type: application/octet-stream
Size: 418 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20091012/70df5cc7/attachment-0002.obj>


More information about the Openembedded-devel mailing list