From c85abf4a254894d08b4a7b6bdeebb510819e4450 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 11 Jan 2022 08:34:10 +0100 Subject: [PATCH] Fix flatpak build > + cp -p /app/include/stb/stb_image.h thirdparty/stb/ > cp: cannot stat '/app/include/stb/stb_image.h': No such file or directory --- zxing-cpp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zxing-cpp.spec b/zxing-cpp.spec index b874b60..472a2f5 100644 --- a/zxing-cpp.spec +++ b/zxing-cpp.spec @@ -77,7 +77,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} rm -v thirdparty/stb/stb_image_write.h thirdparty/stb/stb_image.h # stb_image.h is trivially forked: reconstruct the changes with the latest # unbundled copy -cp -p %{_includedir}/stb/stb_image.h thirdparty/stb/ +cp -p /usr/include/stb/stb_image.h thirdparty/stb/ pushd thirdparty/stb patch -p1 < stb_image.patch popd