summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2017-04-19 17:54:41 +0200
committerDidier Raboud <odyx@debian.org>2017-04-19 17:54:43 +0200
commitccfd64638a2cd086c7d2b94b77b220440b3e84ae (patch)
tree76dd5f8bc1b056a2785161d8f1274173bc40e847
parent5d3695e5472a85386249d96a7c06b4b13024eecb (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/control1
-rwxr-xr-xdebian/rules6
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