diff options
Diffstat (limited to 'core/openssl/PKGBUILD')
-rw-r--r-- | core/openssl/PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/core/openssl/PKGBUILD b/core/openssl/PKGBUILD index 0ba2aaa30..64fc2220d 100644 --- a/core/openssl/PKGBUILD +++ b/core/openssl/PKGBUILD @@ -18,11 +18,13 @@ backup=('etc/ssl/openssl.cnf') source=("https://www.openssl.org/source/${pkgname}-${_ver}.tar.gz" 'fix-manpages.patch' 'no-rpath.patch' - 'ca-dir.patch') + 'ca-dir.patch' + 'openssl-1.0.1a_cpu.patch') md5sums=('a0104320c0997cd33e18b8ea798609d1' '5bbc0655bda2af95bc8eb568963ce8ba' 'dc78d3d06baffc16217519242ce92478' - '3bf51be3a1bbd262be46dc619f92aa90') + '3bf51be3a1bbd262be46dc619f92aa90' + '8edaef3ee595707c18fcbd7dafae940f') build() { cd $srcdir/$pkgname-$_ver @@ -34,6 +36,9 @@ build() { patch -p0 -i $srcdir/no-rpath.patch # set ca dir to /etc/ssl by default patch -p0 -i $srcdir/ca-dir.patch + # fix building on non-x86 + # see http://rt.openssl.org/Ticket/Display.html?id=2795&user=guest&pass=guest + patch -p1 -i $srcdir/openssl-1.0.1a_cpu.patch case "${CARCH}" in 'x86_64') |