pkgng/pkgng — pull request #176 by infracaninophile (2012-04-02 09:21:19+00:00)
Title: Fix SIGFPE when SHLIBS: yes is set in pkg.conf

(analyse_elf) Extract some data to do with dynamic libraries from shdr
within the loop scanning all ELF sections, while shdr still refers to
the .DYNAMIC section.

(analyse_elf) Don't try and read data from the notes section if no
notes section was found.

(analyse_elf) No need to read shlibs and autodeps configuration
settings from pkg.conf in this function.

(test_depends) Call dlclose() when returning early because of not
doing autodeps processing.

(pkgdb_register_pkg) Delete duplicated block of code.