summaryrefslogtreecommitdiff
path: root/multimedia/mplayer/files
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayer/files')
-rw-r--r--multimedia/mplayer/files/patch-cpudetect.h11
-rw-r--r--multimedia/mplayer/files/patch-loader-win32.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/multimedia/mplayer/files/patch-cpudetect.h b/multimedia/mplayer/files/patch-cpudetect.h
new file mode 100644
index 000000000000..9b77619c8aac
--- /dev/null
+++ b/multimedia/mplayer/files/patch-cpudetect.h
@@ -0,0 +1,11 @@
+--- cpudetect.h.orig Sun Apr 6 01:28:52 2003
++++ cpudetect.h Sun Apr 6 01:29:06 2003
+@@ -5,6 +5,8 @@
+ #define CPUTYPE_I486 4
+ #define CPUTYPE_I586 5
+ #define CPUTYPE_I686 6
++#define CPUTYPE_I686_7 7
++#define CPUTYPE_I686_8 8
+
+ typedef struct cpucaps_s {
+ int cpuType;
diff --git a/multimedia/mplayer/files/patch-loader-win32.c b/multimedia/mplayer/files/patch-loader-win32.c
new file mode 100644
index 000000000000..a56f36d3fab8
--- /dev/null
+++ b/multimedia/mplayer/files/patch-loader-win32.c
@@ -0,0 +1,11 @@
+--- loader/win32.c.orig Sun Apr 6 01:29:17 2003
++++ loader/win32.c Sun Apr 6 01:29:30 2003
+@@ -931,6 +931,8 @@
+
+ switch(gCpuCaps.cpuType)
+ {
++ case CPUTYPE_I686_8:
++ case CPUTYPE_I686_7:
+ case CPUTYPE_I686:
+ case CPUTYPE_I586:
+ cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM;