From 491cdaa05effc30b9263ce521556a80ebf985897 Mon Sep 17 00:00:00 2001 From: megacz Date: Mon, 6 Jul 2009 13:23:57 -0400 Subject: [PATCH] fix segfault with lenny libc6 by linking to pthreads version --- Makefile | 9 ++++++--- debian/changelog | 6 ++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cc1dd68..68abb26 100644 --- a/Makefile +++ b/Makefile @@ -13,9 +13,12 @@ CFLAGS=-I$(AFSROOT)/include -DHAVE_NSS_H -DLIMIT_USERNAME_CHARS=20 -fPIC all: $(LIBNAMES) nss_afs_test -LDFLAGS=-L$(AFSROOT)/lib/afs -L$(AFSROOT)/lib -lprot \ - -lubik -lauth -lrxkad -lrxstat -lrx -llwp -ldes -lcom_err -laudit \ - $(AFSROOT)/lib/afs/util.a -lsys -lnsl $(EXTRALIBS) +#-lprot \ +# -lubik -lauth -lrxkad -lrxstat -lrx -ldes -lcom_err -laudit +# $(AFSROOT)/lib/afs/util.a + +LDFLAGS=-L$(AFSROOT)/lib/afs -L$(AFSROOT)/lib -lafsauthent -lafsrpc -lpthread \ + -lsys -lnsl $(EXTRALIBS) -g nss_afs.o: nss_afs.c $(CC) $(CFLAGS) -c nss_afs.c diff --git a/debian/changelog b/debian/changelog index 09a7324..28eb855 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libnss-afs (1.08) unstable; urgency=high + + * fix segfault with lenny libc6 by linking to pthreads version + + -- Adam Megacz Mon, 29 Jun 2009 11:35:54 -0700 + libnss-afs (1.07) unstable; urgency=low * fix highly-improbable segfault -- 1.7.10.4