diff --git a/libcamera.changes b/libcamera.changes index 5831518..60114d9 100644 --- a/libcamera.changes +++ b/libcamera.changes @@ -4,6 +4,7 @@ Mon Mar 9 14:08:43 UTC 2020 - Jan Engelhardt - Update to new development snapshot 0~1118.4de31cc * No user-friendly changelog at this stage * C++14 is now mandated +- Add noforcedsize.diff ------------------------------------------------------------------- Fri Aug 23 18:54:16 UTC 2019 - Jan Engelhardt diff --git a/libcamera.spec b/libcamera.spec index 7aa6fd1..12e3c08 100644 --- a/libcamera.spec +++ b/libcamera.spec @@ -23,10 +23,11 @@ Release: 0 Summary: A complex camera support library in C++ License: LGPL-2.1-or-later AND GPL-2.0-or-later Group: Development/Libraries/C and C++ -URL: https://git.linuxtv.org/libcamera.git/ +URL: http://libcamera.org/ Source: %name-%version.tar.xz Patch1: vers.diff +Patch2: noforcedsize.diff BuildRequires: c++_compiler BuildRequires: meson >= 0.47 BuildRequires: pkg-config diff --git a/noforcedsize.diff b/noforcedsize.diff new file mode 100644 index 0000000..a5f5dc7 --- /dev/null +++ b/noforcedsize.diff @@ -0,0 +1,20 @@ + +It's 12 on i586. + +--- + include/libcamera/controls.h | 2 -- + 1 file changed, 2 deletions(-) + +Index: libcamera/include/libcamera/controls.h +=================================================================== +--- libcamera.orig/include/libcamera/controls.h ++++ libcamera/include/libcamera/controls.h +@@ -170,8 +170,6 @@ private: + std::size_t numElements, std::size_t elementSize); + }; + +-static_assert(sizeof(ControlValue) == 16, "Invalid size of ControlValue class"); +- + class ControlId + { + public: