2 Commits

3 changed files with 33 additions and 1 deletions

24
draco-gcc15.patch Normal file
View File

@@ -0,0 +1,24 @@
From 0dae510393b2b3cf410619f87f2a00ad63837145 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <foss@grueninger.de>
Date: Sat, 2 Aug 2025 21:18:48 +0200
Subject: [PATCH] Add include as GCC 15 is more strict
---
src/draco/compression/attributes/point_d_vector.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/draco/compression/attributes/point_d_vector.h b/src/draco/compression/attributes/point_d_vector.h
index 6ceb454..85c47ca 100644
--- a/src/draco/compression/attributes/point_d_vector.h
+++ b/src/draco/compression/attributes/point_d_vector.h
@@ -17,6 +17,7 @@
#define DRACO_COMPRESSION_ATTRIBUTES_POINT_D_VECTOR_H_
#include <cstddef>
+#include <cstdint>
#include <cstring>
#include <iterator>
#include <memory>
--
2.50.1

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Aug 2 19:34:44 UTC 2025 - Christoph G <foss@grueninger.de>
- Fix missing include required by GCC 155 by adding
draco-gcc15.patch from https://github.com/google/draco/pull/1113
-------------------------------------------------------------------
Tue Aug 20 16:18:58 UTC 2024 - Dirk Stoecker <opensuse@dstoecker.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package draco
#
# 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
@@ -28,6 +28,8 @@ Group: Productivity/Archiving/Compression
URL: https://google.github.io/draco
Source0: https://github.com/google/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: https://github.com/google/googletest/archive/%{commit}.zip#/googletest-%{commit}.zip
# https://github.com/google/draco/pull/1113
Patch0: draco-gcc15.patch
BuildRequires: cmake >= 3.12
BuildRequires: gcc-c++
BuildRequires: help2man