Apothecary: FreeImage Formula 3.16.0 OSX 32-libstdc++ / 64-libc++.

(cherry picked from commit 41477a8ae961d31fcb4b900b09d4327a426d5209)
Apothecary formula for FreeImage on win32.

(cherry picked from commit 9a049f0aa23949c9d733d3bfd55312125a62444d)
Fixed FreeImage formula for win32.

(cherry picked from commit e923727c21707805bc7de9d97e33f0972d72ae3a)
Update to also copy FreeImage dlls to export/

(cherry picked from commit a836345907e0d8b19313da9abb2975ad71b864e7)
Apothecary: Formula FreeImage 3.16.0 for iOS (arm64, arm7, arm7s, i386, x86_64)

- Custom makefile for iOS created to put power of target arch into the
Apothecary script and bypass errors
- In line hot fixes for arm64 for some of the sub-libraries of
FreeImage.

(cherry picked from commit 7d3566540a04a9cd8ed528bac2dd98d1b034d38d)
Apothecary Formula: FreeImage 3.16.0 Updated for iOS

- Fixes symbolic linking issues by patching FreeImage (patch sent to
FreeImage repo as well).  https://github.com/danoli3/FreeImage
- Patch
https://github.com/danoli3/FreeImage/commit/f069aaefc6724fa9c8065a47000b
31212024e9d6.patch
- Fixes broken make file from FreeImage 3.16.0
- Fixes broken clean script from FreeImage 3.16.0
- Architectures arm64, armv7, armv7s, i386, x86_64

(cherry picked from commit 6cf42098dfa93da93e9a6562d51baad2a24df146)
Apothecary Formula: FreeImage 3.16.0 Updated for IOS Neon Fix

- Fixes linking errors to ARM achitectures due to ARM Neon

(cherry picked from commit 4321823ca1c2db381ea165ac88cc430c3f74eb08)
apothecary: Freeimage android

(cherry picked from commit edc3c9c94a297c1c3ab6731851d8d5e6fd32da6f)
Apothecary: Formula FreeImage 3.16.0 for iOS (arm64, armv7, i386, x86_64)

- Updated and removed armv7s
- Fixed location deployment
Merge pull request #3446 from danoli3/apothecary-freeimage-cherry

Apothecary - FreeImage 3.16.0 - Formulae
Update apothecary to OSX_MIN_SDK_VER=10.7.

OSX_MIN_SDK_VER=10.7 to support libc++.
Initial skeleton openssl apothecary script.

(cherry picked from commit 672bf6d40adc66e4fc3626bcd49bed4e9aa92c32)
(cherry picked from commit 8709478ad8b4fb57d25d042cf6ad373653d554cc)
(cherry picked from commit b3108813d0c7e7e283eb8ce4d6e4398097e2618d)
Apothecary: OpenSSL Formula iOS (armv7, armv7s, arm64, i386, x86_64)

- Adds formula for iOS compile for OpenSSL for all targeted
architectures.

(cherry picked from commit e9d7c9d7786b5781e5159a3b24482782dbbfe052)
(cherry picked from commit 4cb41804e8245d50c134c3a17f77fa34de57c518)
(cherry picked from commit c3088afa75c829fb3b6250f7bc7a98a79f89dd18)
Apothecary: OpenSSL Formula iOS Update (armv7, armv7s, arm64, i386, x86_64)

### Changes

- In this version updated to be clang compiled
- gnu11 c standard
- Fixed issues with i386 simulator in linking stages
- Fixed simulator targets (had incorrect min version, was causing
issues in compiling for clang as well as symbolic linking errors later).
- Fixed configure script for i386
- Building with optimised -Os flag
- fPIC on (requirement)
- Logs now outputted to log file (cleans up the console a bit) (will
implement in others)

### Validation:
- Verified it works :D! (or the custom build script for OpenSSL which
I cloned from this)
https://travis-ci.org/x2on/OpenSSL-for-iPhone/builds/36021963
- Tested compiled libraries against OpenSSL Xcode project (tested i386,
x86_64, armv7, arm64)

(cherry picked from commit fcf5835762fd187c173fb371e4d01044667c6d38)
(cherry picked from commit 907aa51c86a49c719296fbe55b85403ac4e4bf56)
(cherry picked from commit ced07472ca13b6e432068250a02cfa13a03002b7)
add openssl recipe for OSX fat lib

(cherry picked from commit 8c5b908ec3e99f0d52c17c502f7e8a43c5c43c20)
(cherry picked from commit 2d707252a513e44456a3f1788ab7b7b790cc8fca)
(cherry picked from commit 05e71365b75a4a33e6abae67e0572d92793509b7)
apothecary: openssl android

(cherry picked from commit b20b510314294e1e3e54cf84066448105abfdd68)

Conflicts:
	scripts/apothecary/formulas/android_configure.sh
	scripts/apothecary/formulas/openssl.sh

(cherry picked from commit 7cbf76e80e0b43e3640e4de7f091094f428844f7)
(cherry picked from commit c0c960be446479503164ecbefe8c857a00f5c4df)
Apothecary: OpenSSL Formula iOS Update 1.0.1j (armv7, arm64, i386, x86_64)

- Updated to ```1.0.1j``` (latest)
- Removed ```armv7s```

(cherry picked from commit 2a0e749817ad7a565e99549264dbffe73936b770)
(cherry picked from commit 55f228e94e2ee0953dfa91494c879937e22012f3)
(cherry picked from commit 109a16e2f345da08706f015b85432fdf9be6aca2)
Apothecary Formula Fix For OpenSSL - iOS

(cherry picked from commit fb8ff667183a101ec92ea3eb344ad81a8de5bc8c)
(cherry picked from commit f90ce90a04a81207d53597ba392edffba3eaf058)
Merge pull request #3447 from danoli3/apothecary-openssl-cleaned

Apothecary -  OpenSSL 1.0.1j Formulae
ofTimer: fix timeouts of more than 2 seconds