Beef up deps tests
libharu: fix build without XQuartz

Fixes #17051.
ffmpeg: add --enable-avresample

This option was on by default in previous versions.

Fixes #17004.
Fixes #16348.
gource: fix configure on OS X

Fixes #15808.
QEMU: critical bugfix for semaphore fallback code.

Closes #17041.

Signed-off-by: Austin Seipp <mad.one@gmail.com>
Closes #17041.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
gource: update patch comment
Only mark install as attempted if it was actually attempted

Commit 30a08f5cc707 ("Don't attempt installation multiple times") was
correct in raising FormulaInstallationAlreadyAttemptedError early enough
to prevent the other exceptions in #check_install_sanity from being
raised, but it should not have moved the point at which formulae are
added to the attempted set. Doing so prevents the installer from being
instantiated multiple times on the same formula, even if installation
was never attempted.

Put it back where it belongs.
omniORB 4.1.6

Closes #15119.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>