diff options
Diffstat (limited to 'www/firefox52/patches/patch-media_openmax__dl_dl_api_armCOMM__s.h')
-rw-r--r-- | www/firefox52/patches/patch-media_openmax__dl_dl_api_armCOMM__s.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/www/firefox52/patches/patch-media_openmax__dl_dl_api_armCOMM__s.h b/www/firefox52/patches/patch-media_openmax__dl_dl_api_armCOMM__s.h new file mode 100644 index 00000000000..61b852e20db --- /dev/null +++ b/www/firefox52/patches/patch-media_openmax__dl_dl_api_armCOMM__s.h @@ -0,0 +1,39 @@ +$NetBSD: patch-media_openmax__dl_dl_api_armCOMM__s.h,v 1.1 2017/04/27 01:55:57 ryoon Exp $ + +* Support NetBSD/earm + +--- media/openmax_dl/dl/api/armCOMM_s.h.orig 2015-09-29 21:44:56.000000000 +0000 ++++ media/openmax_dl/dl/api/armCOMM_s.h +@@ -11,6 +11,12 @@ + @// This file was originally licensed as follows. It has been + @// relicensed with permission from the copyright holders. + @// ++ ++#if defined(__ARM_EABI__) && !defined(__ARM_DWARF_EH__) ++#define UNWIND ++#else ++#define UNWIND @ ++#endif + + @// + @// File Name: armCOMM_s.h +@@ -175,7 +181,8 @@ + .object_arch armv4 + .align 2 + \name : +-.fnstart ++ .cfi_startproc ++ UNWIND .fnstart + @ Save specified R registers + _M_GETRREGLIST \rreg + _M_PUSH_RREG +@@ -202,7 +209,8 @@ + .endif + @ Restore any saved R or D registers. + _M_RET +- .fnend ++ UNWIND .fnend ++ .cfi_endproc + .endfunc + @ Reset the global stack tracking variables back to their + @ initial values. |