diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-03-19 13:35:06 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-03-19 13:35:06 +0800 |
commit | 716e853082f85512d878931d3c2903f4a669c7e8 (patch) | |
tree | 3a24d58f313f014bb8f3aca107a85ec50d2fb1df /games/gnome-games/files | |
parent | ea6bb0f0996a0cf559b13cfa9aef24e8199d6a23 (diff) | |
download | marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.tar marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.tar.gz marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.tar.bz2 marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.tar.lz marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.tar.xz marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.tar.zst marcuscom-ports-716e853082f85512d878931d3c2903f4a669c7e8.zip |
Remove these ports now that they have been committed to FreeBSD.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8576 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnome-games/files')
-rw-r--r-- | games/gnome-games/files/patch-aisleriot_cscmi.c | 12 | ||||
-rw-r--r-- | games/gnome-games/files/patch-blackjack_src_game.cpp | 10 | ||||
-rw-r--r-- | games/gnome-games/files/patch-blackjack_src_player.cpp | 75 |
3 files changed, 0 insertions, 97 deletions
diff --git a/games/gnome-games/files/patch-aisleriot_cscmi.c b/games/gnome-games/files/patch-aisleriot_cscmi.c deleted file mode 100644 index 2966e6c41..000000000 --- a/games/gnome-games/files/patch-aisleriot_cscmi.c +++ /dev/null @@ -1,12 +0,0 @@ ---- aisleriot/cscmi.c.orig Tue Nov 7 17:49:43 2006 -+++ aisleriot/cscmi.c Tue Nov 7 17:49:53 2006 -@@ -637,8 +637,8 @@ cscmi_drop_cards (int start_slot, GList - cscmi_call_lambda, - call_data, cscmi_catch_handler, NULL); - retval = call_data->retval; -- g_free (call_data); - scm_gc_unprotect_object (call_data->arg2); -+ g_free (call_data); - - return SCM_NFALSEP (retval); - } diff --git a/games/gnome-games/files/patch-blackjack_src_game.cpp b/games/gnome-games/files/patch-blackjack_src_game.cpp deleted file mode 100644 index e99798100..000000000 --- a/games/gnome-games/files/patch-blackjack_src_game.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- blackjack/src/game.cpp.orig Wed Apr 13 15:44:11 2005 -+++ blackjack/src/game.cpp Wed Apr 13 15:45:24 2005 -@@ -24,6 +24,7 @@ - - #include <stdlib.h> - #include <string.h> -+#include <ctype.h> - #include <glib/gi18n.h> - #include <glib/gstdio.h> - #include <libxml/tree.h> diff --git a/games/gnome-games/files/patch-blackjack_src_player.cpp b/games/gnome-games/files/patch-blackjack_src_player.cpp deleted file mode 100644 index 0a2d1ac3b..000000000 --- a/games/gnome-games/files/patch-blackjack_src_player.cpp +++ /dev/null @@ -1,75 +0,0 @@ ---- blackjack/src/player.cpp.orig Tue Jul 6 12:56:50 2004 -+++ blackjack/src/player.cpp Tue Jul 6 12:59:29 2004 -@@ -262,8 +262,8 @@ - // Player can always stand. - - bestValue = value = getValueStand (*lplayer, upCard); -- mark_list[num_options++] = g_strdup_printf (" %s %8.2lf%%\n", -- _("Stand"), value * 100); -+ mark_list[num_options++] = g_strdup_printf (" %s %8.2Lf%%\n", -+ _("Stand"), (long double)(value * 100)); - bestOption = KEY_S; - bestOptionNumber = num_options; - -@@ -271,8 +271,8 @@ - if (bj_hand_can_be_hit ()) { - value = getValueHit (*lplayer, upCard); - -- mark_list[num_options++] = g_strdup_printf (" %s %8.2lf%%\n", -- _("Hit"), value * 100); -+ mark_list[num_options++] = g_strdup_printf (" %s %8.2Lf%%\n", -+ _("Hit"), (long double)(value * 100)); - if (value > bestValue) { - bestValue = value; - bestOption = KEY_H; -@@ -282,8 +282,8 @@ - // Check if player can double down. - if (bj_hand_can_be_doubled ()) { - value = getValueDoubleDown (*lplayer, upCard); -- mark_list[num_options++] = g_strdup_printf (" %s %8.2lf%%\n", -- _("Double"), value * 100); -+ mark_list[num_options++] = g_strdup_printf (" %s %8.2Lf%%\n", -+ _("Double"), (long double)(value * 100)); - if (value > bestValue) { - bestValue = value; - bestOption = KEY_D; -@@ -296,8 +296,8 @@ - - if (bj_hand_can_be_split ()) { - value = getValueSplit(lplayer->cards[0].value (), upCard); -- mark_list[num_options++] = g_strdup_printf (" %s %8.2lf%%\n", -- _("Split"), value * 100); -+ mark_list[num_options++] = g_strdup_printf (" %s %8.2Lf%%\n", -+ _("Split"), (long double)(value * 100)); - if (value > bestValue) { - bestValue = value; - bestOption = KEY_P; -@@ -308,8 +308,8 @@ - // Check if player can surrender. - if (bj_hand_can_be_surrendered ()) { - value = -0.5; -- mark_list[num_options++] = g_strdup_printf (" %s %8.2lf%%\n", -- _("Surrender"), value * 100); -+ mark_list[num_options++] = g_strdup_printf (" %s %8.2Lf%%\n", -+ _("Surrender"), (long double)(value * 100)); - if (value > bestValue) { - bestValue = value; - bestOption = KEY_R; -@@ -439,12 +439,12 @@ - reset (); - - mark_list[0] = g_strdup_printf ("<b>%s</b>\n", _("Dealer hand probabilities")); -- mark_list[1] = g_strdup_printf (" %s %5.2lf%%\n", _("Bust"), -- getProbabilityBust (lupCard) * 100.0 / notBlackjack); -+ mark_list[1] = g_strdup_printf (" %s %5.2Lf%%\n", _("Bust"), -+ (long double)(getProbabilityBust (lupCard) * 100.0 / notBlackjack)); - for (int count = 17; count <= 21; count++) { -- mark_list[count-15] = g_strdup_printf (" %2d %5.2lf%%\n", count, -- getProbabilityCount (count, lupCard) -- * 100.0 / notBlackjack); -+ mark_list[count-15] = g_strdup_printf (" %2d %5.2Lf%%\n", count, -+ (long double)(getProbabilityCount (count, lupCard) -+ * 100.0 / notBlackjack)); - } - - markup = g_strconcat ("<span size=\"small\" font_family=\"monospace\" foreground=\"#eaeac1\">", |