pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/KoboDeluxe Fix const correctness with C++-aware ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/17f3667d8166
branches: trunk
changeset: 413340:17f3667d8166
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Mar 18 17:54:54 2020 +0000
description:
Fix const correctness with C++-aware string.h.
diffstat:
games/KoboDeluxe/distinfo | 3 ++-
games/KoboDeluxe/patches/patch-graphics_window.cpp | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 0804e385f287 -r 17f3667d8166 games/KoboDeluxe/distinfo
--- a/games/KoboDeluxe/distinfo Wed Mar 18 17:53:45 2020 +0000
+++ b/games/KoboDeluxe/distinfo Wed Mar 18 17:54:54 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2019/10/08 16:13:12 ryoon Exp $
+$NetBSD: distinfo,v 1.9 2020/03/18 17:54:54 joerg Exp $
SHA1 (KoboDeluxe-0.5.1.tar.bz2) = bc49dbbae562baffd312444b373c7ebbf5e233c6
RMD160 (KoboDeluxe-0.5.1.tar.bz2) = b196054f2220fe1b479a490723b1f5da4e74aa1f
@@ -6,4 +6,5 @@
Size (KoboDeluxe-0.5.1.tar.bz2) = 1781752 bytes
SHA1 (patch-enemies.h) = a3e9fb60581d7a7bcb079ceda5d1271f923470cd
SHA1 (patch-enemy.cpp) = dbec6a60bb6a26cac66498584b3f100c6acd5f21
+SHA1 (patch-graphics_window.cpp) = 608b7eff6222bdd50f2cc575adb32903bba573ab
SHA1 (patch-kobo.cpp) = 958b9b40caee7dc3d67edbe3b834eed5f2af6beb
diff -r 0804e385f287 -r 17f3667d8166 games/KoboDeluxe/patches/patch-graphics_window.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/KoboDeluxe/patches/patch-graphics_window.cpp Wed Mar 18 17:54:54 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-graphics_window.cpp,v 1.1 2020/03/18 17:54:54 joerg Exp $
+
+--- graphics/window.cpp.orig 2020-03-18 13:31:58.788125295 +0000
++++ graphics/window.cpp
+@@ -398,7 +398,7 @@ void window_t::center_token_fxp(int _x,
+ */
+ if(token)
+ {
+- char *tok = strchr(txt, token);
++ const char *tok = strchr(txt, token);
+ if(tok)
+ tokpos = tok-txt;
+ else
Home |
Main Index |
Thread Index |
Old Index