pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/gst-plugins0.10-ffmpeg/patches



Module Name:    pkgsrc
Committed By:   mef
Date:           Mon Oct 14 13:31:12 UTC 2019

Added Files:
        pkgsrc/multimedia/gst-plugins0.10-ffmpeg/patches:
            patch-ext_libpostproc_gstpostproc.c
            patch-ext_libswscale_gstffmpgscale.c

Log Message:
(multimeda/gst-ffmpeg) Fix build after orc is updated 0.4.29 to 0.4.30


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libpostproc_gstpostproc.c \
    pkgsrc/multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libswscale_gstffmpgscale.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libpostproc_gstpostproc.c
diff -u /dev/null pkgsrc/multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libpostproc_gstpostproc.c:1.1
--- /dev/null   Mon Oct 14 13:31:12 2019
+++ pkgsrc/multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libpostproc_gstpostproc.c        Mon Oct 14 13:31:12 2019
@@ -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;
Index: pkgsrc/multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libswscale_gstffmpgscale.c
diff -u /dev/null pkgsrc/multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libswscale_gstffmpgscale.c:1.1
--- /dev/null   Mon Oct 14 13:31:12 2019
+++ pkgsrc/multimedia/gst-plugins0.10-ffmpeg/patches/patch-ext_libswscale_gstffmpgscale.c       Mon Oct 14 13:31:12 2019
@@ -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