Created attachment 67984 [details] patch Version: unspecified (using Devel) OS: Solaris build of marble 4.7.97 fails with the below error. the attached patch fixes it for me Reproducible: Always Steps to Reproduce: [ 75%] Building CXX object src/plugins/render/satellites/CMakeFiles/SatellitesPlugin.dir/SatellitesModel.o cd /opt/test2/packages/BUILD/marble-4.7.97/build-marble-4.7.97/src/plugins/render/satellites && /opt/test2/SolarisStudio12.3-solaris-x86-bin/solarisstudio12.3/bin/CC -DMAKE_SATELLITESPLUGIN_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DMARBLE_DBUS -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -D__EXTENSIONS__ -DSOLARIS -DLDAP_DEPRECATED -library=stdcxx4 -D_REENTRANT -DNDEBUG -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DNO_DEBUG -D_UNICODE -DUNICODE -D_RWSTD_REENTRANT -D_XOPEN_SOURCE=500 -D_XPG5 -I/opt/kde4/include -features=extensions,nestedaccess,tmplrefstatic -template=geninlinefuncs -s -xlang=c99 -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc -Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -xbuiltin=%all -xinline=%auto -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -KPIC -DPIC -xipo=0 -xO3 -xregs=no%frameptr -xjobs=2 -xrestrict=%all -xthreadvar=%all -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now -z rescan -z absexec -xldscope=symbolic -xlibmil -s -m32 -xarch=sse2 -lc -lm -ldl -lpthread -lposix4 -lrt -Y P,/opt/kde4/lib -i -L/opt/kde4/lib -R/opt/kde4/lib -L/usr/lib -R/usr/lib -Bdynamic -library=stdcxx4 -lCrun -lc -lm -g -xO3 -DQT_NO_DEBUG -KPIC -I/opt/test2/packages/BUILD/marble-4.7.97/build-marble-4.7.97/src/plugins/render/satellites -I/opt/test2/packages/BUILD/marble-4.7.97/src/plugins/render/satellites -I/opt/test2/packages/BUILD/marble-4.7.97 -I/opt/test2/packages/BUILD/marble-4.7.97/src/lib -I/opt/test2/packages/BUILD/marble-4.7.97/src/lib/Projections -I/opt/test2/packages/BUILD/marble-4.7.97/src/lib/geodata -I/opt/test2/packages/BUILD/marble-4.7.97/src/lib/geodata/data -I/opt/test2/packages/BUILD/marble-4.7.97/src/lib/geodata/graphicsitem -I/opt/test2/packages/BUILD/marble-4.7.97/src/lib/geodata/handlers/dgml -I/opt/test2/packages/BUILD/marble-4.7.97/src/lib/geodata/parser -I/opt/test2/packages/BUILD/marble-4.7.97/src/lib/geodata/writer -I/opt/test2/packages/BUILD/marble-4.7.97/src/lib/geodata/scene -I/opt/test2/packages/BUILD/marble-4.7.97/src/lib/graphicsview -I/opt/test2/packages/BUILD/marble-4.7.97/src/lib/graphicsview/screengraphicsitem -I/opt/test2/packages/BUILD/marble-4.7.97/build-marble-4.7.97/src -I/opt/test2/packages/BUILD/marble-4.7.97/build-marble-4.7.97/src/lib -I/opt/test2/packages/BUILD/marble-4.7.97/src/plugins/render/satellites/src/plugins/render/satellites -I/opt/kde4/include -I/opt/kde4/include/QtGui -I/opt/kde4/include/QtCore -o CMakeFiles/SatellitesPlugin.dir/SatellitesModel.o -c /opt/test2/packages/BUILD/marble-4.7.97/src/plugins/render/satellites/SatellitesModel.cpp Actual Results: "/opt/test2/packages/BUILD/marble-4.7.97/src/plugins/render/satellites/SatellitesModel.cpp", line 42: Error: LC_NUMERIC is not defined. "/opt/test2/packages/BUILD/marble-4.7.97/src/plugins/render/satellites/SatellitesModel.cpp", line 65: Error: LC_NUMERIC is not defined. Expected Results: builds ok Solaris 11, Solaris Studio 12.3, x86
Git commit 4c5400326dfa36d52c7210177faf8f833ba49458 by Dennis Nienhüser. Committed on 19/01/2012 at 17:44. Pushed by nienhueser into branch 'master'. Add missing locale.h include Patch by tropikhajma, thanks! M +1 -0 src/plugins/render/satellites/SatellitesModel.cpp http://commits.kde.org/marble/4c5400326dfa36d52c7210177faf8f833ba49458
Git commit bfad9c75caabf86e13f444b28908fe047d8cba90 by Dennis Nienhüser. Committed on 19/01/2012 at 17:44. Pushed by nienhueser into branch 'KDE/4.8'. Add missing locale.h include Patch by tropikhajma, thanks! (cherry picked from commit 4c5400326dfa36d52c7210177faf8f833ba49458) M +1 -0 src/plugins/render/satellites/SatellitesModel.cpp http://commits.kde.org/marble/bfad9c75caabf86e13f444b28908fe047d8cba90