1 | | I think snowleopard needs to have `libmacho-headers` added as a dependency for this to build correctly. That port provides a newer version of `<mach-o/getsect.h>` that adds a definition for the missing function, `getsectiondata`. I'll try that out on the VM. |
| 1 | I think snowleopard needs to have `libunwind` added as a build dependency. That pulls in `libunwind-headers` and also `libmacho` on < 10.7, as per this bit from the libunwind Portfile: |
| 2 | {{{ |
| 3 | if {${os.major} < 11} { |
| 4 | # Snow Leopard's libSystem's libmacho does not contain getsectiondata() |
| 5 | |
| 6 | depends_build-append port:libmacho |
| 7 | configure.cppflags-append -DUSE_MACPORTS_LIBUNWIND |
| 8 | configure.ldflags-append -lmacho |
| 9 | } |
| 10 | }}} |