ports/78017: math/graphthing: fix for compilation on >= 5.x
Johan van Selst
johans at stack.nl
Thu Feb 24 13:20:17 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list