pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/qonk



Module Name:    pkgsrc
Committed By:   dholland
Date:           Sat Dec 31 10:01:11 UTC 2016

Modified Files:
        pkgsrc/games/qonk: Makefile distinfo
Added Files:
        pkgsrc/games/qonk/patches: patch-src_messages.cpp

Log Message:
Fix message display color. PKGREVISION -> 11


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/games/qonk/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/qonk/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/qonk/patches/patch-src_messages.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/qonk/Makefile
diff -u pkgsrc/games/qonk/Makefile:1.14 pkgsrc/games/qonk/Makefile:1.15
--- pkgsrc/games/qonk/Makefile:1.14     Tue Dec 13 19:17:42 2016
+++ pkgsrc/games/qonk/Makefile  Sat Dec 31 10:01:11 2016
@@ -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/}
 

Index: pkgsrc/games/qonk/distinfo
diff -u pkgsrc/games/qonk/distinfo:1.4 pkgsrc/games/qonk/distinfo:1.5
--- pkgsrc/games/qonk/distinfo:1.4      Tue Nov  3 20:57:02 2015
+++ pkgsrc/games/qonk/distinfo  Sat Dec 31 10:01:11 2016
@@ -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-ap) = 3f21ccc5a37e9c16648e53
 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

Added files:

Index: pkgsrc/games/qonk/patches/patch-src_messages.cpp
diff -u /dev/null pkgsrc/games/qonk/patches/patch-src_messages.cpp:1.1
--- /dev/null   Sat Dec 31 10:01:11 2016
+++ pkgsrc/games/qonk/patches/patch-src_messages.cpp    Sat Dec 31 10:01:11 2016
@@ -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