Summary of issues that need to be properly fixed upstream:
  * http://forums.codeblocks.org/index.php/topic,18394.0.html
  * https://trac.macports.org/ticket/40390


  * http://developer.berlios.de/bugs/?func=detailbug&bug_id=19136&group_id=5358
    patch-src-src-Makefile.in.diff
    * hardcoded libcodeblocks.la -> libcodeblocks.dylib
  * http://developer.berlios.de/bugs/?func=detailbug&bug_id=19110&group_id=5358
    patch-nodebug.diff
    * remove LDFLAGS="-Wl,--no-undefined" (which also overwrites other LDFLAGS)
      it should be LDFLAGS="... $LDFLAGS"
  * http://developer.berlios.de/bugs/?func=detailbug&bug_id=19114&group_id=5358
    patch-malloc.diff
    * test for sys/malloc.h instead of malloc.h
  * http://developer.berlios.de/bugs/?func=detailbug&bug_id=19135&group_id=5358
    reinplace "s|CB_HUNSPELL_LIBS =|CB_HUNSPELL_LIBS = -lhunspell-1.3.0|"
    * missing support for detection of hunspell on Mac
  * http://developer.berlios.de/bugs/?func=detailbug&bug_id=19139&group_id=5358
    patch-src-plugins-contrib-NassiShneiderman-NassiView.cpp.diff
    * wxIcon doesn't work on Mac
  * patch-Makefile.diff

Lower priority (only an issue with wxGTK):
  * http://developer.berlios.de/bugs/?func=detailbug&bug_id=19116&group_id=5358
    patch-src-plugins-contrib-source_exporter-Makefile.diff
    * the need to add -lfontconfig to libexporter_la_LDFLAGS (probably libexporter_la_LIBADD would also work) in Makefile[.am]
