aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/multipath-tools/multipath-tools.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/multipath-tools/multipath-tools.SlackBuild b/system/multipath-tools/multipath-tools.SlackBuild
index feb20d6fe256..c6e5948398ca 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 <assert.h>' libmultipath/checkers.c
+
# Patch for slackware compatibility
cat $CWD/0002-multipathd-add-ncurses-to-linker.patch | patch -p0 --verbose