From 9b463b180167ec9ff8c234679aca0d328444df69 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 11 Aug 2019 13:09:34 +0000 Subject: [PATCH] Fix CUPS build error with kernel 5.2+ headers also for Sysv, and realign double ampersands git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21929 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- pst/printing/cups.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pst/printing/cups.xml b/pst/printing/cups.xml index 41c8b56944..116d63a40b 100644 --- a/pst/printing/cups.xml +++ b/pst/printing/cups.xml @@ -208,6 +208,7 @@ sed -i 's:444:644:' Makedefs.in && sed -i '/MAN.EXT/s:.gz::' configure config-scripts/cups-manpages.m4 && +sed -i '/stat.h/a #include <asm-generic/ioctls.h>' test/ipptool.c && aclocal -I config-scripts && autoconf -I config-scripts && @@ -220,9 +221,9 @@ CC=gcc CXX=g++ \ --with-docdir=/usr/share/cups/doc-&cups-version; && make -sed -i 's:555:755:g;s:444:644:g' Makedefs.in && -sed -i '/MAN.EXT/s:.gz::g' configure config-scripts/cups-manpages.m4 && -sed -i '/stat.h/a #include <asm-generic/ioctls.h>' test/ipptool.c && +sed -i 's:555:755:g;s:444:644:g' Makedefs.in && +sed -i '/MAN.EXT/s:.gz::' configure config-scripts/cups-manpages.m4 && +sed -i '/stat.h/a #include <asm-generic/ioctls.h>' test/ipptool.c && aclocal -I config-scripts && autoconf -I config-scripts &&