Commits

Marcus Calhoun-Lopez authored 2973d4df9d7
openexr: attempt to fix Leopard i386 error reported in https://trac.macports.org/ticket/51470

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@149026 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

graphics/openexr/files/patch-pic.diff

Added
1 +--- IlmImf/ImfSystemSpecific.cpp.orig 2014-08-09 21:23:57.000000000 -0700
2 ++++ IlmImf/ImfSystemSpecific.cpp 2016-05-24 05:49:44.000000000 -0700
3 +@@ -45,8 +45,10 @@
4 + void cpuid(int n, int &eax, int &ebx, int &ecx, int &edx)
5 + {
6 + __asm__ __volatile__ (
7 +- "cpuid"
8 +- : /* Output */ "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx)
9 ++ "mov %%ebx, %%edi\n"
10 ++ "cpuid\n"
11 ++ "xchg %%edi, %%ebx"
12 ++ : /* Output */ "=a"(eax), "=D"(ebx), "=c"(ecx), "=d"(edx)
13 + : /* Input */ "a"(n)
14 + : /* Clobber */);
15 + }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut