openbsd-ports/games/csmash/patches/patch-matrix
jdixon a63eb5aa25 Cannon Smash is a 3D table tennis game. The goal of the project is
to provide a computer game rendition of table tennis that allows the 
use of various strategies available in the real game.

Adapted from the FreeBSD port.

Input from okan, martynas, landry, ajacoutot
Tested by many
ok landry@ ajacoutot@
2008-07-06 20:43:20 +00:00

13 lines
350 B
Plaintext

$OpenBSD: patch-matrix,v 1.1.1.1 2008/07/06 20:43:20 jdixon Exp $
--- matrix.orig Fri Jul 4 22:11:40 2008
+++ matrix Fri Jul 4 22:11:51 2008
@@ -42,7 +42,7 @@
/* __BEGIN__BEGIN__ */
//__NAMESPACE_BEGIN(ese);
-#if (!defined __GNUG__) || (__GNUC__ == 3)
+#if (!defined __GNUG__) || (__GNUC__ >= 3)
template<typename T>
void swap(T& a, T& b)
{