Accepting request 1078299 from home:iznogood:branches:multimedia:libs
- Add 03f8270d6bb255ca6618505e83169ab9d95ccef1.patch: Include stdint.h where needed. This fixes an issue building with gcc 13. OBS-URL: https://build.opensuse.org/request/show/1078299 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libopenraw?expand=0&rev=42
This commit is contained in:
parent
b5674d8bd8
commit
e4f81ce2b7
37
03f8270d6bb255ca6618505e83169ab9d95ccef1.patch
Normal file
37
03f8270d6bb255ca6618505e83169ab9d95ccef1.patch
Normal file
@ -0,0 +1,37 @@
|
||||
From 03f8270d6bb255ca6618505e83169ab9d95ccef1 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Hubert=20Figui=C3=A8re?= <hub@figuiere.net>
|
||||
Date: Tue, 21 Feb 2023 18:45:00 -0500
|
||||
Subject: [PATCH] Issue #12 - Include stdint.h where needed
|
||||
|
||||
- This fixes an issue building with gcc 13
|
||||
|
||||
https://gitlab.freedesktop.org/libopenraw/libopenraw/-/issues/12
|
||||
---
|
||||
lib/trace.hpp | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/trace.hpp b/lib/trace.hpp
|
||||
index d56c286e..9dae1181 100644
|
||||
--- a/lib/trace.hpp
|
||||
+++ b/lib/trace.hpp
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* libopenraw - trace.hpp
|
||||
*
|
||||
- * Copyright (C) 2006-2020 Hubert Figuière
|
||||
+ * Copyright (C) 2006-2023 Hubert Figuière
|
||||
*
|
||||
* This library is free software: you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public License
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
+#include <stdint.h>
|
||||
+
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 10 21:06:06 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Add 03f8270d6bb255ca6618505e83169ab9d95ccef1.patch: Include
|
||||
stdint.h where needed. This fixes an issue building with gcc 13.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 21 10:07:01 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
|
@ -29,6 +29,9 @@ Source2: %{name}.keyring
|
||||
# cd lib/mp4 && cargo vendor -s Cargo.toml -s mp4parse/Cargo.toml -s mp4parse_capi/Cargo.toml && tar cf vendor.tar.xz vendor
|
||||
Source3: vendor.tar.xz
|
||||
Source99: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM 03f8270d6bb255ca6618505e83169ab9d95ccef1.patch -- Include stdint.h where needed
|
||||
Patch0: 03f8270d6bb255ca6618505e83169ab9d95ccef1.patch
|
||||
|
||||
BuildRequires: autoconf >= 2.69
|
||||
BuildRequires: cargo
|
||||
BuildRequires: gcc-c++
|
||||
@ -79,7 +82,7 @@ Requires: libopenraw9 = %{version}-%{release}
|
||||
libopenraw is a library that aim at decoding digital camera RAW files.
|
||||
|
||||
%prep
|
||||
%autosetup -a3
|
||||
%autosetup -a3 -p1
|
||||
mv vendor lib/mp4/
|
||||
cd lib/mp4
|
||||
sed -i 's/byteorder = "1.2.1"/byteorder = "1.2.2"/' mp4parse/Cargo.toml
|
||||
|
Loading…
Reference in New Issue
Block a user