aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-08-08 23:19:09 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-08-08 23:19:09 +0800
commitea20d38461235599267288eea5c4f8d31ebdd9a0 (patch)
tree934f38a5114f6d65db6fa8849674689b4c1ae502
parent3975202ce04251129b7028c94a680acfa4f4bd39 (diff)
downloadfreebsd-ports-gnome-ea20d38461235599267288eea5c4f8d31ebdd9a0.tar.gz
freebsd-ports-gnome-ea20d38461235599267288eea5c4f8d31ebdd9a0.tar.zst
freebsd-ports-gnome-ea20d38461235599267288eea5c4f8d31ebdd9a0.zip
- Fix build with clang
-rw-r--r--games/qnetwalk/files/patch-cell.cpp20
-rw-r--r--games/qnetwalk/files/patch-cell.h0
2 files changed, 20 insertions, 0 deletions
diff --git a/games/qnetwalk/files/patch-cell.cpp b/games/qnetwalk/files/patch-cell.cpp
new file mode 100644
index 000000000000..3ae69f72ec0a
--- /dev/null
+++ b/games/qnetwalk/files/patch-cell.cpp
@@ -0,0 +1,20 @@
+--- cell.cpp.orig 2008-03-30 13:29:12.000000000 +0400
++++ cell.cpp 2013-08-07 21:24:52.637031376 +0400
+@@ -19,7 +19,7 @@
+ Cell::PixmapMap Cell::shadowpixmap;
+ Cell::PixmapMap Cell::connectedpixmap;
+ Cell::PixmapMap Cell::disconnectedpixmap;
+-Cell::Cell * Cell::focusedCell = 0;
++Cell * Cell::focusedCell = 0;
+
+
+ void Cell::setGameOver(bool b)
+@@ -28,7 +28,7 @@
+ }
+
+
+-Cell::Cell * Cell::focused()
++Cell * Cell::focused()
+ {
+ return focusedCell;
+ }
diff --git a/games/qnetwalk/files/patch-cell.h b/games/qnetwalk/files/patch-cell.h
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/games/qnetwalk/files/patch-cell.h