Hi,

anyone else has KDEnetwork built on Solaris10 ? I think that
KDEnetwork needs to build on S10 ....  patch something like this ...

diff -r c2abc92fb324 specs/include/kde-common.spec
--- a/specs/include/kde-common.spec     Wed Dec 03 13:02:22 2008 +0100
+++ b/specs/include/kde-common.spec     Wed Dec 03 14:55:27 2008 +0100
@@ -37,8 +37,8 @@ CXX="CC -library=no%Cstd"
 CXX="CC -library=no%Cstd"
 export CC CXX

-CFLAGS="-D__EXTENSIONS__ -DSOLARIS %CPPFLAGS_C %CFLAGS"
-CXXFLAGS="-D__EXTENSIONS__ -DSOLARIS %CPPFLAGS_CXX %CXXFLAGS"
+CFLAGS="-D__EXTENSIONS__ -D_XPG4_2 -DSOLARIS %CPPFLAGS_C %CFLAGS"
+CXXFLAGS="-D__EXTENSIONS__ -D_XPG4_2 -DSOLARIS %CPPFLAGS_CXX %CXXFLAGS"
 export CFLAGS CXXFLAGS

 linker_common="-L%{_foss_prefix}/lib -R%{_foss_prefix}/lib -liconv
-lstdcxx -L/usr/lib -R/usr/lib -lxml2 -lCrun -lrt -lsocket
-L/usr/X11/lib -R/usr/X11/lib"


I'm not sure if is great idea put -D_XPG4_2 generally for all KDE
stuff, but KDEnetwork on S10 doesn't build without that define.

Idea ?

L

-- 
Lukas 'Luc' Oboril
IRC nickname: luc^ at freenode


When dealing with people, let us remember we are not dealing with
creatures of logic. We are dealing with creatures of emotions,
creatures bristling with prejudices and motivated by pride and vanity.
  Dale Carnegie

Reply via email to