Patch posted to wrong bug number.

--- Begin Message ---
Hi,

Attached you will find a patch which makes gnubg compile with gcc 4.0.

Cheers,

Peter (p2).
diff -urN gnubg-0.12/gtkprefs.c fixed/gnubg-0.12/gtkprefs.c
--- gnubg-0.12/gtkprefs.c       2001-10-31 16:57:40.000000000 +0100
+++ fixed/gnubg-0.12/gtkprefs.c 2005-08-27 22:01:21.000000000 +0200
@@ -42,10 +42,12 @@
     gtk_color_selection_set_opacity
 #endif
 
+GtkWidget *pwBoard;
+
 static GtkAdjustment *apadj[ 2 ], *paAzimuth, *paElevation,
     *apadjCoefficient[ 2 ], *apadjExponent[ 2 ], *apadjPoint[ 2 ],
     *padjBoard, *padjSpeed;
-static GtkWidget *apwColour[ 2 ], *apwPoint[ 2 ], *pwBoard, *pwTranslucent,
+static GtkWidget *apwColour[ 2 ], *apwPoint[ 2 ],  *pwTranslucent,
     *pwLabels, *pwUseDiceIcon, *pwPermitIllegal, *pwBeepIllegal,
     *pwHigherDieFirst, *pwAnimateNone, *pwAnimateBlink, *pwAnimateSlide,
     *pwSpeed;
diff -urN gnubg-0.12/sgf.c fixed/gnubg-0.12/sgf.c
--- gnubg-0.12/sgf.c    2001-11-01 16:47:56.000000000 +0100
+++ fixed/gnubg-0.12/sgf.c      2005-08-27 21:57:10.000000000 +0200
@@ -279,6 +279,7 @@
            break;
            
        default:
+           break;
            /* ignore */
        }
 

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to