Bug 129637 - graphics/autotrace will not compile against current ImageMagick
Summary: graphics/autotrace will not compile against current ImageMagick
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-14 17:20 UTC by russo
Modified: 2008-12-17 10:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description russo 2008-12-14 17:20:00 UTC
The port for autotrace contains a patch (patch-input-magick.c) that patches
autotrace to work with versions of ImageMagick that have four arguments to
GetOnePixel.  This was apparently a temporary change in the API for ImageMagick
that seems to have been reverted in the current ImageMagick port, which now has
GetOnePixel returning a PixelPacket instead of having a fourth argument ---
this is how it was in versions 6.4.4.  As far as I can tell, the GetOnePixel
change lasted less than a month, probably because it broke too many other
codes.

Anyhow, the patch now makes autotrace break when built against the current ImageMagick.

Fix: 

Remove the patch-input-magick.c patch file from the files directory of the port.
How-To-Repeat: Upgrade ImageMagick to the current version (6.4.7.5) and try to install
autotrace.  It will abort compiling input-magick.c, complaining that the
GetOnePixel call has too many arguments.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2008-12-17 10:28:17 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-12-17 10:28:54 UTC
pav         2008-12-17 10:28:40 UTC

  FreeBSD ports repository

  Removed files:
    graphics/autotrace/files patch-input-magick.c 
  Log:
  - Fix build with new ImageMagick
  
  PR:             ports/129637
  Submitted by:   Tom Russo <russo@bogodyn.org>
  
  Revision  Changes    Path
  1.2       +0 -11     ports/graphics/autotrace/files/patch-input-magick.c (dead)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"