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
commit26210cef9fdb74d0a2471a4cd64c85d65752038f (patch)
treed8f7cb83d76b84b314279f8129941d848ffd6a93 /media-gfx/gimp/files
parentinitial commit (Manifest recommit) (diff)
downloadgentoo-2-26210cef9fdb74d0a2471a4cd64c85d65752038f.tar.gz
gentoo-2-26210cef9fdb74d0a2471a4cd64c85d65752038f.tar.bz2
gentoo-2-26210cef9fdb74d0a2471a4cd64c85d65752038f.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" \