drumgizmo: Fix build with gcc11
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -3,6 +3,9 @@ HOMEPAGE = "https://www.drumgizmo.org"
|
||||
LICENSE = "LGPLv3"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
|
||||
|
||||
SRC_URI = "http://www.drumgizmo.org/releases/${BPN}-${PV}/${BPN}-${PV}.tar.gz"
|
||||
SRC_URI = " \
|
||||
http://www.drumgizmo.org/releases/${BPN}-${PV}/${BPN}-${PV}.tar.gz \
|
||||
file://0001-Fix-build-with-gcc11.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "7426f38b58fbb82d3eada60c204d74e6c5de31ef424c017e3f890117e146a2a3"
|
||||
PV = "0.9.19"
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From 584273e28bceb0b52b5b852b56950a04a4fcc4a2 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sat, 8 May 2021 15:42:48 +0200
|
||||
Subject: [PATCH] Fix build with gcc11
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
| translation.h:35:6: error: 'uint64_t' in namespace 'std' does not name a type; did you mean 'wint_t'?
|
||||
| 35 | std::uint64_t constexpr const_hash(const char* input)
|
||||
| | ^~~~~~~~
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
src/translation.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/translation.h b/src/translation.h
|
||||
index 7f506a6..43545b0 100644
|
||||
--- a/src/translation.h
|
||||
+++ b/src/translation.h
|
||||
@@ -31,6 +31,7 @@
|
||||
#ifdef WITH_NLS
|
||||
|
||||
#include <memory>
|
||||
+#include <cstdint>
|
||||
|
||||
std::uint64_t constexpr const_hash(const char* input)
|
||||
{
|
||||
--
|
||||
2.30.2
|
||||
|
||||
Reference in New Issue
Block a user