freebsd-ports/audio/openal/files/patch-src-arch-i386-memcpy_mmx_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
353 B
NASM

--- src/arch/i386/memcpy_mmx_prk.nasm.orig 2005-12-17 15:50:39.000000000 +0300
+++ src/arch/i386/memcpy_mmx_prk.nasm 2009-03-16 17:20:23.000000000 +0300
@@ -22,6 +22,7 @@
; pretty straight-forward implementation
; by design broken for n<8, so check that before calling
; x86 32 bit only!
+[Section .text]
global __alMMXmemcpy
global _alMMXmemcpy