From 77d36c47c3faf56b12f52855dfe0cb5b7390d57d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 31 Mar 2024 06:34:57 +0700 Subject: [PATCH] pingus: fix build --- srcpkgs/pingus/patches/missing-header.patch | 31 +++++++++++++-------- srcpkgs/pingus/template | 3 +- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/srcpkgs/pingus/patches/missing-header.patch b/srcpkgs/pingus/patches/missing-header.patch index cc1dcdbb85c..d7353e488e7 100644 --- a/srcpkgs/pingus/patches/missing-header.patch +++ b/srcpkgs/pingus/patches/missing-header.patch @@ -1,14 +1,3 @@ -From df6e2f445d3e2925a94d22faeb17be9444513e92 Mon Sep 17 00:00:00 2001 -From: Jonathan Wakely -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 + #include + + #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 + #include + #include + diff --git a/srcpkgs/pingus/template b/srcpkgs/pingus/template index 33199e16ed5..a97a2cf4a0e 100644 --- a/srcpkgs/pingus/template +++ b/srcpkgs/pingus/template @@ -11,7 +11,8 @@ maintainer="Orphaned " 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() {