-- Originally posted by (AT sourceforge.net): tthierry -- -- This ticket was imported from http://sourceforge.net/p/rkward/bugs/83 on 2017-05-30 15:26:44 +0100 -- Hello, I'm trying to upgrade rkward from 0.5.4 to 0.5.5 \(FreeBSD\) and it fails with the hereunder error: cd /usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend && /usr/local/libexec/ccache/c++ -D\_GNU\_SOURCE -DQT\_NO\_STL -DQT\_NO\_CAST\_TO\_ASCII -D\_REENTRANT -DKDE\_DEPRECATED\_WARNINGS -DQT\_NO\_CAST\_TO\_ASCII -DRKWARD\_SPLIT\_PROCESS -O2 -pipe -march=pentiumpro -fno-strict-aliasing -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT\_NO\_DEBUG -I/usr/local/lib/R/include -I/usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend -I/usr/local/kde4/include -I/usr/local/include/qt4/phonon -I/usr/local/include/qt4/QtXmlPatterns -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtUiTools -I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScriptTools -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtMultimedia -I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/QtDeclarative -I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/QtAssistant -I/usr/local/include/qt4/Qt3Support -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4 -o CMakeFiles/rkward.rbackend.dir/rksignalsupport.o -c /usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp /usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp:27: error: conflicting declaration 'typedef void \(\* \_\_sighandler\_t\)\(int\)' /usr/include/sys/signal.h:141: error: '\_\_sighandler\_t' has a previous declaration as 'typedef void \(\_\_sighandler\_t\)\(int\)' /usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp:46: error: function 'void RKSignalSupportPrivate::r\_sigint\_handler\(int\)' is initialized like a variable /usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp: In function 'void RKSignalSupport::installSigIntAndUsrHandlers\(void \(\*\)\(\)\)': /usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp:164: error: 'r\_sigint\_handler' is not a member of 'RKSignalSupportPrivate' /usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp:166: error: 'r\_sigint\_handler' is not a member of 'RKSignalSupportPrivate' /usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp: In function 'void RKSignalSupport::callOldSigIntHandler\(\)': /usr/ports/math/rkward-kde4-0.5.5/work/rkward-0.5.5/rkward/rbackend/rksignalsupport.cpp:177: error: 'r\_sigint\_handler' is not a member of 'RKSignalSupportPrivate' \*\*\* Error code 1 No patch available ATM\!
Whoops. Somehow, apparently, sourceforge did send me the usual e-mail notification for your report, and so I missed it until today. Sorry\! Could you please try replacing rksignalsupport.cpp with this version: http://rkward.svn.sourceforge.net/viewvc/rkward/trunk/rkward/rkward/rbackend/rksignalsupport.cpp?revision=3522 ? Does that fix the problem?
- **assigned_to**: nobody --> tfry
-- Originally posted by (AT sourceforge.net): tthierry -- No problem for the delay: I was traveling abroad, and didn't work on this problem. Just tested rksignalsupport.cpp revision=3522 and, indeed, it fixes the problem on FreeBSD\! Thanks.
-- Originally posted by (AT sourceforge.net): tthierry -- - **status**: open --> open-fixed
- **status**: open-fixed --> closed-fixed