From 6dffd315feb78febaf14f527764a24c5fcd9c64f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 9 Aug 2023 22:19:46 -0400 Subject: [PATCH] system/multipath-tools: Fix build failure. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- system/multipath-tools/multipath-tools.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/multipath-tools/multipath-tools.SlackBuild b/system/multipath-tools/multipath-tools.SlackBuild index feb20d6fe2..c6e5948398 100644 --- a/system/multipath-tools/multipath-tools.SlackBuild +++ b/system/multipath-tools/multipath-tools.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230809 bkw: Modified by SlackBuilds.org: fix FTBFS. + # 20220413 bkw: Modified by SlackBuilds.org, BUILD=3: # - fix broken symlink in doc dir. # - strip binaries and libraries. @@ -79,6 +81,9 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION +# 20230809 bkw: fix FTBFS due to missing header. +sed -i '1i#include ' libmultipath/checkers.c + # Patch for slackware compatibility cat $CWD/0002-multipathd-add-ncurses-to-linker.patch | patch -p0 --verbose