summaryrefslogtreecommitdiff
path: root/user/heimdal/only-build-libedit-when-necessary.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/heimdal/only-build-libedit-when-necessary.patch')
-rw-r--r--user/heimdal/only-build-libedit-when-necessary.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/user/heimdal/only-build-libedit-when-necessary.patch b/user/heimdal/only-build-libedit-when-necessary.patch
new file mode 100644
index 000000000..105c7019d
--- /dev/null
+++ b/user/heimdal/only-build-libedit-when-necessary.patch
@@ -0,0 +1,21 @@
+--- heimdal-7.5.0/configure.ac.old 2017-12-08 01:36:46.000000000 -0600
++++ heimdal-7.5.0/configure.ac 2018-07-04 18:50:45.720000000 -0500
+@@ -309,8 +309,6 @@
+ #endif
+ ],-ledit,,, READLINE,, [readline.h readline/readline.h editline/readline.h])
+
+-AC_CONFIG_SUBDIRS([lib/libedit])
+-
+ KRB_C_BIGENDIAN
+ AC_C_INLINE
+
+--- heimdal-7.5.0/cf/krb-readline.m4.old 2016-12-20 08:23:06.000000000 -0600
++++ heimdal-7.5.0/cf/krb-readline.m4 2018-07-04 18:50:04.140000000 -0500
+@@ -19,6 +19,7 @@
+ :
+ else
+ build_libedit=yes
++ AC_CONFIG_SUBDIRS([lib/libedit])
+ LIB_readline="\$(top_builddir)/lib/libedit/src/libheimedit.la \$(LIB_tgetent)"
+ fi
+ AM_CONDITIONAL(LIBEDIT, test "$build_libedit" = yes)