[Freeciv-Dev] [bug #18527] ImageMagick - different types used

2011-08-30 Thread Matthias Pfafferodt

Update of bug #18527 (project freeciv):

  Status:  Ready For Test => Fixed  
 Assigned to:None => syntron
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18527] ImageMagick - different types used

2011-08-28 Thread Matthias Pfafferodt

Update of bug #18527 (project freeciv):

  Status:None => Ready For Test 

___

Follow-up Comment #5:

fix compiling of imagemagick

Some magick for ImageMagick - the interface has changed:
 ImageMagick-6.6.2-0: PixelGetNextIteratorRow(...,unsigned long *)
 ImageMagick-6.6.2-1: PixelGetNextIteratorRow(...,size_t *)
Theoretically, "unsigned long" and "size_t" are pretty much the same but in
practice the compiler will complain bitterly.
(from Gem-0.93 ImageMAGICK plugin)

(file #13982)
___

Additional Item Attachment:

File name: 0001-fix-compiling-of-imagemagick.patch Size:2 KB


___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18527] ImageMagick - different types used

2011-08-21 Thread Matthias Pfafferodt

Follow-up Comment #4, bug #18527 (project freeciv):

do you have a 32bit or a 64bit system? On 64bit there is no problem but on
32bit unsigned long int != size_t.

___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18527] ImageMagick - different types used

2011-08-21 Thread Jordi Negrevernis i Font

Follow-up Comment #3, bug #18527 (project freeciv):

I have version 6.6.5.8-7.3...

Maybe they've applied some patches...



___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18527] ImageMagick - different types used

2011-08-21 Thread Matthias Pfafferodt

Follow-up Comment #2, bug #18527 (project freeciv):

ok so it must be something else - perhaps I have a different version of
ImageMagick on the build server?

___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18527] ImageMagick - different types used

2011-08-21 Thread Jordi Negrevernis i Font

Follow-up Comment #1, bug #18527 (project freeciv):

I could compile in OpenSuse 11.4 and I don't get that error...


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18527] ImageMagick - different types used

2011-08-20 Thread Matthias Pfafferodt

URL:
  

 Summary: ImageMagick - different types used 
 Project: Freeciv
Submitted by: syntron
Submitted on: Sa 20 Aug 2011 22:25:28 CEST
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: S2_4 svn20166
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.4.0

___

Details:

In mapimg.c MagickWand is used to create an image of the map. Between version
6.6.1.0 and 6.6.5.8 the format of some functions were changed. The type of an
argument changed from 'long unsigned int' to 'size_t'
(PixelGetCurrentIteratorRow() in
/usr/include/ImageMagick/wand/pixel-iterator.h). This results in an
compilation error on some systems. I did get the following error on the open
suse build server:


mapimg.c: In function 'img_save_magickwand':
 mapimg.c:2067:9: error: passing argument 2 of 'PixelGetNextIteratorRow' from
incompatible pointer type
 /usr/include/ImageMagick/wand/pixel-iterator.h:52:5: note: expected 'size_t
*' but argument is of type 'long unsigned int *'
 mapimg.c:2087:7: error: passing argument 2 of 'PixelGetNextIteratorRow' from
incompatible pointer type
 /usr/include/ImageMagick/wand/pixel-iterator.h:52:5: note: expected 'size_t
*' but argument is of type 'long unsigned int *'
 mapimg.c:2151:7: error: passing argument 2 of 'PixelGetNextIteratorRow' from
incompatible pointer type
 /usr/include/ImageMagick/wand/pixel-iterator.h:52:5: note: expected 'size_t
*' but argument is of type 'long unsigned int *'


At the moment I do not have an installation of opensuse 11.4 to test it on my
own computer.




___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev