From 32d3d1f6b8d1a02b3182c3ccfedf1d54433b1e30 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 11 May 2004 21:29:18 +0000 Subject: Work around lack of res_query weak alias in libresolv on amd64 (see #242462, awaiting real fix upstream). --- debian/changelog | 2 ++ debian/rules | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index c8aadebf0..dd4d01c2d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,8 @@ openssh (1:3.8.1p1-1) UNRELEASED; urgency=low * Add openssh-client-udeb and openssh-server-udeb binary packages for use in debian-installer. They still need libnss_files to be supplied in udeb form by glibc. + * Work around lack of res_query weak alias in libresolv on amd64 (see + #242462, awaiting real fix upstream). * Fix grammar in sshd(8) (closes: #238753). * Add .desktop file and icon for ssh-askpass-gnome (closes: #232333). * Update Polish debconf template translation (thanks, Emil Nowak; diff --git a/debian/rules b/debian/rules index 54c6c1482..e65f47d1e 100755 --- a/debian/rules +++ b/debian/rules @@ -43,6 +43,12 @@ PAMSUBST := yes PAMDEP := libpam-runtime endif +# Temporary linkage hack for amd64 due to lack of res_query weak alias, see +# #242462. Real fix sent upstream. +ifeq ($(DEB_HOST_ARCH),amd64) +FORCE_LIBS = LIBS=-lresolv +endif + # Change the version string to include the Debian version SSH_VERSION := $(shell sed -e '/define/!d; s/.*\"\(.*\)\".*/\1/; q'