diff options
Diffstat (limited to 'debian/patches/canonical_host')
-rw-r--r-- | debian/patches/canonical_host | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/canonical_host b/debian/patches/canonical_host new file mode 100644 index 000000000..000be6b8a --- /dev/null +++ b/debian/patches/canonical_host @@ -0,0 +1,32 @@ +Description: Disable use of @CANONICAL_HOST@, which is not reproducible. +Status: not forwarded upstream (not applicable) +Bug: https://github.com/heimdal/heimdal/issues/237 + +diff --git a/tools/krb5-config.in b/tools/krb5-config.in +index 53b4387a6..5288f84ae 100644 +--- a/tools/krb5-config.in ++++ b/tools/krb5-config.in +@@ -181,22 +181,7 @@ fi + # option... And MIT's krb5-config does include rpath flags. + # + # Compatibility with MIT is the winning consideration for now. +-case "@CANONICAL_HOST@" in +-alpha*-dec-osf*) +- rpath_flag='-Wl,-rpath -Wl,';; +-*-*-hpux*) +- rpath_flag='-Wl,+b,';; +-*-*-irix* | mips-*-netbsd*) +- rpath_flag='-Wl,-rpath -Wl,';; +-*-*-netbsd* | *-*-openbsd* | *-*-solaris*) +- rpath_flag='-R';; +-*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-freebsd*) +- rpath_flag='-Wl,--enable-new-dtags -Wl,-rpath -Wl,';; +-*-*-aix*) +- rpath_flag='-Wl,-blibpath:';; +-*) +-rpath_flag=;; +-esac ++rpath_flag='-Wl,--enable-new-dtags -Wl,-rpath -Wl,';; + + if test "$do_libs" = "yes"; then + deplibs="" |