svn commit: r330158 - head/games/assaultcube/files

Danilo Egea Gondolfo danilo at FreeBSD.org
Sat Oct 12 17:55:51 UTC 2013


Author: danilo
Date: Sat Oct 12 17:55:50 2013
New Revision: 330158
URL: http://svnweb.freebsd.org/changeset/ports/330158

Log:
  - Add forgotten patches
  
  Reported by:	Sender Ghost <lightside at gmx.com> (maintainer)
  Approved by:	wg/culot (mentors, implicit)

Added:
  head/games/assaultcube/files/patch-source_src_console.h   (contents, props changed)
  head/games/assaultcube/files/patch-source_src_master.cpp   (contents, props changed)

Added: head/games/assaultcube/files/patch-source_src_console.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/assaultcube/files/patch-source_src_console.h	Sat Oct 12 17:55:50 2013	(r330158)
@@ -0,0 +1,17 @@
+--- source/src/console.h.orig	2013-10-09 12:27:31.000000000 +0400
++++ source/src/console.h	2013-10-11 02:23:35.000000000 +0400
+@@ -127,7 +127,7 @@
+     }
+ };
+ 
+-/** WIP ALERT */
++/** WIP ALERT *//*
+ struct textinputbuffer_wip
+ {
+     string buf;
+@@ -257,4 +257,4 @@
+         return false;
+     }
+ };
+-
++*/

Added: head/games/assaultcube/files/patch-source_src_master.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/assaultcube/files/patch-source_src_master.cpp	Sat Oct 12 17:55:50 2013	(r330158)
@@ -0,0 +1,11 @@
+--- source/src/master.cpp.orig	2013-10-09 12:27:37.000000000 +0400
++++ source/src/master.cpp	2013-10-11 02:26:24.000000000 +0400
+@@ -510,7 +510,7 @@
+     authreq &a = c.authreqs.add();
+     a.reqtime = servtime;
+     a.id = id;
+-    uint seed[3] = { starttime, servtime, randomMT() };
++    uint seed[3] = { (uint)starttime, servtime, randomMT() };
+     static vector<char> buf;
+     buf.setsize(0);
+     a.answer = genchallenge(u->pubkey, seed, sizeof(seed), buf);


More information about the svn-ports-all mailing list