Compile fixes for OS X

Tanner Lovelace clubjuggler at gmail.com
Fri Mar 24 19:02:59 CET 2006


Greetings,

Attached are three patches to help compiling on OS X.
Could someone with subversion access please look them
over and commit them if they meet scrutiny?  Thanks.

The first one, kdelibs-kio-misc-kpac-discovery.cpp-fix.patch,
addresses a header file check for arpa/nameser8_compat.h
that was apparently never setup.  Without it,
kdelibs/kio/misc/kpac/discovery.cpp doesn't compile.

The second one, kjs-apple-fix-operations.h.patch, adds
an apple specific include because of some apple
specific inline definitions that require including math.h.

The third one is only applicable under panther (OS X 10.3)
so it may be ok to leave it off if it is decided that
OS X 10.4 (tiger) should be the minimum version required.
Either way, the patch works under both panther and
tiger.

In addition to these three patches, I've had trouble
compiling kdelibs/kdecore/netsupp.cpp unless I
add kdebug.h and ksocks.h as includes.  However,
I'm still investigating why I'm getting this error, so I'm
not comfortable sending in a patch just yet.

Finally, the current cmake setup for OS X assumes
that it is being compiled with Qt/Mac.  KDE on OS X,
however, should be able to be compiled with either Qt/Mac
or Qt/X11.  I'd like to look into adding some cmake
options to let the user pick which version they want to
compile (perhaps defaulting to KDE/Mac).  This may
be applicable to compiling under windows too since I
assume two different versions of KDE (X11 and native win)
could be compiled there too.

Cheers,
Tanner Lovelace
--
Tanner Lovelace
clubjuggler at gmail dot com
http://wtl.wayfarer.org/
(fieldless) In fess two roundels in pale, a billet fesswise and an
increscent, all sable.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs-kio-misc-kpac-discovery.cpp-fix.patch
Type: application/octet-stream
Size: 969 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060324/6e39fd1d/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kjs-apple-fix-operations.h.patch
Type: application/octet-stream
Size: 340 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060324/6e39fd1d/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kjs-apple-fix-regex-panther.patch
Type: application/octet-stream
Size: 745 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060324/6e39fd1d/attachment-0005.obj 


More information about the Kde-buildsystem mailing list