pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Error upgrading wm/icewm



Hello,

wm/icewm is a bit outdated, so I try to upgrade pkgsrc to the
last version. I still can't solve a compilation error.
The upgrade is here http://www.tumfatig.net/icewm-1.3.2-TRY.tar.gz

I still can't compile icewm-imlib because of the following errors:
===> Building for icewm-imlib-1.3.2nb1
gmake[1]: Entering directory `/tmp/pkgwork/wm/icewm-imlib/work/icewm-1.3.2/src'
  CXX      ypaint.o
ypaint.cc: In member function 'void Graphics::drawImage(const ref<YImage>&, 
int, int)':
ypaint.cc:694: error: passing 'const YImage' as 'this' argument of 'virtual 
void YImage::draw(Graphics&, int, int)' discards qualifiers
ypaint.cc: In member function 'void Graphics::drawImage(const ref<YImage>&, 
int, int, int, int, int, int)':
ypaint.cc:698: error: passing 'const YImage' as 'this' argument of 'virtual 
void YImage::draw(Graphics&, int, int, int, int, int, int)' discards qualifiers
ypaint.cc: In member function 'void Graphics::compositeImage(const 
ref<YImage>&, int, int, int, int, int, int)':
ypaint.cc:808: error: passing 'const YImage' as 'this' argument of 'virtual 
void YImage::composite(Graphics&, int, int, int, int, int, int)' discards 
qualifiers
ypaint.cc: In member function 'void Graphics::drawGradient(const ref<YImage>&, 
int, int, int, int, int, int, int, int)':
ypaint.cc:1041: error: passing 'const YImage' as 'this' argument of 'virtual 
ref<YImage> YImage::scale(int, int)' discards qualifiers
gmake[1]: *** [ypaint.o] Error 1
gmake[1]: Leaving directory `/tmp/pkgwork/wm/icewm-imlib/work/icewm-1.3.2/src'
gmake: *** [base] Error 2
*** Error code 2

Anyone knows which modification to apply to src/ypaint.cc ?
TIA,
        Jo

Attachment: pgpDgJKEo4fCh.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index