From 23e975db2a5a7e351d6d301e999f629abb7aac38 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 28 Aug 2013 01:20:28 +0200 Subject: [PATCH] musl: fixed openssl to use termios.h --- base/musl/pkg/openssl/openssl.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 base/musl/pkg/openssl/openssl.conf diff --git a/base/musl/pkg/openssl/openssl.conf b/base/musl/pkg/openssl/openssl.conf new file mode 100644 index 000000000..59b1e9a71 --- /dev/null +++ b/base/musl/pkg/openssl/openssl.conf @@ -0,0 +1,20 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../musl/pkg/openssl/openssl.conf +# Copyright (C) 2013 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +pkg_musl_openssl_preconf() { + # musl doesn't provide termio.h but termios.h + sed -i 's/-DTERMIO\ /-DTERMIOS\ /g' Configure + sed -i 's/defined(linux)/0/' crypto/ui/ui_openssl.c +} +hook_add preconf 9 'pkg_musl_openssl_preconf'