Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2006 21:58:32 GMT
From:      Matthias Sund<m.sund@arcor.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/107048: [build fix] devel/codeblocks
Message-ID:  <200612212158.kBLLwWH3020793@www.freebsd.org>
Resent-Message-ID: <200612212200.kBLM0X7G027360@freefall.freebsd.org>

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

>Number:         107048
>Category:       ports
>Synopsis:       [build fix] devel/codeblocks
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 21 22:00:32 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Sund
>Release:        6-Stable
>Organization:
>Environment:
FreeBSD travelmate 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Thu Dec 14 22:15:07 CET 2006     masu@travelmate:/usr/obj/usr/src/sys/TRAVELMATE  i386
>Description:
Fixing build errors reported by pointyhat:
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006121307/
concerning GCC 4.1 build.
>How-To-Repeat:

>Fix:
diff -ruN codeblocks_orig/files/patch-sdk-editormanager.h codeblocks/files/patch-sdk-editormanager.h
--- codeblocks_orig/files/patch-sdk-editormanager.h	Thu Jan  1 01:00:00 1970
+++ codeblocks/files/patch-sdk-editormanager.h	Wed Dec 20 23:56:00 2006
@@ -0,0 +1,11 @@
+--- sdk/editormanager.h.orig	Wed Dec 20 23:49:21 2006
++++ sdk/editormanager.h	Wed Dec 20 23:50:21 2006
+@@ -126,7 +126,7 @@
+ 
+         /** Builds Opened Files tree in the Projects tab
+           */
+-        wxTreeCtrl *EditorManager::GetTree();
++        wxTreeCtrl *GetTree();
+         wxTreeItemId FindTreeFile(const wxString& filename);
+         wxString GetTreeItemFilename(wxTreeItemId item);
+         void BuildOpenedFilesTree(wxWindow* parent);
diff -ruN codeblocks_orig/files/patch-sdk-managedthread.h codeblocks/files/patch-sdk-managedthread.h
--- codeblocks_orig/files/patch-sdk-managedthread.h	Thu Jan  1 01:00:00 1970
+++ codeblocks/files/patch-sdk-managedthread.h	Thu Dec 21 00:03:44 2006
@@ -0,0 +1,13 @@
+--- sdk/managedthread.h.orig	Thu Dec 21 00:02:41 2006
++++ sdk/managedthread.h	Thu Dec 21 00:03:05 2006
+@@ -11,8 +11,8 @@
+ class ManagedThread : public wxThread
+ {
+ public:
+-    ManagedThread::ManagedThread(bool* abortflag  = 0L);
+-    virtual ManagedThread::~ManagedThread();
++    ManagedThread(bool* abortflag  = 0L);
++    virtual ~ManagedThread();
+     static unsigned long count_running();
+     static unsigned long count_threads();
+     static void abort_all(); // Warning! Once set, can't be reset!
diff -ruN codeblocks_orig/files/patch-sdk-xtra_classes.h codeblocks/files/patch-sdk-xtra_classes.h
--- codeblocks_orig/files/patch-sdk-xtra_classes.h	Thu Jan  1 01:00:00 1970
+++ codeblocks/files/patch-sdk-xtra_classes.h	Thu Dec 21 00:01:55 2006
@@ -0,0 +1,25 @@
+--- sdk/xtra_classes.h.orig	Wed Dec 20 23:59:57 2006
++++ sdk/xtra_classes.h	Thu Dec 21 00:00:55 2006
+@@ -18,8 +18,8 @@
+ class wxSplitPanel : public wxPanel
+ {
+ public:
+-    wxSplitPanel::wxSplitPanel() { /*nothing to init, really */ }
+-    wxSplitPanel::wxSplitPanel(wxWindow* parent, wxWindowID id = -1,
++    wxSplitPanel() { /*nothing to init, really */ }
++    wxSplitPanel(wxWindow* parent, wxWindowID id = -1,
+                                const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
+                                long style = wxTAB_TRAVERSAL, const wxString& name = _T("splitpanel"),const wxString configname = wxEmptyString,int defaultsashposition = 150)
+     {
+@@ -33,9 +33,9 @@
+       * If only one is found, the panel is not split.
+       *
+       */
+-    void wxSplitPanel::RefreshSplitter(int idtop,int idbottom);
++    void RefreshSplitter(int idtop,int idbottom);
+ 
+-    virtual wxSplitPanel::~wxSplitPanel();
++    virtual ~wxSplitPanel();
+     wxSplitterWindow* GetSplitter() { return (this) ? m_splitter : 0L; }
+     void SetConfigEntryForSplitter(const wxString& splitterconfig){ m_SplitterConfig = splitterconfig; }
+ protected:
diff -ruN codeblocks_orig/files/patch-src-main.cpp codeblocks/files/patch-src-main.cpp
--- codeblocks_orig/files/patch-src-main.cpp	Thu Jan  1 01:00:00 1970
+++ codeblocks/files/patch-src-main.cpp	Thu Dec 21 00:20:02 2006
@@ -0,0 +1,11 @@
+--- src/main.cpp.orig	Thu Dec 21 00:18:40 2006
++++ src/main.cpp	Thu Dec 21 00:19:06 2006
+@@ -65,7 +65,7 @@
+ class wxMyFileDropTarget : public wxFileDropTarget
+ {
+ public:
+-    wxMyFileDropTarget::wxMyFileDropTarget(MainFrame *frame):m_frame(frame){}
++    wxMyFileDropTarget(MainFrame *frame):m_frame(frame){}
+     virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames)
+     {
+         if(!m_frame) return false;
diff -ruN codeblocks_orig/files/patch-src-wxDockit-include-wx-barholder.h codeblocks/files/patch-src-wxDockit-include-wx-barholder.h
--- codeblocks_orig/files/patch-src-wxDockit-include-wx-barholder.h	Thu Jan  1 01:00:00 1970
+++ codeblocks/files/patch-src-wxDockit-include-wx-barholder.h	Thu Dec 21 00:17:16 2006
@@ -0,0 +1,11 @@
+--- src/wxDockit/include/wx/barholder.h.orig	Thu Dec 21 00:14:59 2006
++++ src/wxDockit/include/wx/barholder.h	Thu Dec 21 00:15:51 2006
+@@ -39,7 +39,7 @@
+     }
+ 
+     // Normal constructor
+-    wxBarHolder::wxBarHolder( wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,
++    wxBarHolder( wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,
+         const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL, const wxString& name = wxT("barholder") ) {
+         Init();
+ 

>Release-Note:
>Audit-Trail:
>Unformatted:



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