From a6548a48d0de97c3ee9836806eef3df634ef847c Mon Sep 17 00:00:00 2001
From: Joey Hess <joeyh@joeyh.name>
Date: Wed, 7 Jan 2015 14:49:04 -0400
Subject: fix BIGNUM related openssh build breakage

---
 standalone/android/Makefile | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'standalone/android')

diff --git a/standalone/android/Makefile b/standalone/android/Makefile
index f6ae8fdba..261259bf4 100644
--- a/standalone/android/Makefile
+++ b/standalone/android/Makefile
@@ -21,6 +21,9 @@ $(GIT_ANNEX_ANDROID_SOURCETREE):
 	git clone git://github.com/jackpal/Android-Terminal-Emulator.git $(GIT_ANNEX_ANDROID_SOURCETREE)/term
 
 $(GIT_ANNEX_ANDROID_SOURCETREE)/openssl/build-stamp:
+	# This is a version which the openssh below can build with.
+	# Newer versions changed something to do with BIGNUM.
+	cd $(GIT_ANNEX_ANDROID_SOURCETREE)/openssl && git reset --hard 616f71e486d693991b594439c884ec624b32c2d4
 	cd $(GIT_ANNEX_ANDROID_SOURCETREE)/openssl && CC=$$(which cc) ./Configure android
 	cd $(GIT_ANNEX_ANDROID_SOURCETREE)/openssl && $(MAKE)
 	touch $@
-- 
cgit v1.2.3