summaryrefslogtreecommitdiff
path: root/multimedia/tvtime/patches/tvtime-pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/tvtime/patches/tvtime-pic.patch')
-rw-r--r--multimedia/tvtime/patches/tvtime-pic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/tvtime/patches/tvtime-pic.patch b/multimedia/tvtime/patches/tvtime-pic.patch
new file mode 100644
index 0000000000..ec3779a87b
--- /dev/null
+++ b/multimedia/tvtime/patches/tvtime-pic.patch
@@ -0,0 +1,11 @@
+--- tvtime/src/cpu_accel.c
++++ tvtime/src/cpu_accel.c
+@@ -35,7 +35,7 @@
+ int AMD;
+ uint32_t caps;
+
+-#ifndef PIC
++#if !defined(PIC) && !defined(__PIC__)
+ #define cpuid(op,eax,ebx,ecx,edx) \
+ __asm__ ("cpuid" \
+ : "=a" (eax), \