Bug 249504 - Add alpha to 64 bit arches - ImageMagick
Summary: Add alpha to 64 bit arches - ImageMagick
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ImageMagick
Version: rawhide
Hardware: alpha
OS: Linux
low
low
Target Milestone: ---
Assignee: Norm Murray
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-25 09:20 UTC by Oliver Falk
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version: ImageMagick-6.3.5.9-1.fc8
Clone Of:
Environment:
Last Closed: 2007-09-24 00:33:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Oliver Falk 2007-07-25 09:20:29 UTC
Index: ImageMagick.spec
===================================================================
RCS file: /cvs/pkgs/devel/ImageMagick/ImageMagick.spec,v
retrieving revision 1.70
diff -u -p -r1.70 ImageMagick.spec
--- ImageMagick.spec    5 Apr 2007 12:18:29 -0000       1.70
+++ ImageMagick.spec    25 Jul 2007 09:18:17 -0000
@@ -178,7 +178,7 @@ rm -f  $RPM_BUILD_ROOT%{_libdir}/ImageMa
 rm -f  $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
 
 # fix multilib issues
-%ifarch x86_64 s390x ia64 ppc64
+%ifarch x86_64 s390x ia64 ppc64 alpha
 %define wordsize 64
 %else
 %define wordsize 32

This patch is untested, but it should work fine.


Else it would build the following:
[oliver@gosa ImageMagick]$ rpm -ql ImageMagick-devel|grep magick-config
/usr/include/magick/magick-config-32.h
/usr/include/magick/magick-config.h

But magick-config.h will include magick-config-64.h, since it checks for the
wordsize...

Comment 1 Norm Murray 2007-09-24 00:33:43 UTC
Added in ImageMagick-6.3.5.9-1.fc8


Note You need to log in before you can comment on or make changes to this bug.