summaryrefslogtreecommitdiff
path: root/media-libs/gavl/files/1.4.0-x32.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /media-libs/gavl/files/1.4.0-x32.patch
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'media-libs/gavl/files/1.4.0-x32.patch')
-rw-r--r--media-libs/gavl/files/1.4.0-x32.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/media-libs/gavl/files/1.4.0-x32.patch b/media-libs/gavl/files/1.4.0-x32.patch
new file mode 100644
index 000000000000..5c742779cdbb
--- /dev/null
+++ b/media-libs/gavl/files/1.4.0-x32.patch
@@ -0,0 +1,29 @@
+------------------------------------------------------------------------
+r4209 | gmerlin | 2014-06-02 16:38:33 +0200 (Mon, 02 Jun 2014) | 2 lines
+
+* Compilation fix
+
+
+Index: gavl/cputest.c
+===================================================================
+--- a/gavl/cputest.c (revision 4208)
++++ b/gavl/cputest.c (revision 4209)
+@@ -69,6 +69,8 @@
+ int rval = 0;
+ int eax, ebx, ecx, edx;
+ int max_std_level, max_ext_level, std_caps=0, ext_caps=0;
++
++#ifndef ARCH_X86_64
+ long a, c;
+
+ __asm__ __volatile__ (
+@@ -94,6 +96,7 @@
+
+ if (a == c)
+ return 0; /* CPUID not supported */
++#endif // !ARCH_X86_64
+
+ cpuid(0, max_std_level, ebx, ecx, edx);
+
+
+------------------------------------------------------------------------