From ccfd64638a2cd086c7d2b94b77b220440b3e84ae Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Wed, 19 Apr 2017 17:54:41 +0200 Subject: Fix FTBFS on i386: use gawk to prepare README file Build-Depend on gawk, and use it explicitly, as awk segfaults on i386 Closes: #860695 --- debian/control | 1 + debian/rules | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 1eb204c..28645d7 100644 --- a/debian/control +++ b/debian/control @@ -10,6 +10,7 @@ Build-Depends: mingw-w64, libgcrypt-mingw-w64-dev, libgpg-error-mingw-w64-dev, librsvg2-bin, icoutils, + gawk, gettext, grub-pc-bin (>= 1.99~rc1-3), imagemagick, diff --git a/debian/rules b/debian/rules index f9367f9..3ae0cf2 100755 --- a/debian/rules +++ b/debian/rules @@ -39,9 +39,9 @@ ifeq ($(BYHAND),yes) dh_auto_build # Prepare the README file - awk '{sub(/@PACKAGES_LIST@/,"$(PACKAGES_LIST)")}1 \ - {sub(/@NSIS_VERSION@/,"$(NSIS_VERSION)")}1 \ - {sub(/@W32_VERSION@/,"$(W32_VERSION)")}1' \ + gawk '{sub(/@PACKAGES_LIST@/,"$(PACKAGES_LIST)")}1 \ + {sub(/@NSIS_VERSION@/,"$(NSIS_VERSION)")}1 \ + {sub(/@W32_VERSION@/,"$(W32_VERSION)")}1' \ debian/win32-loader_doc.txt > $(W32_BYHAND_NAME).txt cat debian/copyright >> $(W32_BYHAND_NAME).txt endif -- cgit v1.2.3