freebsd-ports/audio/openal/files/patch-src-arch-i386-x86_cpu_caps_detect_prk.nasm
Dmitry Marakasov 4d62d81eae - Improve previous fix:
- add patches by [3] to fix assembly
  - make use of assembly OPTIONal and depend on nasm when it's enabled

PR:		131021 [1], 129362 [2]
Submitted by:	myself [1], "J. Altman <freebsd at chthonic dot com> [2]
Patch by:	Edward Sutton <mirror176 at hotmail dot com> [3]
Approved by:	oliver, maintainer timeout
2009-03-16 22:57:07 +00:00

10 lines
335 B
NASM

--- src/arch/i386/x86_cpu_caps_detect_prk.nasm.orig 2005-12-17 15:50:39.000000000 +0300
+++ src/arch/i386/x86_cpu_caps_detect_prk.nasm 2009-03-16 17:20:50.000000000 +0300
@@ -23,6 +23,7 @@
; using infos from sandpile.org
; returns 0 if no CPUID available
+[Section .text]
global __alDetectx86CPUCaps
global _alDetectx86CPUCaps