summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Hale <tseng@gentoo.org>2004-02-01 07:03:15 +0000
committerBrandon Hale <tseng@gentoo.org>2004-02-01 07:03:15 +0000
commit174dd502b34d7fdaa85dbffe4c0eedf90597b8a9 (patch)
tree1a17d87ded1aae4f61621f69dc98b69ae5206228 /media-gfx/gimp/files
parentinitial commit (diff)
downloadhistorical-174dd502b34d7fdaa85dbffe4c0eedf90597b8a9.tar.gz
historical-174dd502b34d7fdaa85dbffe4c0eedf90597b8a9.tar.bz2
historical-174dd502b34d7fdaa85dbffe4c0eedf90597b8a9.zip
Small fix to gimp-2.0_pre2-cpuaccel-pic.patch for amd64.
Diffstat (limited to 'media-gfx/gimp/files')
-rw-r--r--media-gfx/gimp/files/gimp-2.0_pre2-cpuaccel-pic.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/media-gfx/gimp/files/gimp-2.0_pre2-cpuaccel-pic.patch b/media-gfx/gimp/files/gimp-2.0_pre2-cpuaccel-pic.patch
index 3aa96bd839ed..b1bc32c04ed3 100644
--- a/media-gfx/gimp/files/gimp-2.0_pre2-cpuaccel-pic.patch
+++ b/media-gfx/gimp/files/gimp-2.0_pre2-cpuaccel-pic.patch
@@ -24,7 +24,7 @@
- "=c" (ecx), \
- "=d" (edx) \
- : "0" (op))
-+#if !defined(ARCH_X86_64) && defined(PIC)
++#if !defined(ARCH_X86_64) && (defined(__PIC__) || defined(__pic__) || defined(PIC))
+#define cpuid(op,eax,ebx,ecx,edx) \
+ __asm__ ("movl %%ebx, %%esi\n\t" \
+ "cpuid\n\t" \