Package: xaralx
Version: 0.7r1785-3
Severity: critical

The package fails to build from source.

In ubuntu we fixed this with the attached patches.

#! /bin/sh /usr/share/dpatch/dpatch-run
## Description: add some description
## Origin/Author: add some origin or author
## Bug: bug URL
## 40_fix_gcc4.dpatch by  <oem@oem-laptop>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad xaralx-0.7r1785~/wxOil/basebar2.cpp 
xaralx-0.7r1785/wxOil/basebar2.cpp
--- xaralx-0.7r1785~/wxOil/basebar2.cpp 2007-11-07 00:48:25.000000000 +0000
+++ xaralx-0.7r1785/wxOil/basebar2.cpp  2010-04-10 11:52:39.000000000 +0100
@@ -4564,8 +4564,8 @@
 // 
-----------------------------------------------------------------------------------------
 // Message map - maintained by Class Wizard.
 
-BEGIN_EVENT_TABLE( BaseBar, wxWindow )
 #pragma message( __LOCMSG__ "Removed BaseBar message map" )
+BEGIN_EVENT_TABLE( BaseBar, wxWindow )
 /*     ON_WM_NCCALCSIZE()
        ON_WM_NCPAINT()
        ON_WM_NCACTIVATE()
#! /bin/sh /usr/share/dpatch/dpatch-run
## 55_fix_contstuctor_call.dpatch by Jean-Louis Dupond <jean-lo...@dupond.be>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' 
'--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' 
xaralx-0.7r1785-3ubuntu1~/Kernel/cnamecol.cpp 
xaralx-0.7r1785-3ubuntu1/Kernel/cnamecol.cpp
--- xaralx-0.7r1785-3ubuntu1~/Kernel/cnamecol.cpp       2010-05-05 
06:55:57.000000000 +0200
+++ xaralx-0.7r1785-3ubuntu1/Kernel/cnamecol.cpp        2011-07-13 
10:47:18.388037727 +0200
@@ -145,7 +145,7 @@
 CNamedColourReplacer::CNamedColourReplacer(ColourFillAttribute* pFillAttr, 
DocColour* pColour)
 {
        // call the default constructor that NULLs all the member pointers
-       CNamedColourReplacer::CNamedColourReplacer();
+       CNamedColourReplacer();
        Initialise(pFillAttr, pColour);
 }
 

Reply via email to