$NetBSD: patch-ae,v 1.6 2009/03/18 01:03:36 jmcneill Exp $

--- blackjack/src/game.cpp.orig	2009-01-18 19:18:40.000000000 -0500
+++ blackjack/src/game.cpp
@@ -41,6 +41,7 @@
 
 #define RULES_GROUP "Blackjack Rules"
 
+#include <cctype>
 #include <iostream>
 using namespace std;
 
@@ -119,7 +120,7 @@ bj_game_file_to_name (const gchar* file)
                 *p = ' ';
         for (p = buf; p = strchr (p, '-'), p && *p;)
                 *p = ' ';
-        buf[0] = toupper (buf[0]);
+        buf[0] = toupper ((unsigned char) buf[0]);
         p = g_strdup (_(buf));
 
         g_free (buf);
