SOURCES: codeblocks-gcc4.patch (NEW) - build fixes.

pluto pluto at pld-linux.org
Mon Mar 6 11:13:18 CET 2006


Author: pluto                        Date: Mon Mar  6 10:13:18 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- build fixes.

---- Files affected:
SOURCES:
   codeblocks-gcc4.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/codeblocks-gcc4.patch
diff -u /dev/null SOURCES/codeblocks-gcc4.patch:1.1
--- /dev/null	Mon Mar  6 11:13:18 2006
+++ SOURCES/codeblocks-gcc4.patch	Mon Mar  6 11:13:13 2006
@@ -0,0 +1,71 @@
+--- codeblocks-1.0rc2/src/sdk/editormanager.h.orig	2005-10-25 09:59:02.000000000 +0200
++++ codeblocks-1.0rc2/src/sdk/editormanager.h	2006-03-06 10:54:11.853264250 +0100
+@@ -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);
+--- codeblocks-1.0rc2/src/sdk/managedthread.h.orig	2005-04-07 07:47:26.000000000 +0200
++++ codeblocks-1.0rc2/src/sdk/managedthread.h	2006-03-06 10:54:28.990335250 +0100
+@@ -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!
+--- codeblocks-1.0rc2/src/sdk/xtra_classes.h.orig	2005-08-27 22:27:14.000000000 +0200
++++ codeblocks-1.0rc2/src/sdk/xtra_classes.h	2006-03-06 10:55:17.337356750 +0100
+@@ -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:
+--- codeblocks-1.0rc2/src/src/main.cpp.orig	2006-03-06 10:46:44.000000000 +0100
++++ codeblocks-1.0rc2/src/src/main.cpp	2006-03-06 10:58:43.154050750 +0100
+@@ -69,7 +69,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;
+--- codeblocks-1.0rc2/src/src/wxDockit/include/wx/barholder.h.orig	2005-09-08 09:55:24.000000000 +0200
++++ codeblocks-1.0rc2/src/src/wxDockit/include/wx/barholder.h	2006-03-06 11:00:04.503303500 +0100
+@@ -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();
+ 
================================================================


More information about the pld-cvs-commit mailing list