[libdispatch-dev] [PATCH] various portability issues

Mark Heily mark at heily.com
Tue Nov 9 17:51:03 PST 2010


I have attached a collection of patches that allows libdispatch to build on
Linux and Solaris. Many thanks to Joakim Johansson for providing the Solaris
patches and testing everything.

The commands I used to build on Linux are:

  CC="clang" LD="llvm-ld-2.8" CFLAGS="-I/usr/local" \
  LDFLAGS="-L/usr/local" LIBS="-lbsd" ./configure && make

The commands Joakim used to build on Solaris are:

  ./configure CFLAGS="-m64 -I/usr/local/include" \
  LDFLAGS="-L/usr/local/lib” gmake

Please review these and consider them for inclusion in the trunk.

Regards,

 - Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attribute_unused.patch
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/libdispatch-dev/attachments/20101109/0d41a4fe/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getexecname.patch
Type: text/x-patch
Size: 1485 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/libdispatch-dev/attachments/20101109/0d41a4fe/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libpthread_workqueue.patch
Type: text/x-patch
Size: 1026 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/libdispatch-dev/attachments/20101109/0d41a4fe/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: private-extern.patch
Type: text/x-patch
Size: 1021 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/libdispatch-dev/attachments/20101109/0d41a4fe/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: time.patch
Type: text/x-patch
Size: 684 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/libdispatch-dev/attachments/20101109/0d41a4fe/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unused_value.patch
Type: text/x-patch
Size: 483 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/libdispatch-dev/attachments/20101109/0d41a4fe/attachment-0005.bin>


More information about the libdispatch-dev mailing list