forked from pool/wasmedge
Accepting request 1187712 from devel:languages:javascript
OBS-URL: https://build.opensuse.org/request/show/1187712 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wasmedge?expand=0&rev=3
This commit is contained in:
27
fmt11.patch
Normal file
27
fmt11.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
From 528377da02db9311fe8fc6aa082172d6095df4ff Mon Sep 17 00:00:00 2001
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: Tue, 16 Jul 2024 10:39:54 +0200
|
||||
Subject: [PATCH] build: resolve build failure with fmt-11
|
||||
References: https://github.com/WasmEdge/WasmEdge/pull/3565
|
||||
|
||||
lib/common/errinfo.cpp:165:25: error: "join" is not a member of "fmt"
|
||||
165 | fmt::join(Info.ExpParams, " , "sv),
|
||||
---
|
||||
lib/common/errinfo.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/lib/common/errinfo.cpp b/lib/common/errinfo.cpp
|
||||
index 188a1836..5a4df5d3 100644
|
||||
--- a/lib/common/errinfo.cpp
|
||||
+++ b/lib/common/errinfo.cpp
|
||||
@@ -1,6 +1,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-FileCopyrightText: 2019-2022 Second State INC
|
||||
|
||||
+#include <fmt/ranges.h>
|
||||
#include "common/errinfo.h"
|
||||
#include "common/errcode.h"
|
||||
#include "common/hexstr.h"
|
||||
--
|
||||
2.45.2
|
||||
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 16 08:47:26 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Add fmt11.patch to resolve FTBFS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 26 11:32:45 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package wasmedge
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -24,8 +24,10 @@ License: Apache-2.0 AND CC0-1.0
|
||||
Group: Development/Tools/Other
|
||||
URL: https://github.com/WasmEdge/WasmEdge
|
||||
Source0: https://github.com/WasmEdge/WasmEdge/releases/download/%{version}/%{name}-%{version}-src.tar.gz
|
||||
Patch1: fmt11.patch
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake >= 3.15.0
|
||||
BuildRequires: fmt-devel
|
||||
BuildRequires: gcc-c++ >= 9.4.0
|
||||
BuildRequires: spdlog-devel
|
||||
# Supported platforms
|
||||
@@ -53,7 +55,7 @@ This package contains the header files and libraries needed for
|
||||
compiling programs using WasmEdge.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}
|
||||
%autosetup -n %{name} -p1
|
||||
|
||||
%build
|
||||
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF -DWASMEDGE_BUILD_TESTS=OFF -DWASMEDGE_BUILD_AOT_RUNTIME=OFF
|
||||
|
Reference in New Issue
Block a user