Re: [Kmatplot-general] as requested: patch file
Brought to you by:
kamil
From: L. <Gre...@cr...> - 2002-12-17 10:03:24
|
Thanks a lot for this patch... The only thing I had to do was to disable opengl, and then the compilation succeeded... I haven't looked a lot of time if everything is all right in kmatplot, but it seems to... Thanks a lot Nick. Greg=20 Le lun 16/12/2002 =E0 19:48, nicster a =E9crit : > Ok, here's the patch I made which gives the diffs to > get kmatplot0.4 to compile and run on mandrake 9.0. >=20 > I have no idea if I can send attachments to this > mailing list, so if this doesn't work, tell me and > I'll put the file online somewhere else.. >=20 > Instructions for whoever might need them or not:=20 > 1. get kmatplot-0.4 from kmatplot.sourceforge.net if > you haven't already got it.=20 > 2. tar zxvf kmatplot-0.4.tar.gz=20 > 3. put this tiny patch in the kmatplot-0.4 directory.=20 > 3. Open up a console and type: > patch -p1 < kmatplot-0.4mdk.patch=20 >=20 > As you can see if you take a look in the patch, the > main problems were introduced with the newer version > of gcc requiring code to adhere more strictly to c++ > standards (in the kmatplot-0.4 code, there are some > default arguments were in function definitions as well > as in header files, and friend classes were not > explicitly defined as being classes). There were also > a few #include and namespace issues. >=20 > Can you give me some feedback if it works or not. It > works on my machine but you never know with computers > do you ?! >=20 > Nick |