summaryrefslogtreecommitdiff
path: root/games/xarchon/patches
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-10-17 21:38:31 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-22 08:47:29 +0700
commitead7da872a36cf5180acef0eddd837665255a512 (patch)
tree66738a0d7877ac52b97d545db43e268ccf746018 /games/xarchon/patches
parent82d864dbfc0bb33ac47eda86fb93570b0274d6a4 (diff)
downloadslackbuilds-ead7da872a36cf5180acef0eddd837665255a512.tar.gz
games/xarchon: Remove non-functional Adept game.
Diffstat (limited to 'games/xarchon/patches')
-rw-r--r--games/xarchon/patches/no_adept.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/xarchon/patches/no_adept.diff b/games/xarchon/patches/no_adept.diff
new file mode 100644
index 0000000000..d751f4c60c
--- /dev/null
+++ b/games/xarchon/patches/no_adept.diff
@@ -0,0 +1,23 @@
+diff -Naur xarchon-0.60/src/qt/qtguiwidget.cpp xarchon-0.60.patched/src/qt/qtguiwidget.cpp
+--- xarchon-0.60/src/qt/qtguiwidget.cpp 2002-01-09 13:34:33.000000000 -0500
++++ xarchon-0.60.patched/src/qt/qtguiwidget.cpp 2016-10-17 21:34:55.885894979 -0400
+@@ -31,8 +31,8 @@
+
+ menubar->insertItem("gameArchon", popup, "New Game of Archon",
+ this, SLOT(gameArchon()));
+- menubar->insertItem("gameAdept", popup, "New Game of Adept",
+- this, SLOT(gameAdept()));
++ // menubar->insertItem("gameAdept", popup, "New Game of Adept",
++ // this, SLOT(gameAdept()));
+ menubar->insertItem("gameUnpause", popup, "Un&pause",
+ this, SLOT(gameUnpause()), Qt::Key_Escape);
+ menubar->insertItem("gameStop", popup, "&Stop",
+@@ -121,7 +121,7 @@
+ void QtGuiWidget::setSensitiveOptions(bool game_active)
+ {
+ menubar->setEnabled("gameArchon", !game_active);
+- menubar->setEnabled("gameAdept", !game_active);
++ // menubar->setEnabled("gameAdept", !game_active);
+ menubar->setEnabled("gameStop", game_active);
+ menubar->setEnabled("settingsPlayers", !game_active);
+ menubar->setEnabled("settingsTheme", !game_active);