aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-08-09 22:19:46 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-12 08:29:53 +0700
commit6dffd315feb78febaf14f527764a24c5fcd9c64f (patch)
treec90be530467c10183faa8e2ecb5252cf433eaec3 /system
parent4aafff77e6499a1d1e750125c4062fa9c58f9235 (diff)
system/multipath-tools: Fix build failure.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-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