Some software needed patching, in order to build:

1)  "extern inline" is broken, with the Apple GCC
    this breaks most of GTK+, but also GNU tar...

I hacked around the issue, just to make the bootstrap work OK:
http://www.algonet.se/~afb/openpkg/tar-1.19-apple_nocode.patch

2) Bash doesn't work with the old readline lib version,
   and the system linker ignores static libs by default.

So this needs to be added to Bash build:
export LDFLAGS="-Wl,-search_paths_first"

3) System headers now have stat64(2) and different
   constness, and the dirent.h fields were changed.

This broke some of the old RPM code, but is easy to update for:
http://www.algonet.se/~afb/openpkg/rpm-4.2.1-darwin_leopard.patch

4) Lots of system daemons and utilities are gone,
   being replaced with new ones and new configs...

These need replacing: niutil, StartupItems, crontab
I replaced the user/group creation, launchd* is TODO.


Here is the result, after modifications:
http://www.algonet.se/~afb/openpkg/openpkg-20071019-20071019.txt

Partial diff file, with some TODO still:
http://www.algonet.se/~afb/openpkg/openpkg-20071019-20071019.diff

--anders

* http://en.wikipedia.org/wiki/Launchd

______________________________________________________________________
OpenPKG                                             http://openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to