1
0
forked from pool/libcamera

Add trivial patch to fix build with gcc15 #2

Merged
jengelh merged 1 commits from ggardet_arm/libcamera:master into master 2025-03-20 13:12:48 +01:00
3 changed files with 22 additions and 3 deletions

View 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>

View File

@@ -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>

View File

@@ -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)