Hi Attached is a possible debdiff. Note I have not touched the kfreebsd part, as I do not know if there should be -DUSE_PAM=yes.
Regards, Salvatore
diff -Nru slim-1.3.6/debian/changelog slim-1.3.6/debian/changelog --- slim-1.3.6/debian/changelog 2014-03-15 22:07:05.000000000 +0100 +++ slim-1.3.6/debian/changelog 2014-03-29 15:36:19.000000000 +0100 @@ -1,3 +1,10 @@ +slim (1.3.6-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fixes "slim: PAM not enabled during build" (Closes: #742904, #742950) + + -- Salvatore Bonaccorso <car...@debian.org> Sat, 29 Mar 2014 14:12:32 +0100 + slim (1.3.6-1) unstable; urgency=medium * Add myself to the list of uploaders with permission from Nobuhiro Iwamatsu. diff -Nru slim-1.3.6/debian/rules slim-1.3.6/debian/rules --- slim-1.3.6/debian/rules 2014-03-14 23:04:18.000000000 +0100 +++ slim-1.3.6/debian/rules 2014-03-29 15:36:57.000000000 +0100 @@ -9,7 +9,7 @@ CMAKE_FLAGS = -DUSE_PAM=no -DUSE_CONSOLEKIT=yes -DBUILD_SHARED_LIBS=no -DBUILD_SLIMLOCK=no endif -ifneq ($(DEB_HOST_ARCH_OS),gnu) +ifeq ($(DEB_HOST_ARCH_OS),hurd) CMAKE_FLAGS = -DUSE_PAM=no -DUSE_CONSOLEKIT=yes -DBUILD_SHARED_LIBS=no -DBUILD_SLIMLOCK=no endif