pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44236
The following reply was made to PR pkg/44236; it has been noted by GNATS.
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/44236
Date: Tue, 04 Jan 2011 09:26:48 +0100
This bug is not only related to gcc44. I get the same error with lang/gcc34.
And I think it would be much better if ImageMagick would work around
this bug. As far as I understand the thread on gcc.gnu.org, complex
arithmetic is not standardized anyway.
As a workaround, this patch
--- Makefile 2011/01/04 07:56:21 1.1
+++ Makefile 2011/01/04 07:56:38
@@ -19,6 +19,7 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-assert
CONFIGURE_ARGS+= --with-fontconfig
+CONFIGURE_ARGS+= --without-fftw
PKGCONFIG_OVERRIDE= Magick++/lib/ImageMagick++.pc.in
PKGCONFIG_OVERRIDE+= magick/ImageMagick.pc.in
seems to exclude the problematic code. Maybe there is a more
fine-grained check in configure, but I prefer this to meddling around
with GCC header files. The above patch has to be enclosed in reasonable
conditionals, of course.
--
Jörn Clausen
joern.clausen%uni-bielefeld.de@localhost
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
Home |
Main Index |
Thread Index |
Old Index