pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/qonk Fix message display color. PKGREVISION -> 11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb086ce0ad46
branches:  trunk
changeset: 356438:bb086ce0ad46
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sat Dec 31 10:01:11 2016 +0000

description:
Fix message display color. PKGREVISION -> 11

diffstat:

 games/qonk/Makefile                       |   4 ++--
 games/qonk/distinfo                       |   3 ++-
 games/qonk/patches/patch-src_messages.cpp |  28 ++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 3 deletions(-)

diffs (61 lines):

diff -r 9e7247fab61c -r bb086ce0ad46 games/qonk/Makefile
--- a/games/qonk/Makefile       Sat Dec 31 09:39:31 2016 +0000
+++ b/games/qonk/Makefile       Sat Dec 31 10:01:11 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2016/12/13 19:17:42 dholland Exp $
+# $NetBSD: Makefile,v 1.15 2016/12/31 10:01:11 dholland Exp $
 #
 
 DISTNAME=      qonk-0.3.1
-PKGREVISION=   10
+PKGREVISION=   11
 CATEGORIES=    games
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=qonk/}
 
diff -r 9e7247fab61c -r bb086ce0ad46 games/qonk/distinfo
--- a/games/qonk/distinfo       Sat Dec 31 09:39:31 2016 +0000
+++ b/games/qonk/distinfo       Sat Dec 31 10:01:11 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 20:57:02 agc Exp $
+$NetBSD: distinfo,v 1.5 2016/12/31 10:01:11 dholland Exp $
 
 SHA1 (qonk-0.3.1.tar.gz) = 703fc8282642ff20986c9a395dc6626d4b087ed9
 RMD160 (qonk-0.3.1.tar.gz) = 6ed1ad1fb67cea6677d39d1201da1eca9ea4479b
@@ -20,4 +20,5 @@
 SHA1 (patch-src_lisp_lexer.cpp) = 3bc2da31dbb72487a96655d0494083a357c10a28
 SHA1 (patch-src_lisp_lisp_cpp) = 4dfa6c287a221c38348531ef5bceb55d7d20f872
 SHA1 (patch-src_lisp_parser.cpp) = 4cafcda558d3b4a1bc0efb1ecbad55f045b58532
+SHA1 (patch-src_messages.cpp) = b8a5a4c37c2e12da57def85184344ed7fb79dda8
 SHA1 (patch-src_sdl__driver.cpp) = 338a2aa7fa17761ff88d088cdd701be8d7c5fedf
diff -r 9e7247fab61c -r bb086ce0ad46 games/qonk/patches/patch-src_messages.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/qonk/patches/patch-src_messages.cpp Sat Dec 31 10:01:11 2016 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-src_messages.cpp,v 1.1 2016/12/31 10:01:11 dholland Exp $
+
+Fix display color of (some) messages.
+
+--- src/messages.cpp.orig      2007-09-14 05:43:03.000000000 +0000
++++ src/messages.cpp
+@@ -21,8 +21,8 @@ Message::Message( Uint32 time, string me
+ Message::Message( Uint32 time, string message, Uint32 displayTime, Uint32 color ) {
+   this->message = string( "[" ) + Timer::getTimeMMSS(time) + "] " + message;
+   this->displayTime = displayTime;
+-  this->r = getGreen( color );
+-  this->g = getRed( color );
++  this->r = getRed( color );
++  this->g = getGreen( color );
+   this->b = getBlue( color );
+ }
+ 
+@@ -37,8 +37,8 @@ Message::Message( Uint32 time, string me
+ Message::Message( Uint32 time, string message, Uint32 color ) {
+   this->message = string( "[" ) + Timer::getTimeMMSS(time) + "] " + message;
+   this->displayTime = 10000;
+-  this->r = getGreen( color );
+-  this->g = getRed( color );
++  this->r = getRed( color );
++  this->g = getGreen( color );
+   this->b = getBlue( color );
+ }
+ 



Home | Main Index | Thread Index | Old Index