Browse Source

musl: fixed openssl to use termios.h

stable/0.6
Christian Wiese 11 years ago
parent
commit
23e975db2a
  1. 20
      base/musl/pkg/openssl/openssl.conf

20
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'
Loading…
Cancel
Save