simplify OSX platform detection in makefile using xcode-select.  based on patch from John Pender
simplify OSX platform detection in makefile using xcode-select.  based on patch from John Pender
simplify OSX platform detection in makefile using xcode-select.  based on patch from John Pender
simplify OSX platform detection in makefile using xcode-select.  based on patch from John Pender
simplify OSX platform detection in makefile using xcode-select.  based on patch from John Pender
Enable RGB and YUV input for hires quantization filter
Don't use nonportable (and redundant) GCC construct.

This doesn't exist in all versions of GCC, and the #else case generates
the same assembly code anyway with -O2.
video plugin should call VidExt_Quit when it is done
Avoid wrong colors in compressed fxt1 textures

mesa-7.8.1-24878-g3998cfa has better support for fxt1 and can even make the
YUV/ARGB hacks unnecessary. Mesa is now the upstream for this code and
therefore it is a good source when upgrading.
Allow to replace patented S3TC algorithm with compatible txc_dxtn

The S3TC is patented in some countries which makes it hard for distribution.
Mesa is using an external library which is using a compatible algorithm called
S2TC. But also S3TC implementations of this library are available.

Distributions can use this option to be on the safe side regarding the provided
functionality.
Don't try to reinit txc_dxtn when it was already loaded
fix compiler warning
fix build error with MAKE DEBUGGER=1 and newer binutils
merge heads
Replace patented S3TC algorithm with S2TC 57881ec6
Fix warnings in S2TC
Remove finished asm2C item from TODO list
Reset PIF_RAMb 46,47 after the n64_cic_nus_6105 challenge
The Banjo Tooie response check fails when the PIF RAM is is not set to zero
for byte 46 and 47.
Fix saveslot selection for SDL2

The IDs for SDL scancodes don't start from SDL_SCANCODE_0 and end at
SDL_SCANCODE_9. Therefore, SDL_SCANCODE_9 is bigger than SDL_SCANCODE_0 (which
violates a precondition of the key check) and this makes it impossible to
select a saveslot using the numbers on the keyboard.

Using a special (order independent) function which translates to the slot ids
avoids this problem and can still be optimized to a simple range check +
calculation by the compiler.
Remove SDL unicode keycode compat code

SDL 2.0 cannot store unicode anymore. Pre-2.0 versions provided this
field but it was removed right before the 2.0 release. Still using it
makes the compile fail.