forked from pool/libcamera
Add trivial patch to fix build with gcc15 #2
10
libcamera-fix-for-gcc15.patch
Normal file
10
libcamera-fix-for-gcc15.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- libcamera-0.4.0/include/libcamera/internal/dma_buf_allocator.h.orig 2025-03-20 11:39:34.091724400 +0100
|
||||
+++ libcamera-0.4.0/include/libcamera/internal/dma_buf_allocator.h 2025-03-20 11:39:58.223693700 +0100
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 20 10:48:50 UTC 2025 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Add trivial patch to fix build with gcc15:
|
||||
* libcamera-fix-for-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 23 21:51:19 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libcamera
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -27,7 +27,7 @@ Name: libcamera%extname
|
||||
Version: 0.4.0
|
||||
Release: 0
|
||||
Summary: A complex camera support library in C++
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-SA-4.0
|
||||
License: CC-BY-SA-4.0 AND GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://libcamera.org/
|
||||
#Git-Web: https://git.libcamera.org/libcamera/libcamera.git/
|
||||
@@ -35,6 +35,9 @@ URL: https://libcamera.org/
|
||||
Source: libcamera-%version.tar.xz
|
||||
Source1: baselibs.conf
|
||||
|
||||
# PATCH-FIX-UPSTREAM - https://github.com/raspberrypi/libcamera/issues/250
|
||||
Patch1: libcamera-fix-for-gcc15.patch
|
||||
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: c++_compiler
|
||||
%if 0%{?suse_version} <= 1500
|
||||
@@ -57,8 +60,8 @@ BuildRequires: pkgconfig(libevent_pthreads)
|
||||
BuildRequires: pkgconfig(libtiff-4)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: pkgconfig(pybind11)
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: pkgconfig(yaml-0.1)
|
||||
%if "@BUILD_FLAVOR@" != ""
|
||||
BuildRequires: pkgconfig(Qt6Core)
|
||||
|
||||
Reference in New Issue
Block a user