Changes of Revision 47

avidemux3.changes Changed
x
 
1
@@ -1,4 +1,11 @@
2
 -------------------------------------------------------------------
3
+Tue Nov 12 10:34:59 UTC 2019 - Jiri Slaby <jslaby@suse.cz>
4
+
5
+- add avidemux-cpu-detection-fix.patch (build fix)
6
+- add avidemux-ivtcDupeRemover-return-true-from-ivtcDupeRemover-get.patch
7
+  (build fix)
8
+
9
+-------------------------------------------------------------------
10
 Sun Aug 18 22:41:51 UTC 2019 - enzokiel@kabelmail.de
11
 
12
 - Update to version 2.7.4
13
avidemux3.spec Changed
19
 
1
@@ -35,6 +35,8 @@
2
 Patch5:         avidemux-bootStrap.patch
3
 Patch7:         avidemux-desktop-file.patch
4
 Patch8:         avidemux-backport_Fix_threads_setup.patch
5
+Patch9:         avidemux-cpu-detection-fix.patch
6
+Patch10:        avidemux-ivtcDupeRemover-return-true-from-ivtcDupeRemover-get.patch
7
 License:        GPL-2.0
8
 Group:          Productivity/Multimedia/Video/Editors and Convertors
9
 
10
@@ -193,6 +195,8 @@
11
 %patch5 -p0
12
 %patch7 -p0
13
 %patch8 -p0 -R
14
+%patch9 -p1
15
+%patch10 -p1
16
 chmod 755 bootStrap.bash
17
 chmod 644 AUTHORS COPYING README
18
 
19
avidemux-cpu-detection-fix.patch Added
54
 
1
@@ -0,0 +1,52 @@
2
+From: Jiri Slaby <jslaby@suse.cz>
3
+Date: Tue, 12 Nov 2019 11:28:37 +0100
4
+Subject: cmake: fix detection of CPUs
5
+Patch-mainline: yes
6
+Git-commit: 82ab993cbbe17c71ca20c4af7b1a4b6f9fa95c45
7
+References: build fix
8
+
9
+The code defines a function foo returning int, but contains no return.
10
+So the detection fails with "CPU not supported". As new gccs warng abotu
11
+missing return, it causes the detaction to fail. Switch foo to return
12
+void.
13
+
14
+Signed-off-by: Jiri Slaby <jslaby@suse.cz>
15
+---
16
+ cmake/cmake_compile_check/cpu_armel_check.cpp  | 2 +-
17
+ cmake/cmake_compile_check/cpu_x86-64_check.cpp | 2 +-
18
+ cmake/cmake_compile_check/cpu_x86_check.cpp    | 2 +-
19
+ 3 files changed, 3 insertions(+), 3 deletions(-)
20
+
21
+diff --git a/cmake/cmake_compile_check/cpu_armel_check.cpp b/cmake/cmake_compile_check/cpu_armel_check.cpp
22
+index 429661add08c..02f779c71b7b 100644
23
+--- a/cmake/cmake_compile_check/cpu_armel_check.cpp
24
++++ b/cmake/cmake_compile_check/cpu_armel_check.cpp
25
+@@ -1,4 +1,4 @@
26
+-int foo(void)
27
++void foo(void)
28
+ {
29
+ 
30
+   asm volatile ("mov lr,pc " : : );
31
+diff --git a/cmake/cmake_compile_check/cpu_x86-64_check.cpp b/cmake/cmake_compile_check/cpu_x86-64_check.cpp
32
+index 49c751b6fbe8..4f493bc5cdaf 100644
33
+--- a/cmake/cmake_compile_check/cpu_x86-64_check.cpp
34
++++ b/cmake/cmake_compile_check/cpu_x86-64_check.cpp
35
+@@ -1,4 +1,4 @@
36
+-int foo(void)
37
++void foo(void)
38
+ {
39
+   asm volatile ("movdqa %xmm8, 0");
40
+ }
41
+diff --git a/cmake/cmake_compile_check/cpu_x86_check.cpp b/cmake/cmake_compile_check/cpu_x86_check.cpp
42
+index c4e8f7f432a5..cd00b66c0524 100644
43
+--- a/cmake/cmake_compile_check/cpu_x86_check.cpp
44
++++ b/cmake/cmake_compile_check/cpu_x86_check.cpp
45
+@@ -1,4 +1,4 @@
46
+-int foo(void)
47
++void foo(void)
48
+ {
49
+   asm volatile ("movdqa %xmm7, 0");
50
+ }
51
+-- 
52
+2.24.0
53
+
54
avidemux-ivtcDupeRemover-return-true-from-ivtcDupeRemover-get.patch Added
32
 
1
@@ -0,0 +1,30 @@
2
+From: Jiri Slaby <jslaby@suse.cz>
3
+Date: Tue, 12 Nov 2019 11:47:21 +0100
4
+Subject: [ivtcDupeRemover] return true from ivtcDupeRemover::getNextFrame
5
+Patch-mainline: submitted as PR#182
6
+References: build fix
7
+
8
+It is declared as returning a bool, but returns nothing. But the callers
9
+expect something to be returned: true in case it succeeded.
10
+
11
+Signed-off-by: Jiri Slaby <jslaby@suse.cz>
12
+---
13
+ .../ADM_videoFilters6/ivtcDupeRemover/ADM_ivtcDupeRemover.cpp   | 2 ++
14
+ 1 file changed, 2 insertions(+)
15
+
16
+diff --git a/avidemux_plugins/ADM_videoFilters6/ivtcDupeRemover/ADM_ivtcDupeRemover.cpp b/avidemux_plugins/ADM_videoFilters6/ivtcDupeRemover/ADM_ivtcDupeRemover.cpp
17
+index 754fd3ad3807..4ba1eae90c9a 100644
18
+--- a/avidemux_plugins/ADM_videoFilters6/ivtcDupeRemover/ADM_ivtcDupeRemover.cpp
19
++++ b/avidemux_plugins/ADM_videoFilters6/ivtcDupeRemover/ADM_ivtcDupeRemover.cpp
20
+@@ -375,6 +375,8 @@ bool ivtcDupeRemover::getNextFrame(uint32_t *fn,ADMImage *image)
21
+               break;
22
+ 
23
+       }
24
++
25
++      return true;
26
+ }
27
+ /**
28
+     \fn getCoupledConf
29
+-- 
30
+2.24.0
31
+
32