mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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>
This commit is contained in:
parent
65560d6b9d
commit
c054f87ced
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78526
3 changed files with 23 additions and 1 deletions
|
@ -149,7 +149,7 @@
|
||||||
|
|
||||||
PORTNAME= mplayer
|
PORTNAME= mplayer
|
||||||
PORTVERSION= 0.90.0.105
|
PORTVERSION= 0.90.0.105
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= multimedia audio ipv6
|
CATEGORIES= multimedia audio ipv6
|
||||||
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
|
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
|
||||||
http://www2.mplayerhq.hu/MPlayer/releases/ \
|
http://www2.mplayerhq.hu/MPlayer/releases/ \
|
||||||
|
|
11
multimedia/mplayer/files/patch-cpudetect.h
Normal file
11
multimedia/mplayer/files/patch-cpudetect.h
Normal file
|
@ -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;
|
11
multimedia/mplayer/files/patch-loader-win32.c
Normal file
11
multimedia/mplayer/files/patch-loader-win32.c
Normal file
|
@ -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;
|
Loading…
Add table
Reference in a new issue