kovpn-0.3_pre6 fails to build - a pointer is casted to an int .... x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O3 -march=k8 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o traywindow.o traywindow.cpp traywindow.cpp:220:10: warning: multi-line comment traywindow.cpp:253:10: warning: multi-line comment traywindow.cpp:277:10: warning: multi-line comment traywindow.cpp: In member function 'void TrayWindow::dereg(openVPNManager*)': traywindow.cpp:119: error: cast from 'openVPNManager*' to 'int' loses precision traywindow.cpp: In member function 'void TrayWindow::reg(openVPNManager*)': traywindow.cpp:137: error: cast from 'openVPNManager*' to 'int' loses precision
added upstream to cc
Created attachment 92548 [details, diff] Patch to fix compile on x86_64
Created attachment 92549 [details] Updated ebuild to apply compile patch This fixes the problem for me.
Patch works at least for me, thx ;)
In cvs