Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139327 - kovpn-0.3_pre6 fails on x86_64
Summary: kovpn-0.3_pre6 fails on x86_64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-05 08:53 UTC by August Hörandl
Modified: 2006-09-14 02:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix compile on x86_64 (amd64_compile.diff,941 bytes, patch)
2006-07-23 05:39 UTC, Steven Coutts
Details | Diff
Updated ebuild to apply compile patch (kovpn-0.3_pre6-r1.ebuild,606 bytes, text/plain)
2006-07-23 05:40 UTC, Steven Coutts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description August Hörandl 2006-07-05 08:53:08 UTC
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
Comment 1 Michael Imhof (RETIRED) gentoo-dev 2006-07-05 10:03:40 UTC
added upstream to cc
Comment 2 Steven Coutts 2006-07-23 05:39:48 UTC
Created attachment 92548 [details, diff]
Patch to fix compile on x86_64
Comment 3 Steven Coutts 2006-07-23 05:40:37 UTC
Created attachment 92549 [details]
Updated ebuild to apply compile patch

This fixes the problem for me.
Comment 4 boris64 2006-07-23 07:55:46 UTC
Patch works at least for me, thx ;)
Comment 5 Christian Hartmann (RETIRED) gentoo-dev 2006-09-14 02:48:30 UTC
In cvs