apitrace: Upgrade 11.1 -> 13.0 to allow CMake 4+ compatibility

- Drop 0001-Explicit-header-stdint.patch because already fixed in newer version.

Changelog:

https://github.com/apitrace/apitrace/releases/tag/13.0
https://github.com/apitrace/apitrace/releases/tag/12.0

Fix:

| CMake Error at thirdparty/libbacktrace.cmake:32 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
| Call Stack (most recent call first):
|   thirdparty/CMakeLists.txt:13 (include)
|   thirdparty/CMakeLists.txt:55 (include_with_scope)

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Alper Ak 2025-07-08 01:54:05 +03:00 committed by Khem Raj
parent e45e164ada
commit 9fd461a067
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 2 additions and 48 deletions

View File

@ -1,42 +0,0 @@
From 952bad1469ea747012bdc48c48993bd5f13eec04 Mon Sep 17 00:00:00 2001
From: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Date: Fri, 21 Mar 2025 05:02:23 +0000
Subject: [PATCH] Explicit header: stdint
Fix building with GCC-15. It no longer includes it by default.
Upstream-Status: Backport [https://github.com/apitrace/apitrace/commit/952bad1469ea747012bdc48c48993bd5f13eec04]
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
---
frametrim/ft_dependecyobject.hpp | 1 +
retrace/metric_writer.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/frametrim/ft_dependecyobject.hpp b/frametrim/ft_dependecyobject.hpp
index 2cd0b768..0f17b601 100644
--- a/frametrim/ft_dependecyobject.hpp
+++ b/frametrim/ft_dependecyobject.hpp
@@ -28,6 +28,7 @@
#pragma once
#include "ft_tracecall.hpp"
+#include <stdint.h>
namespace frametrim {
diff --git a/retrace/metric_writer.cpp b/retrace/metric_writer.cpp
index e923ed1d..4e4ce748 100644
--- a/retrace/metric_writer.cpp
+++ b/retrace/metric_writer.cpp
@@ -24,6 +24,7 @@
**************************************************************************/
#include <iostream>
+#include <stdint.h>
#include "metric_writer.hpp"
--
2.34.1

View File

@ -5,12 +5,8 @@ LICENSE = "MIT & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \
file://thirdparty/snappy/COPYING;md5=f62f3080324a97b3159a7a7e61812d0c"
SRCREV = "9352fc02bba106fbbeef9e8452ef34643c0d0764"
PV .= "+11.1+git"
SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \
file://0001-Explicit-header-stdint.patch \
"
SRCREV = "ed44bd4c6cce224e2d64533d197bea6ca4fee266"
SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https"
DEPENDS += "zlib libpng python3-native"