Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2005 14:18:04 +0100 (CET)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/78017: math/graphthing: fix for compilation on >= 5.x
Message-ID:  <20050224131804.B5097171F7@mud.stack.nl>
Resent-Message-ID: <200502241320.j1ODKGci047414@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         78017
>Category:       ports
>Synopsis:       math/graphthing: fix for compilation on >= 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 24 13:20:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 22:31:14 CET 2005 root@mud.stack.nl:/usr/obj/usr/src/sys/mud i386


	
>Description:
	
	New g++ won't allow pointers to protected functions.
	Fix: make the required function public.

>How-To-Repeat:
	
>Fix:

	

	Include extra files/patch-src_gui.h:

--- src/gui.h.orig	Thu Feb 24 14:11:10 2005
+++ src/gui.h	Thu Feb 24 14:11:12 2005
@@ -140,7 +140,6 @@ public:
 class ParamDialog : public Gtk::Dialog
 {
 protected:
-	void ok_click ();
 
 	virtual int delete_event_impl (GdkEventAny *ev);
 	virtual void get_data () = 0;
@@ -148,6 +147,7 @@ protected:
 public:
 	bool cancelled;
 
+	void ok_click ();
 	ParamDialog (const String &title = "Prefab Parameter");
 };
 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050224131804.B5097171F7>