diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-03-15 00:51:03 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-03-15 00:51:03 +0000 |
commit | 3747d3dd21793e252e049bdacf06f28e49c4dbdb (patch) | |
tree | 8e28c30965b2bc514d7155655754ea8495cb821c /media-tv/tvtime/files | |
parent | remove ${D} for new eclass. (diff) | |
download | gentoo-2-3747d3dd21793e252e049bdacf06f28e49c4dbdb.tar.gz gentoo-2-3747d3dd21793e252e049bdacf06f28e49c4dbdb.tar.bz2 gentoo-2-3747d3dd21793e252e049bdacf06f28e49c4dbdb.zip |
Fix PIC handling on AMD64 systems when PIE is enabled, bug #122437. Many thanks to Chris White for helping testing.
(Portage version: 2.1_pre6-r2)
Diffstat (limited to 'media-tv/tvtime/files')
-rw-r--r-- | media-tv/tvtime/files/tvtime-pic.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media-tv/tvtime/files/tvtime-pic.patch b/media-tv/tvtime/files/tvtime-pic.patch index ec3779a87bbf..00b040e60af9 100644 --- a/media-tv/tvtime/files/tvtime-pic.patch +++ b/media-tv/tvtime/files/tvtime-pic.patch @@ -5,7 +5,7 @@ uint32_t caps; -#ifndef PIC -+#if !defined(PIC) && !defined(__PIC__) ++#if !defined(__PIC__) || defined(__x86_64__) #define cpuid(op,eax,ebx,ecx,edx) \ __asm__ ("cpuid" \ : "=a" (eax), \ |