Adjust paths in source packages to what haikuporter produces.
Update libsolv and zlib packages for consolidation.

* only the source package are actually relevant, as the source paths
  within older versions of those source packages no longer match the
  expectations of the build system
Fix build

Declare a HOST_PTHREAD_LINKFLAGS variable to hold the flags
required to link with pthreads, and use it for the solver addon.

Works on GNU/Linux, please test and fix for other platforms.
Actually fix the build

Looks like I was too quick on previous commit.

It seems -pthread is actually not that much needed on Linux though...
although the manpage says "compile and link with -pthread". Go figure.

Now dlopen() uses RTLD_LAZY | RTLD_LOCAL for Linux, which seems
to work here.
HaikuDepot: improve progress tracking.

- PackageManager: Adjust progress listener interface to also supply
  the package name to the hook. Adjust implementors.

- PackageActions now get a pointer to the model. InstallPackageAction
  uses that to resolve the package name given in the download progress hook
  to the package currently being downloaded, and updates progress accordingly.
  Consequently, if one requests installation of a package that has dependencies,
  Depot now correctly updates the download progress status of those
  accordingly, rather than updating the original package repeatedly.
usb_disk: fix line endings; no functional change

* Occurred in hrev46099
* Line endings dos2unix
* Remove extra lines at end of file
* Jerome! Get a better text editor :-)
usb_disk: retry when usb disk not ready

* Resolves #10043
* Fixes a non-booting issue due to hrev46099
build: Add stub _get_thread_info() needed by support/Referenceable.cpp

This is a step towards fixing #10042.

When DEBUG is set BReferenceable::~BReferenceable() performs some checks
ensuring that the object is destroyed correctly. These checks require
information on thread stack, which is obtained by get_thread_info().

_get_thread_info() stub is added (actually, readded) which always returns
B_ERROR. Moreover, the check in BReferenceable destructor is modified
so that it does not fail when get_thread_info() fails.
kits/support: Skip debug check in boot loader
kernel/util: Make exit() available in kernel mode

Since we are using libraries originally intendent for user mode in kernel
mode providing them with some userland functions is inevitable. This
particular patch is to make zlib happy and able to call exit() when
its debug assertions fails.
Remove which command from default image

 * This was a script relying on a working /etc/profile, which may not be
there
 * Instead, use GNU which, available as an haikuport recipe
 * Since the command does not seem to be needed for Haiku to run (and
also because I don't know how to do it), GNU which isn't in the default
 install.
 * Typing "which" in a terminal still works, as that uses an alias
defined directly in /etc/profile.
Rename parameters to avoid compile error

 * warning: declaration of `signal' shadows global declaration
Add more keywords, variables and functions
kernel/util: Make exit() available in bootloader as well
build: Reenable debug mode for tarfs
virtio_pci: fixes the build and an unused variable warning.
RAWTranslator: fixed a warning

the code uses a double[4][3] array as a double cameraXYZ[0][12] array.
Add missing definitions to math.h

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
Add glibc ilogbl implemenation

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
Add s_ldexpl.c to x86 jamfile

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>