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
 [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

Pull Requests

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: Sat Dec 21 12:01:31 2024 UTC