pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/35521: graphics/imlib2 cannot be compiled on MacOSX/Intel



>Number:         35521
>Category:       pkg
>Synopsis:       graphics/imlib2 cannot be compiled on MacOSX/Intel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 30 15:05:00 +0000 2007
>Originator:     Naoto
>Release:        
>Organization:
Morishima
>Environment:
Darwin xxx 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; 
root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386

>Description:
graphics/imlib2 cannot be compiled on MacOSX/Intel.
>How-To-Repeat:
Compile graphics/imlib2 on MacOSX/Intel.
>Fix:
imlib2 tries to use MMX on i386, but provided assembler codes do not fit to 
Mach-O.
There seems to be 2 ways to fix this: 

1) Add --disable-mmx in Makefile or whatever when platform is Darwin/i386.
2) Fix configure from imlib2 to disable MMX when platform is Darwin/i386.

The former approach seems to be unessential, so the following patch is for 2nd
approach.

--- configure.in.orig   2007-01-15 14:59:39.000000000 +0900
+++ configure.in        2007-01-15 14:59:52.000000000 +0900
@@ -116,6 +116,7 @@
 
 case $host_os in
   solaris*) mmx="no";;
+  darwin*) mmx="no";;
 esac
 
 dnl 
--- configure.orig      2007-01-15 15:01:34.000000000 +0900
+++ configure   2007-01-15 15:01:45.000000000 +0900
@@ -21224,6 +21224,7 @@
 
 case $host_os in
   solaris*) mmx="no";;
+  darwin*) mmx="no";;
 esac
 
 # Check whether --enable-mmx was given.




Home | Main Index | Thread Index | Old Index