∞ cat /etc/paludis/hooks/sync_all_post/patches.bash
#!/bin/bash
undir() {
cat $1/profiles/package.$2/* > $1/profiles/tmp
rm -rf $1/profiles/package.$2
mv $1/profiles/{tmp,package.$2}
}
undirs() {
# Fucking hacks
undir $1 mask
undir $1 unmask
undir $1 use
undir $1 use.force
}
cd /var/paludis/repositories
sed -i -e '/epatch_user/q;s#eautoreconf#epatch_user;&#' gentoo/sys-apps/qingy/qingy-*.ebuild
sed -i -e '/
#469976/{n;N;N;N;N;N;s,#,,g}' gentoo/dev-libs/openssl/openssl-*.ebuild
sed -i -e '$asrc_configure() { epatch_user; }' gentoo/net-wireless/crda/crda-*.ebuild
sed -i -e '$asrc_configure() { epatch_user; }' gentoo/net-misc/netifrc/*.ebuild
sed -i -e '/EGIT_BRANCH/d;s#
git://anonscm.debian.org/users/bottoms/gnuradio.git#https://github.com/gnuradio/gnuradio.git#' gentoo/net-wireless/gnuradio/*.ebuild
sed -i -e '$asrc_configure() { epatch_user; haskell-cabal_src_configure; }' gentoo-haskell/dev-haskell/monad-peel/monad-peel-*.ebuild
#sed -i -e '/mozconfig_config/amozconfig_annotate '\'\'' --disable-necko-wifi' gentoo/www-client/firefox/firefox-31.0.ebuild
sed -i -e '$asrc_prepare() { epatch_user; }' gentoo-haskell/x11-wm/xmonad-contrib/*.ebuild
undirs kde
undirs funtoo
echo 4 > funtoo/profiles/eapi
sed -i -e '/^[^#].*\*/d' funtoo/profiles/package.mask
find funtoo -name '*.ebuild' -exec sed -i -e 's#KEYWORDS="\*"
#KEYWORDS="amd64"#;s#KEYWORDS="~\*"
#KEYWORDS="~amd64"#' '{}' \;