pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/KoboDeluxe



Module Name:    pkgsrc
Committed By:   joerg
Date:           Wed Mar 18 17:54:55 UTC 2020

Modified Files:
        pkgsrc/games/KoboDeluxe: distinfo
Added Files:
        pkgsrc/games/KoboDeluxe/patches: patch-graphics_window.cpp

Log Message:
Fix const correctness with C++-aware string.h.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/games/KoboDeluxe/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/games/KoboDeluxe/patches/patch-graphics_window.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/KoboDeluxe/distinfo
diff -u pkgsrc/games/KoboDeluxe/distinfo:1.8 pkgsrc/games/KoboDeluxe/distinfo:1.9
--- pkgsrc/games/KoboDeluxe/distinfo:1.8        Tue Oct  8 16:13:12 2019
+++ pkgsrc/games/KoboDeluxe/distinfo    Wed Mar 18 17:54:54 2020
@@ -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 @@ SHA512 (KoboDeluxe-0.5.1.tar.bz2) = fc10
 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

Added files:

Index: pkgsrc/games/KoboDeluxe/patches/patch-graphics_window.cpp
diff -u /dev/null pkgsrc/games/KoboDeluxe/patches/patch-graphics_window.cpp:1.1
--- /dev/null   Wed Mar 18 17:54:55 2020
+++ pkgsrc/games/KoboDeluxe/patches/patch-graphics_window.cpp   Wed Mar 18 17:54:54 2020
@@ -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