Hi!

On Sat, Dec 16, 2006 at 11:08:24AM +0000, Edwin Groothuis wrote:

> edwin       2006-12-16 11:08:24 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     games/groundhog      Makefile 
>   Log:
>   mark as USE_GCC=3.4 to overcome 4.1 issues
>   
>   Revision  Changes    Path
>   1.16      +1 -0      ports/games/groundhog/Makefile

Attached patch fixes the problem with gcc 4.1.
I think that USE_GCC should be used in very rare cases.

/fjoe
Index: files/patch-src-element.h
===================================================================
RCS file: files/patch-src-element.h
diff -N files/patch-src-element.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ files/patch-src-element.h   16 Dec 2006 13:15:54 -0000
@@ -0,0 +1,10 @@
+--- src/element.h.orig Sat Dec 16 18:57:18 2006
++++ src/element.h      Sat Dec 16 18:57:31 2006
+@@ -24,6 +24,7 @@
+ class Element {
+ public:
+   Element() {}
++  virtual ~Element() {}
+   virtual void PutBall(Ball* ball);
+   virtual void MoveBall(Ball* ball) = 0;
+   virtual void ConnectLeft(Element* element) = 0;
Index: files/patch-src-options_dialog.h
===================================================================
RCS file: files/patch-src-options_dialog.h
diff -N files/patch-src-options_dialog.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ files/patch-src-options_dialog.h    16 Dec 2006 13:16:14 -0000
@@ -0,0 +1,11 @@
+--- src/options_dialog.h.orig  Sat Dec 16 18:57:43 2006
++++ src/options_dialog.h       Sat Dec 16 18:57:50 2006
+@@ -28,7 +28,7 @@
+    Game*      _game;
+    GtkWidget* _tooltips;
+ 
+-   void OptionsDialog::OnOk();
++   void OnOk();
+ public:
+    OptionsDialog(Game* game);
+ };
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to