[packages/framewave] - added opt patch (fixes build with more aggressive inlining, e.g. gcc 10); release 16
qboosh
qboosh at pld-linux.org
Sat Aug 22 08:58:32 CEST 2020
commit 680106bd354e7644b61ed2605cbaca163fe1c350
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Aug 22 09:00:52 2020 +0200
- added opt patch (fixes build with more aggressive inlining, e.g. gcc 10); release 16
framewave-opt.patch | 14 ++++++++++++++
framewave.spec | 4 +++-
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/framewave.spec b/framewave.spec
index 30eb927..5f7d0a3 100644
--- a/framewave.spec
+++ b/framewave.spec
@@ -6,7 +6,7 @@ Summary: Framewave - set of popular image and signal processing routines
Summary(pl.UTF-8): Framewave - zestaw popularnych funkcji do przetwarzania obrazu i sygnału
Name: framewave
Version: 1.3.1
-Release: 15
+Release: 16
License: Apache v2.0
Group: Libraries
Source0: http://downloads.sourceforge.net/framewave/FRAMEWAVE_%{version}_SRC.tar.gz
@@ -18,6 +18,7 @@ Patch3: %{name}-templates.patch
Patch4: %{name}-warnings.patch
Patch5: %{name}-cpuid.patch
Patch6: %{name}-scons.patch
+Patch7: %{name}-opt.patch
URL: http://framewave.sourceforge.net/
BuildRequires: boost-devel >= 1.34
BuildRequires: libstdc++-devel
@@ -76,6 +77,7 @@ Statyczne biblioteki Framewave.
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
# kill precompiled binaries
%{__rm} BuildTools/bin/FwHeaderConvert_*
diff --git a/framewave-opt.patch b/framewave-opt.patch
new file mode 100644
index 0000000..4ea7f1d
--- /dev/null
+++ b/framewave-opt.patch
@@ -0,0 +1,14 @@
+--- FRAMEWAVE_1.3.1_SRC/Framewave/domain/fwImage/src/ResizeShift.cpp.orig 2020-08-21 23:27:33.944259671 +0200
++++ FRAMEWAVE_1.3.1_SRC/Framewave/domain/fwImage/src/ResizeShift.cpp 2020-08-22 08:42:32.082811114 +0200
+@@ -79,6 +79,11 @@
+ FwStatus My_FW_ParaCheck<Fw8u>(const Fw8u*pSrc, FwiSize srcSize, int srcStep, FwiRect srcRoi,
+ Fw8u*pDst, int dstStep, FwiSize dstRoiSize, int channel);
+
++ // explicit instantiation, so implementation code won't be optimized out
++ template
++ FwStatus My_FW_ParaCheck<float>(const float*pSrc, FwiSize srcSize, int srcStep, FwiRect srcRoi,
++ float*pDst, int dstStep, FwiSize dstRoiSize, int channel);
++
+ template< class TS, CH chSrc, DispatchType disp >
+ extern FwStatus My_FW_Resize(const TS *pSrc, int srcStep, FwiRect srcRoi,
+ TS*pDst, int dstStep, FwiSize dstRoiSize,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/framewave.git/commitdiff/680106bd354e7644b61ed2605cbaca163fe1c350
More information about the pld-cvs-commit
mailing list