summaryrefslogtreecommitdiff
path: root/multimedia/mplayer/files/patch-cpudetect.h
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-04-07 16:18:16 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-04-07 16:18:16 +0000
commitc054f87cedeaeee749d7faa6a2ba19b46e732b1a (patch)
tree13c99472ab44b41b7f8d22eb9b2b860b6f670f76 /multimedia/mplayer/files/patch-cpudetect.h
parentUpdate modules: proc-1.080-1, updown-1.080-1. (diff)
Fixe a bug in detecting p4 types correctly which could cause
mplayer to crash. PR: ports/50673 Submitted by: Thomas E. Zander <riggs@rrr.de> (maintainer) Suggested by: Matthew Emmerton <matt@gsicomp.on.ca>
Notes
Notes: svn path=/head/; revision=78526
Diffstat (limited to 'multimedia/mplayer/files/patch-cpudetect.h')
-rw-r--r--multimedia/mplayer/files/patch-cpudetect.h11
1 files changed, 11 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;