mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
system/multipath-tools: Fix build failure.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4aafff77e6
commit
6dffd315fe
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue