PKGBUILDs/extra/meson/0002-Use-C-17-for-protobuf-tests.patch
2023-08-08 12:00:41 -04:00

20 lines
924 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Wed, 12 Jul 2023 00:10:11 +0200
Subject: [PATCH] Use C++17 for protobuf tests
Recent protobuf no longer supports C++11.
---
test cases/frameworks/5 protocol buffers/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test cases/frameworks/5 protocol buffers/meson.build b/test cases/frameworks/5 protocol buffers/meson.build
index 9a4154b652f3..f9e677c95f8f 100644
--- a/test cases/frameworks/5 protocol buffers/meson.build
+++ b/test cases/frameworks/5 protocol buffers/meson.build
@@ -1,4 +1,4 @@
-project('protocol buffer test', 'cpp', default_options: ['cpp_std=c++14'])
+project('protocol buffer test', 'cpp', default_options: ['cpp_std=c++17'])
protoc = find_program('protoc', required : false)
dep = dependency('protobuf', required : false)