diff options
author | richard <richard@pkgsrc.org> | 2014-08-30 11:22:03 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2014-08-30 11:22:03 +0000 |
commit | b263df269f8d763ac2f85b35e2782daf927de0f0 (patch) | |
tree | f6a0c66efd83bf09d864236f5b31501f99f864ee /multimedia | |
parent | eed3f6ba7c85022e608f8febee1374a3d4cf2292 (diff) | |
download | pkgsrc-b263df269f8d763ac2f85b35e2782daf927de0f0.tar.gz |
Include missing patch
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ffmpeg2/patches/patch-libavutil_x86_asm.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/ffmpeg2/patches/patch-libavutil_x86_asm.h b/multimedia/ffmpeg2/patches/patch-libavutil_x86_asm.h new file mode 100644 index 00000000000..8ffbcef09b2 --- /dev/null +++ b/multimedia/ffmpeg2/patches/patch-libavutil_x86_asm.h @@ -0,0 +1,18 @@ +$NetBSD: patch-libavutil_x86_asm.h,v 1.1 2014/08/30 11:22:03 richard Exp $ + +avoid SunOS regset.h definition for REG_SP + +--- libavutil/x86/asm.h.orig 2014-08-17 13:33:17.000000000 +0000 ++++ libavutil/x86/asm.h +@@ -27,6 +27,11 @@ + typedef struct xmm_reg { uint64_t a, b; } xmm_reg; + typedef struct ymm_reg { uint64_t a, b, c, d; } ymm_reg; + ++/* avoid SunOS regset.h definition for REG_SP */ ++#if defined (__sun) && defined (REG_SP) ++#undef REG_SP ++#endif ++ + #if ARCH_X86_64 + # define OPSIZE "q" + # define REG_a "rax" |