php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58881 Won't build with imagemagick version > 6.4.3 and < 6.5.0
Submitted: 2009-10-06 14:07 UTC Modified: 2009-10-06 14:18 UTC
From: arnold at adaniels dot nl Assigned:
Status: Duplicate Package: imagick (PECL)
PHP Version: 5.3.0RC4 OS: Ubuntu Jaunty
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 + 40 = ?
Subscribe to this entry?

 
 [2009-10-06 14:07 UTC] arnold at adaniels dot nl
Description:
------------
CosineEvaluateOperator, SineEvaluateOperator and AddModulusEvaluateOperator are not defined before v6.5.0. The ifdef check > 6.4.3, therefor building fails.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-06 14:08 UTC] arnold at adaniels dot nl
--- build-tree/imagick-2.3.0/imagick_helpers.c	2009-10-06 17:59:33.000000000 +0000
+++ build-tree/imagick-2.3.0/imagick_helpers.c.orig	2009-10-06 18:00:17.000000000 +0000
@@ -907,8 +907,6 @@
 	IMAGICK_REGISTER_CONST_LONG("EVALUATE_MULTIPLICATIVENOISE", MultiplicativeNoiseEvaluateOperator);
 	IMAGICK_REGISTER_CONST_LONG("EVALUATE_POISSONNOISE", PoissonNoiseEvaluateOperator);
 	IMAGICK_REGISTER_CONST_LONG("EVALUATE_UNIFORMNOISE", UniformNoiseEvaluateOperator);
-#endif
-#if MagickLibVersion >= 0x650
 	IMAGICK_REGISTER_CONST_LONG("EVALUATE_COSINE", CosineEvaluateOperator);
 	IMAGICK_REGISTER_CONST_LONG("EVALUATE_SINE", SineEvaluateOperator);
 	IMAGICK_REGISTER_CONST_LONG("EVALUATE_ADDMODULUS", AddModulusEvaluateOperator);
 [2009-10-06 14:18 UTC] mkoppanen@php.net
I think this is fixed in trunk already.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 22:01:28 2024 UTC