#!/bin/sh -e # A painful collection of patches, some written for KISS and # the others ported and modified from much older versions of LVM. patch -p1 < portability.patch patch -p1 < fix-stdio-usage.patch patch -p1 < mlockall-default-config.patch patch -p1 < musl-fix-include.patch patch -p1 < disable-symver.patch patch -p1 < 001-include_fix.patch # LVM2 calls 'fmt -1' throughout the build process. # This is a part of the GNU coreutils and is not included # in KISS. All 'fmt -1' does is split each word in a string # on a new line so lets just use the shell as an alternative. mkdir -p fakebin cat > fakebin/fmt <