diff -Nru libpam-freerdp2-2.0.0/debian/changelog libpam-freerdp2-2.0.0/debian/changelog --- libpam-freerdp2-2.0.0/debian/changelog 2018-08-21 17:27:31.000000000 +0000 +++ libpam-freerdp2-2.0.0/debian/changelog 2019-12-04 07:45:58.000000000 +0000 @@ -1,3 +1,16 @@ +libpam-freerdp2 (2.0.0-3) unstable; urgency=medium + + [ Mike Gabriel ] + * debian/control: + + Bump Standards-Version: to 4.4.1. No changes needed. + + Add Rules-Requires-Root: field and set it to no. + + [ Helmut Grohne ] + * debian/patches: + + Add 1001_dont_abuse_AC_CHECK_FILES.patch. Fix FTCBFS. + + -- Mike Gabriel Wed, 04 Dec 2019 08:45:58 +0100 + libpam-freerdp2 (2.0.0-2) unstable; urgency=medium * debian/control: diff -Nru libpam-freerdp2-2.0.0/debian/control libpam-freerdp2-2.0.0/debian/control --- libpam-freerdp2-2.0.0/debian/control 2018-08-21 17:27:31.000000000 +0000 +++ libpam-freerdp2-2.0.0/debian/control 2019-10-23 19:56:30.000000000 +0000 @@ -13,7 +13,8 @@ libgtest-dev, libpam0g-dev, pkg-config, -Standards-Version: 4.1.4 +Standards-Version: 4.4.1 +Rules-Requires-Root: no Homepage: https://github.com/ArcticaProject/libpam-freerdp2 Vcs-Git: https://salsa.debian.org/debian-remote-team/libpam-freerdp2.git Vcs-Browser: https://salsa.debian.org/debian-remote-team/libpam-freerdp2 diff -Nru libpam-freerdp2-2.0.0/debian/patches/1001_dont_abuse_AC_CHECK_FILES.patch libpam-freerdp2-2.0.0/debian/patches/1001_dont_abuse_AC_CHECK_FILES.patch --- libpam-freerdp2-2.0.0/debian/patches/1001_dont_abuse_AC_CHECK_FILES.patch 1970-01-01 00:00:00.000000000 +0000 +++ libpam-freerdp2-2.0.0/debian/patches/1001_dont_abuse_AC_CHECK_FILES.patch 2019-12-04 07:45:20.000000000 +0000 @@ -0,0 +1,19 @@ +Author: Helmut Grohne +Description: libpam-freerdp2 FTCBFS: abuses AC_CHECK_FILES +Abstract: + libpam-freerdp2 fails to cross build from source, because m4/gtest.m4 abuses + AC_CHECK_FILES. It uses the macro to check for files on the build + system, while it is meant for checking files on the host system. + +--- a/m4/gtest.m4 ++++ b/m4/gtest.m4 +@@ -49,8 +49,7 @@ + + AC_LANG_POP + +- AC_CHECK_FILES([$GTEST_SOURCE/src/gtest-all.cc] +- [$GTEST_SOURCE/src/gtest_main.cc], ++ AS_IF([test -e "$GTEST_SOURCE/src/gtest-all.cc" || test -e "$GTEST_SOURCE/src/gtest_main.cc"], + [have_gtest_source=yes], + [have_gtest_source=no]) + diff -Nru libpam-freerdp2-2.0.0/debian/patches/series libpam-freerdp2-2.0.0/debian/patches/series --- libpam-freerdp2-2.0.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ libpam-freerdp2-2.0.0/debian/patches/series 2019-12-04 07:09:11.000000000 +0000 @@ -0,0 +1 @@ +1001_dont_abuse_AC_CHECK_FILES.patch