pingus: fix build

This commit is contained in:
Đoàn Trần Công Danh 2024-03-31 06:34:57 +07:00
parent 2049c075f1
commit 77d36c47c3
2 changed files with 22 additions and 12 deletions

View File

@ -1,14 +1,3 @@
From df6e2f445d3e2925a94d22faeb17be9444513e92 Mon Sep 17 00:00:00 2001
From: Jonathan Wakely <jwakely@redhat.com>
Date: Mon, 30 Jan 2017 15:41:53 +0000
Subject: [PATCH] Add missing header for std::function and std::bind
---
src/pingus/screens/demo_session.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/pingus/screens/demo_session.cpp b/src/pingus/screens/demo_session.cpp
index e3ec49a2c..f887e50f0 100644
--- a/src/pingus/screens/demo_session.cpp
+++ b/src/pingus/screens/demo_session.cpp
@@ -18,6 +18,7 @@
@ -20,3 +9,23 @@ index e3ec49a2c..f887e50f0 100644
#include "engine/gui/gui_manager.hpp"
#include "engine/gui/surface_button.hpp"
--- a/src/engine/display/font_description.hpp
+++ b/src/engine/display/font_description.hpp
@@ -17,6 +17,7 @@
#ifndef HEADER_PINGUS_ENGINE_DISPLAY_FONT_DESCRIPTION_HPP
#define HEADER_PINGUS_ENGINE_DISPLAY_FONT_DESCRIPTION_HPP
+#include <cstdint>
#include <vector>
#include "math/rect.hpp"
--- a/src/util/pathname.hpp
+++ b/src/util/pathname.hpp
@@ -17,6 +17,7 @@
#ifndef HEADER_PINGUS_UTIL_PATHNAME_HPP
#define HEADER_PINGUS_UTIL_PATHNAME_HPP
+#include <cstdint>
#include <string>
#include <vector>

View File

@ -11,7 +11,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://pingus.seul.org/"
distfiles="https://gitlab.com/pingus/pingus/-/archive/v${version}/pingus-v${version}.tar.gz"
checksum=31cb2c0ecddd49dbe03535648e8c7c2971da469c52af52cdf9dc2459798342c8
distfiles="${DEBIAN_SITE}/main/p/pingus/pingus_0.7.6.orig.tar.bz2"
checksum=759c1253075d1e72691bc1e770b24cdd51917041fd1857c1daf85b65a6686460
nocross=yes
do_build() {