pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/gst-plugins0.10-ffmpeg/patches (multimeda/g...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3aa6d6c2a7b3
branches: trunk
changeset: 342120:3aa6d6c2a7b3
user: mef <mef%pkgsrc.org@localhost>
date: Mon Oct 14 13:31:12 2019 +0000
description:
(multimeda/gst-ffmpeg) Fix build after orc is updated 0.4.29 to 0.4.30
diffstat:
multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libpostproc_gstpostproc.c | 15 ++++++++
multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libswscale_gstffmpgscale.c | 18 ++++++++++
2 files changed, 33 insertions(+), 0 deletions(-)
diffs (41 lines):
diff -r 993bcf1ea484 -r 3aa6d6c2a7b3 multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libpostproc_gstpostproc.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libpostproc_gstpostproc.c Mon Oct 14 13:31:12 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ext_libpostproc_gstpostproc.c,v 1.1 2019/10/14 13:31:12 mef Exp $
+
+adapt orc-0.4.29 to 0.4.30
+
+--- ext/libpostproc/gstpostproc.c.orig 2011-07-12 23:35:27.000000000 +0900
++++ ext/libpostproc/gstpostproc.c 2019-10-14 22:25:15.311639480 +0900
+@@ -299,7 +299,7 @@ change_context (GstPostProc * postproc,
+ ppflags = (mmx_flags & ORC_TARGET_MMX_MMX ? PP_CPU_CAPS_MMX : 0)
+ | (mmx_flags & ORC_TARGET_MMX_MMXEXT ? PP_CPU_CAPS_MMX2 : 0)
+ | (mmx_flags & ORC_TARGET_MMX_3DNOW ? PP_CPU_CAPS_3DNOW : 0)
+- | (altivec_flags & ORC_TARGET_ALTIVEC_ALTIVEC ? PP_CPU_CAPS_ALTIVEC :
++ | (altivec_flags & ORC_TARGET_POWERPC_ALTIVEC ? PP_CPU_CAPS_ALTIVEC :
+ 0);
+ #else
+ mmx_flags = 0;
diff -r 993bcf1ea484 -r 3aa6d6c2a7b3 multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libswscale_gstffmpgscale.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libswscale_gstffmpgscale.c Mon Oct 14 13:31:12 2019 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ext_libswscale_gstffmpgscale.c,v 1.1 2019/10/14 13:31:12 mef Exp $
+
+gstffmpegscale.c:641:26: error: 'ORC_TARGET_ALTIVEC_ALTIVEC' undeclared (first use in this function); did you mean 'ORC_TARGET_POWERPC_ALTIVEC'?
+ | (altivec_flags & ORC_TARGET_ALTIVEC_ALTIVEC ? SWS_CPU_CAPS_ALTIVEC : 0);
+ ^~~~~~~~~~~~~~~~~~~~~~~~~~
+ ORC_TARGET_POWERPC_ALTIVEC
+
+--- ext/libswscale/gstffmpegscale.c.orig 2011-11-02 22:04:05.000000000 +0900
++++ ext/libswscale/gstffmpegscale.c 2019-10-14 22:19:36.351245163 +0900
+@@ -638,7 +638,7 @@ gst_ffmpegscale_set_caps (GstBaseTransfo
+ swsflags = (mmx_flags & ORC_TARGET_MMX_MMX ? SWS_CPU_CAPS_MMX : 0)
+ | (mmx_flags & ORC_TARGET_MMX_MMXEXT ? SWS_CPU_CAPS_MMX2 : 0)
+ | (mmx_flags & ORC_TARGET_MMX_3DNOW ? SWS_CPU_CAPS_3DNOW : 0)
+- | (altivec_flags & ORC_TARGET_ALTIVEC_ALTIVEC ? SWS_CPU_CAPS_ALTIVEC : 0);
++ | (altivec_flags & ORC_TARGET_POWERPC_ALTIVEC ? SWS_CPU_CAPS_ALTIVEC : 0);
+ #else
+ mmx_flags = 0;
+ altivec_flags = 0;
Home |
Main Index |
Thread Index |
Old Index