PATCHES=(
"${FILESDIR}"/${P}-as-needed.patch
"${FILESDIR}"/${P}-man.patch
- )
+)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
# removing -s flag as portage does the stripping part and add support
# for custom LDFLAGS. Plus correct for --as-needed
sed \
"${FILESDIR}"/${P}-underlinking.patch
if has_version ">=dev-libs/libevocosm-3.3.0"; then
- epatch ${FILESDIR}"/${P}-libevocosm.patch"
+ epatch "${FILESDIR}"/${P}-libevocosm.patch
fi
eautomake
"${FILESDIR}"/${P}-glibc-212.patch
if has_version ">=dev-libs/libevocosm-3.3.0"; then
- epatch ${FILESDIR}"/${P}-libevocosm.patch"
+ epatch "${FILESDIR}"/${P}-libevocosm.patch
fi
eautomake
"${FILESDIR}"/${P}-format-security.patch
"${FILESDIR}"/${P}-src_stubs_c.patch
)
+
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
# Don't install all the extra docs (html, pdf, ps) without doc USE flag.
if ! use doc; then
sed -i -e "s:SUBDIRS =.*:SUBDIRS = man:" doc/Makefile.am || die
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
eapply_user
# Don't install all the extra docs (html, pdf, ps) without doc USE flag.
"${WORKDIR}"/${PN}_${PV}-${PATCH_LEVEL}.diff
local f
- for f in `find . -name '*.dpatch'`; do
- epatch ${f}
+ for f in $(find . -name '*.dpatch'); do
+ epatch "${f}"
done
}
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
mv configure.{in,ac} || die
PATCHES=(
"${FILESDIR}"/${PN}-2.6.4-hunspell-quazip.patch
"${FILESDIR}"/${PN}-2.10.6-desktop.patch
- )
+)
src_prepare() {
find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
eprefixify ${PN}.pri
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
}
src_configure() {
src_unpack() {
unpack ${A}
cd ${S}
- epatch ${FILESDIR}/${PN}-1.2-migemo-dict.diff
+ epatch "${FILESDIR}"/${PN}-1.2-migemo-dict.diff
touch ${S}/dict/SKK-JISYO.L
# Bug #246953
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/htmlinc-gcc3-gentoo.patch
+ epatch "${FILESDIR}"/htmlinc-gcc3-gentoo.patch
}
src_compile() {
# filter user-provided data to prevent cross-frame/site scripting attacks
# bug #91354 (fix from Werner Fink)
- epatch ${FILESDIR}/info2html-2.0-xss.patch
+ epatch "${FILESDIR}"/info2html-2.0-xss.patch
# Fixup INFODIR for paths in /etc/profile.env INFOPATH
infos=$(grep "^export INFOPATH=" /etc/profile.env | tail -n 1 |\
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
mv configure.in configure.ac || die
src_prepare() {
config_rpath_update
sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' configure.ac || die
- epatch ${FILESDIR}/freetds-0.91-fix_field_aliases.patch
+ epatch "${FILESDIR}"/freetds-0.91-fix_field_aliases.patch
eautoreconf
}
java-pkg_clean
# Apply patches.
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
# Weed out comments (some contain UTF-8 chars javac cannnot deal with).
sed -i -e '/*/d;' \
S="${WORKDIR}/${P}"
-# bug 546502
PATCHES=(
- "${FILESDIR}"/"${P}"-ClientPool.patch
+ "${FILESDIR}"/"${P}"-ClientPool.patch #546502
)
java_prepare() {
# tarball contains the same sources in gnu-.../sources and gnu-.../main/
rm -r gnu-hylafax-*/sources || die
- epatch ${PATCHES[@]}
-
+ epatch "${PATCHES[@]}"
}
java_prepare() {
cp "${FILESDIR}"/${P}-build.xml build.xml || die
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
}
EANT_TEST_GENTOO_CLASSPATH="
S="${WORKDIR}/src"
java_prepare() {
- epatch ${PATCHES}
+ epatch "${PATCHES[@]}"
rm -R doc/*
find "${WORKDIR}" -iname '*.jar' -delete
find "${WORKDIR}" -iname '*.class' -delete
# The struct usbdevfs_ctrltransfer is different
# in latest 2.4 and 2.6 kernels. This patch is
# to make jusb compile on 2.6 kernels
- ! kernel_is 2 4 && epatch ${FILESDIR}/${P}-native.patch
+ ! kernel_is 2 4 && epatch "${FILESDIR}"/${P}-native.patch
- epatch ${FILESDIR}/${P}-makefile.patch
+ epatch "${FILESDIR}"/${P}-makefile.patch
sed -i \
-e 's#-shared#-shared -Wl,-soname=libjusb.so#' \
RDEPEND="${DEPEND}"
src_prepare() {
- epatch ${FILESDIR}/ferite-pcre.patch || die
+ epatch "${FILESDIR}"/ferite-pcre.patch
# use docsdir variable, install to DESTDIR
sed \
sed -e 's|/var/calendar|/var/spool/calendar|g' -i ${i}
done
cd ${S}
- epatch ${FILESDIR}/${P}-fpic.patch
- epatch ${FILESDIR}/${P}-libdir.patch
- epatch ${FILESDIR}/${P}-gcc4.patch
- epatch ${FILESDIR}/${P}-flexfix.patch
+ epatch "${FILESDIR}"/${P}-fpic.patch
+ epatch "${FILESDIR}"/${P}-libdir.patch
+ epatch "${FILESDIR}"/${P}-gcc4.patch
+ epatch "${FILESDIR}"/${P}-flexfix.patch
}
src_compile() {
src_unpack() {
unpack ${A} && cd ${S}
# bug 94069
- epatch ${FILESDIR}/${P}-fix-insecure-tmp-creation.diff
+ epatch "${FILESDIR}"/${P}-fix-insecure-tmp-creation.diff
}
src_test() {
src_prepare() {
has_version ">=dev-lang/tcl-8.6" && \
PATCHES+=( "${FILESDIR}"/${P}-test.patch )
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
}
src_test() {
src_prepare() {
has_version ">=dev-lang/tcl-8.6" && \
PATCHES+=( "${FILESDIR}"/${P}-test.patch )
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
sed \
-e '/testsNeedTcl/s:8.5:8.6:g' \
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
}
src_compile() {
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
}
src_compile() {
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
epatch_user
}
for patch in ${EBZR_PATCHES} ; do
if [[ -f ${patch} ]] ; then
- epatch ${patch}
+ epatch "${patch}"
else
# This loop takes care of wildcarded patches given via
# EBZR_PATCHES in an ebuild
for lpatch in "${FILESDIR}"/${patch} ; do
if [[ -f ${lpatch} ]] ; then
- epatch ${lpatch}
+ epatch "${lpatch}"
else
die "${EBZR}: ${patch} is not found"
fi
"${FILESDIR}"/${P}-Fix-missing-virtual-destructors-and-guichan-use.patch
"${FILESDIR}"/${P}-Trick-gcc-into-importing-C99-stdint.h-when-C-11-is-n.patch
"${FILESDIR}"/${P}-Import-cstdint-for-int64_t.patch
- )
+)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
epatch_user
if [[ ${LINGUAS+set} ]]; then
"${FILESDIR}/0.7-config.patch"
"${FILESDIR}/0.7-header.patch"
"${FILESDIR}"/${PV}-example.patch
- )
+)
src_prepare() {
edos2unix EmfEngine.pro
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
sed \
-e "s:/usr/local/lib/libEMF.a:-lEMF:g" \
-e "s:/usr/local/include:${EPREFIX}/usr/include/:g" \
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
sed -i \
-e 's@../ftgl_lib/FTGL/include@/usr/include/FTGL@' \
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/${PN}-2.03-signed-char-fixup.patch
+ epatch "${FILESDIR}"/${PN}-2.03-signed-char-fixup.patch
}
src_compile() {
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
epatch_user
eautoreconf
}
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
# install the patches from tarball(s)
EPATCH_SUFFIX="patch" \
}
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
# install the patches from tarball(s)
EPATCH_SUFFIX="patch" \
src_prepare() {
tc-export CC AR
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
multilib_copy_sources
}
src_prepare() {
tc-export CC AR
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
multilib_copy_sources
}
src_unpack() {
unpack ${A}
- EPATCH_OPTS="-p1 -d ${P}" epatch ${FILESDIR}/qlogtools-3.1-errno.patch
+ EPATCH_OPTS="-p1 -d ${P}" epatch "${FILESDIR}"/qlogtools-3.1-errno.patch
}
src_compile() {
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/qmHandle-gentoo-svc.patch
+ epatch "${FILESDIR}"/qmHandle-gentoo-svc.patch
}
src_install() {
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
use SECURITY_HAZARD && epatch "${FILESDIR}"/${PN}-20150815-nonroot-floodping.patch
}
src_prepare() {
# apply patches.
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
eautoreconf
}
# http://hasso.linux.ee/doku.php/english:network:quagga
use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
eapply_user
eautoreconf
}
tc-export CC
append-cflags "-D_GNU_SOURCE"
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
epatch_user
}
retroshare-gui/src/retroshare-gui.pro \
retroshare-nogui/src/retroshare-nogui.pro || die 'sed on retroshare-gui/src/retroshare-gui.pro failed'
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
eapply_user
}
src_unpack() {
unpack ${A}
- EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${P}-stdlib.patch
+ EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${P}-stdlib.patch
}
src_compile() {
RESTRICT="test" # boost's test API has changed
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
# Some includes are missing and this breaks updates of ACE
sed -i \
unpack ${A}
cd ${S}
- epatch ${FILESDIR}/01-fix-up-build-breaks-from-2.6.19.patch
- epatch ${FILESDIR}/02-Use-ieee80211_generic_get_stats.patch
- epatch ${FILESDIR}/03-fix-work_struct-build-breakage.patch
- epatch ${FILESDIR}/04-fix-set-essid-for-WE-21.patch
- epatch ${FILESDIR}/05-update-email-address-from-jkmaline-cc.hut.fi-to.patch
- kernel_is ge 2 6 22 && epatch ${FILESDIR}/06-adm8211-fix-build-breakage-from-skb-mac.raw.patch
+ epatch "${FILESDIR}"/01-fix-up-build-breaks-from-2.6.19.patch
+ epatch "${FILESDIR}"/02-Use-ieee80211_generic_get_stats.patch
+ epatch "${FILESDIR}"/03-fix-work_struct-build-breakage.patch
+ epatch "${FILESDIR}"/04-fix-set-essid-for-WE-21.patch
+ epatch "${FILESDIR}"/05-update-email-address-from-jkmaline-cc.hut.fi-to.patch
+ kernel_is ge 2 6 22 && epatch "${FILESDIR}"/06-adm8211-fix-build-breakage-from-skb-mac.raw.patch
convert_to_m ${S}/Makefile
}
PATCHES=( "${FILESDIR}"/${P}-Makefile.patch )
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
tc-export CC AR
}
src_prepare() {
local i
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
sed \
-e "s/\tcsh/\tsh/" \
export CXXFLAGS="${CXXFLAGS}"
export LDFLAGS="${LDFLAGS}"
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
tc-export CXX
rm -rf scons || die
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
epatch_user
rm -rf shapelib || die
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
epatch_user
rm -rf shapelib || die
}
src_prepare () {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
epatch_user
eautoreconf
}
src_prepare() {
MAKEOPTS+=" -j1"
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
sed \
-e "/^CC =/s:gcc:$(tc-getCC):g" \
-i */Makefile || die
"${FILESDIR}/${PN}-1.7.1-emacs-twelf-init.patch"
"${FILESDIR}/${PN}-1.7.1-Makefile.patch"
"${FILESDIR}/${PN}-1.7.1-mlton-mlb.patch"
- )
+)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
sed \
-e "s@/usr/bin@${ROOT}usr/bin@g" \
-e "s@/usr/share@${ROOT}usr/share@" \
}
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
}
src_configure() {
src_unpack() {
unpack ${A}
- mv ${WORKDIR}/${PN} ${WORKDIR}/${P}
- epatch ${FILESDIR}/${P}-fix.diff
+ mv "${WORKDIR}/${PN}" "${WORKDIR}/${P}"
+ epatch "${FILESDIR}"/${P}-fix.diff
}
src_compile() {
src_unpack() {
unpack ${A}
- epatch ${WORKDIR}/${PN}_${PV}-3.diff
+ epatch "${WORKDIR}/${PN}_${PV}-3.diff"
sed -i -e 's:#include <linux/elf.h>:#include <elf.h>:' \
${S}/elftoaout*/elftoaout.c
}
src_unpack() {
unpack ${A}
cd "${S}"
- # epatch ${DISTDIR}/${MY_P}_A7N8X-VM.patch
+ # epatch "${DISTDIR}"/${MY_P}_A7N8X-VM.patch
epatch "${DISTDIR}"/${MY_P}_fflush.patch
epatch "${FILESDIR}"/${P}-amd64.patch
epatch "${FILESDIR}"/${P}-pid.patch
unpack ${A}
cd "${S}"
- EPATCH_SUFFIX="patch" epatch ${WORKDIR}/${PV}
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}"
AT_M4DIR="${WORKDIR}/${PV}/m4" eautoreconf
}
src_unpack() {
unpack ${A}
- #EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PN}-176-fix-referral-tls.patch
+ #EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-176-fix-referral-tls.patch
cd "${S}"
eautoreconf
src_unpack() {
unpack ${A}
- #EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PN}-176-fix-referral-tls.patch
+ #EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-176-fix-referral-tls.patch
cd "${S}"
eautoreconf
# gcc3 fixes, and some tweaks to get a build, also
# reiserfs support for the kernel (and milo).
- cd ${WORKDIR}/linux; epatch ${FILESDIR}/linux-${kernel_version}-gcc3-milo.diff || die
- cd ${WORKDIR}/linux; epatch ${DISTDIR}/linux-2.2.20-reiserfs-3.5.35.diff.bz2 || die
- cd ${S}; epatch ${FILESDIR}/milo-${milo_version}-gcc3-gentoo.diff || die
+ cd ${WORKDIR}/linux; epatch "${FILESDIR}"/linux-${kernel_version}-gcc3-milo.diff || die
+ cd ${WORKDIR}/linux; epatch "${DISTDIR}"/linux-2.2.20-reiserfs-3.5.35.diff.bz2 || die
+ cd ${S}; epatch "${FILESDIR}"/milo-${milo_version}-gcc3-gentoo.diff || die
}
src_compile() {
src_prepare() {
if [ ${#PATCHES[0]} -ne 0 ]; then
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
fi
eapply_user
# pids should go to /var/run/slurm
# if you attempt to build gcj.
if use objc && ! use gcj ; then
epatch "${FILESDIR}"/3.4.3/libffi-without-libgcj.patch
- #epatch ${FILESDIR}/3.4.3/libffi-nogcj-lib-path-fix.patch
+ #epatch "${FILESDIR}"/3.4.3/libffi-nogcj-lib-path-fix.patch
fi
# Fix cross-compiling
MAKEOPTS+=" -j1"
PATCHES=(
- "${FILESDIR}/${PN}-1.6.4-asneeded.patch"
- "${FILESDIR}/${PN}-recent-kernels.patch"
- )
+ "${FILESDIR}/${PN}-1.6.4-asneeded.patch"
+ "${FILESDIR}/${PN}-recent-kernels.patch"
+)
pkg_setup() {
python_set_active_version 2
sed -e 's:"/dlm/":"/sys/kernel/dlm":g' \
-i libo2dlm/o2dlm_test.c \
-i libocfs2/dlm.c || die "sed failed"
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
rm -f aclocal.m4
AT_M4DIR=. eautoreconf
}
src_unpack() {
unpack ${A}
cd "${S}"
- #epatch ${FILESDIR}/${P}-gentoo.diff
+ #epatch "${FILESDIR}"/${P}-gentoo.diff
sed -i -e "s:/etc:${D}/etc:g" Makefile.am || die
sed -i -e "s:/etc:${D}/etc:g" Makefile.in || die
}
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
# Fix bug #486710
use uclibc && epatch "${FILESDIR}/${PN}-1.3.8-uclibc.patch"
)
src_prepare() {
- epatch ${PATCHES[@]}
+ epatch "${PATCHES[@]}"
# Fix bug #486710
use uclibc && epatch "${FILESDIR}/${PN}-1.3.8-uclibc.patch"