forked from pool/libcamera
- Add noforcedsize.diff
OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=12
This commit is contained in:
parent
44a8205634
commit
d1f25434fa
@ -4,6 +4,7 @@ Mon Mar 9 14:08:43 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
- 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 <jengelh@inai.de>
|
||||
|
@ -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
|
||||
|
20
noforcedsize.diff
Normal file
20
noforcedsize.diff
Normal file
@ -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:
|
Loading…
Reference in New Issue
Block a user