[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11558: 24.1.50; Image Magick related build failure on bzr revision 1
bug#11558: 24.1.50; Image Magick related build failure on bzr revision 108365
Fri, 13 Jul 2012 14:21:42 +0200
I installed the patch, lets see if it fails on some version :-).
13 jul 2012 kl. 09:03 skrev Tassilo Horn:
> Jan Djärv <address@hidden> writes:
>>> I got the build to complete by introducing the following change:
>>> --- src/image.c 2012-07-09 12:02:27 +0000
>>> +++ src/image.c 2012-07-11 19:59:24 +0000
>>> @@ -7968,7 +7968,9 @@
>>> Lisp_Object typelist = Qnil;
>>> size_t numf = 0;
>>> ExceptionInfo ex;
>>> + GetExceptionInfo(&ex);
>>> char **imtypes = GetMagickList ("*", &numf, &ex);
>>> + DestroyExceptionInfo(&ex);
>>> size_t i;
>>> Lisp_Object Qimagemagicktype;
>>> for (i = 0; i < numf; i++)
>>> The generated emacs-binary at least appears to function properly. I
>>> tested this with the following versions:
>>> emacs: bzr:109033
>>> gcc: 4.7.1
>>> ImageMagick: 6.7.8-1
>> I see this too. Can it be that GetExceptionInfo/DestroyExceptionInfo
>> is version dependent and we need a configure check for them? People
>> have run Emacs with Imagemagic without this.
> I build and run emacs with imagemagick support just fine. The IM
> version is 126.96.36.199, so it might be a version difference between 6.7.7
> and 6.7.8.
> I also tried building and running with the above patch, and it doesn't
> seem to cause any harm.