openbsd-ports/x11/vlc/patches/patch-loader_win32_c
ajacoutot 7a5f3efd4b - enable x264 support
- add missing xenocara LIBS
- regen patches while here

"go for it" naddy@
2007-04-08 17:34:20 +00:00

13 lines
697 B
Plaintext

$OpenBSD: patch-loader_win32_c,v 1.3 2007/04/08 17:34:20 ajacoutot Exp $
--- loader/win32.c.orig Sat Dec 9 02:12:27 2006
+++ loader/win32.c Sun Apr 8 10:45:29 2007
@@ -1012,7 +1012,7 @@ static void WINAPI expGetSystemInfo(SYSTEM_INFO* si)
/* disable cpuid based detection (mplayer's cpudetect.c does this - see above) */
#ifndef MPLAYER
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__svr4__) || defined(__DragonFly__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__svr4__) || defined(__DragonFly__) || defined(__OpenBSD__)
do_cpuid(1, regs);
switch ((regs[0] >> 8) & 0xf) { // cpu family
case 3: cachedsi.dwProcessorType = PROCESSOR_INTEL_386;