libopenraw/03f8270d6bb255ca6618505e83169ab9d95ccef1.patch
Takashi Iwai e4f81ce2b7 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
2023-04-11 08:40:47 +00:00

38 lines
943 B
Diff

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