summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-04-25 08:04:13 +0000
committernia <nia@pkgsrc.org>2021-04-25 08:04:13 +0000
commit800eb61c3674c966863c8c07a564e82f143396d2 (patch)
tree7a93aa0af67cb507e91e18c4e60eea366689fd83 /emulators
parent9427a1f90f942d3617affa2b572b6230fc673948 (diff)
downloadpkgsrc-800eb61c3674c966863c8c07a564e82f143396d2.tar.gz
caprice32: fix building wiht gcc10
Diffstat (limited to 'emulators')
-rw-r--r--emulators/caprice32/distinfo3
-rw-r--r--emulators/caprice32/patches/patch-src_configuration.h14
2 files changed, 16 insertions, 1 deletions
diff --git a/emulators/caprice32/distinfo b/emulators/caprice32/distinfo
index 6c5a1236ae3..cf6649e35e2 100644
--- a/emulators/caprice32/distinfo
+++ b/emulators/caprice32/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2020/04/22 08:13:39 nia Exp $
+$NetBSD: distinfo,v 1.3 2021/04/25 08:04:13 nia Exp $
SHA1 (caprice32-4.6.0.tar.gz) = 15cf01ea5237260a941d82363677bf61c502e2d5
RMD160 (caprice32-4.6.0.tar.gz) = 845b37aff8ecacbae43cd90bf181efdee97b2fb6
@@ -7,3 +7,4 @@ Size (caprice32-4.6.0.tar.gz) = 591257 bytes
SHA1 (patch-doc_man6_cap32.6) = 977a6c1ad050123a342bb370e0a30ae28efc0ac1
SHA1 (patch-makefile) = 2a4ec14d66d66168c325ed4fbf9a259b4477d8ca
SHA1 (patch-src_cap32.cpp) = 24a5b40809079b81ff23be3983c20dd0391213d9
+SHA1 (patch-src_configuration.h) = e65afeffc111067e0c00bc57c4f61e587addf700
diff --git a/emulators/caprice32/patches/patch-src_configuration.h b/emulators/caprice32/patches/patch-src_configuration.h
new file mode 100644
index 00000000000..32b77a85b0e
--- /dev/null
+++ b/emulators/caprice32/patches/patch-src_configuration.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_configuration.h,v 1.1 2021/04/25 08:04:14 nia Exp $
+
+Add missing include, fixing build with gcc10.
+
+--- src/configuration.h.orig 2020-03-14 14:36:08.000000000 +0000
++++ src/configuration.h
+@@ -2,6 +2,7 @@
+ #define CONFIGURATION_H
+
+ #include <map>
++#include <string>
+
+ namespace config
+ {