summaryrefslogtreecommitdiff
path: root/dev-libs/libressl/files/update.sh.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libressl/files/update.sh.patch')
-rw-r--r--dev-libs/libressl/files/update.sh.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-libs/libressl/files/update.sh.patch b/dev-libs/libressl/files/update.sh.patch
new file mode 100644
index 0000000..688270c
--- /dev/null
+++ b/dev-libs/libressl/files/update.sh.patch
@@ -0,0 +1,25 @@
+diff --git a/update.sh b/update.sh
+index f11aa04..4016093 100755
+--- a/update.sh
++++ b/update.sh
+@@ -3,20 +3,6 @@ set -e
+
+ openbsd_branch=`cat OPENBSD_BRANCH`
+
+-# pull in latest upstream code
+-echo "pulling upstream openbsd source"
+-if [ ! -d openbsd ]; then
+- if [ -z "$LIBRESSL_GIT" ]; then
+- git clone https://github.com/libressl-portable/openbsd.git
+- else
+- git clone $LIBRESSL_GIT/openbsd
+- fi
+-fi
+-(cd openbsd
+- git fetch
+- git checkout $openbsd_branch
+- git pull --rebase)
+-
+ # setup source paths
+ CWD=`pwd`
+ OPENBSD_SRC=$CWD/openbsd/src