#! /bin/bash
cp -v libtorrent-rasterbar-2.0.5-update-allocator-sizes-for-boost-1.78.patch /sources
cp -v networking/netlibs/libtorrent-rasterbar.xml ../blfs_root/blfs-xml/networking/netlibs
cp -v xsoft/other/qbittorrent.xml ../blfs_root/blfs-xml/xsoft/other
cp -v multimedia/libdriv/libid3tag.xml ../blfs_root/blfs-xml/multimedia/libdriv
cp -v server/other/minidlna.xml ../blfs_root/blfs-xml/server/other
sed -i '/libtirpc.xml.*/a ' ../blfs_root/blfs-xml/networking/netlibs/netlibs.xml
sed -i '/pidgin.xml.*/a ' ../blfs_root/blfs-xml/xsoft/other/other.xml
sed -i '/libmad.xml.*/i ' ../blfs_root/blfs-xml/multimedia/libdriv/libdriv.xml
sed -i '/openldap.xml.*/i ' ../blfs_root/blfs-xml/server/other/other.xml
sed -i '/libtirpc-version.*/a ' ../blfs_root/blfs-xml/packages.ent
sed -i '/pidgin-version.*/a ' ../blfs_root/blfs-xml/packages.ent
sed -i '/libmad-version.*/i ' ../blfs_root/blfs-xml/packages.ent
sed -i '/openldap-version.*/i ' ../blfs_root/blfs-xml/packages.ent