diff options
author | Didier Raboud <odyx@debian.org> | 2017-04-19 17:54:41 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2017-04-19 17:54:43 +0200 |
commit | ccfd64638a2cd086c7d2b94b77b220440b3e84ae (patch) | |
tree | 76dd5f8bc1b056a2785161d8f1274173bc40e847 | |
parent | 5d3695e5472a85386249d96a7c06b4b13024eecb (diff) |
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
-rw-r--r-- | debian/control | 1 | ||||
-rwxr-xr-x | 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 |