Skip to content

Commit

Permalink
fix quoting to a lot of patch calls
Browse files Browse the repository at this point in the history
  • Loading branch information
vapier committed Jan 21, 2017
1 parent 9fc147e commit 62fa24b
Show file tree
Hide file tree
Showing 68 changed files with 92 additions and 93 deletions.
4 changes: 2 additions & 2 deletions app-admin/procinfo-ng/procinfo-ng-2.0.304-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ DEPEND="${RDEPEND}
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 \
Expand Down
2 changes: 1 addition & 1 deletion app-benchmarks/acovea/acovea-5.1.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ src_prepare() {
"${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
Expand Down
2 changes: 1 addition & 1 deletion app-benchmarks/acovea/acovea-5.1.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ src_prepare() {
"${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
Expand Down
3 changes: 2 additions & 1 deletion app-dicts/wordnet/wordnet-3.0-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ PATCHES=(
"${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
Expand Down
2 changes: 1 addition & 1 deletion app-dicts/wordnet/wordnet-3.0-r5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ PATCHES=(
)

src_prepare() {
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"
eapply_user

# Don't install all the extra docs (html, pdf, ps) without doc USE flag.
Expand Down
4 changes: 2 additions & 2 deletions app-laptop/ibam/ibam-0.5.2-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ src_prepare() {
"${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
}

Expand Down
2 changes: 1 addition & 1 deletion app-office/texmacs/texmacs-1.99.2-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ PATCHES=(
)

src_prepare() {
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"

mv configure.{in,ac} || die

Expand Down
4 changes: 2 additions & 2 deletions app-office/texstudio/texstudio-2.10.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ S="${WORKDIR}"/${P/-/}
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
Expand All @@ -82,7 +82,7 @@ src_prepare() {
cp "${FILESDIR}"/texmakerx_my.pri ${PN}.pri || die
eprefixify ${PN}.pri

epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"
}

src_configure() {
Expand Down
2 changes: 1 addition & 1 deletion app-text/cmigemo/cmigemo-1.3c.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RDEPEND="app-dicts/migemo-dict
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
Expand Down
2 changes: 1 addition & 1 deletion app-text/htmlinc/htmlinc-1.0_beta1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ S=${WORKDIR}/htmlinc

src_unpack() {
unpack ${A}
epatch ${FILESDIR}/htmlinc-gcc3-gentoo.patch
epatch "${FILESDIR}"/htmlinc-gcc3-gentoo.patch
}

src_compile() {
Expand Down
2 changes: 1 addition & 1 deletion app-text/info2html/info2html-2.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ src_unpack() {

# 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 |\
Expand Down
2 changes: 1 addition & 1 deletion app-text/uudeview/uudeview-0.5.20-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ PATCHES=(
)

src_prepare() {
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"

mv configure.in configure.ac || die

Expand Down
2 changes: 1 addition & 1 deletion dev-db/freetds/freetds-0.91-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RDEPEND="${DEPEND}"
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
}

Expand Down
2 changes: 1 addition & 1 deletion dev-java/freemarker/freemarker-2.3.13-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ java_prepare() {
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;' \
Expand Down
6 changes: 2 additions & 4 deletions dev-java/gnu-hylafax/gnu-hylafax-1.0.3-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ JAVA_GENTOO_CLASSPATH="

S="${WORKDIR}/${P}"

# bug 546502
PATCHES=(
"${FILESDIR}"/"${P}"-ClientPool.patch
"${FILESDIR}"/"${P}"-ClientPool.patch #546502
)

java_prepare() {
Expand All @@ -48,6 +47,5 @@ java_prepare() {
# tarball contains the same sources in gnu-.../sources and gnu-.../main/
rm -r gnu-hylafax-*/sources || die

epatch ${PATCHES[@]}

epatch "${PATCHES[@]}"
}
2 changes: 1 addition & 1 deletion dev-java/jackrabbit-webdav/jackrabbit-webdav-2.10.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PATCHES=(

java_prepare() {
cp "${FILESDIR}"/${P}-build.xml build.xml || die
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"
}

EANT_TEST_GENTOO_CLASSPATH="
Expand Down
2 changes: 1 addition & 1 deletion dev-java/jung/jung-1.7.6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ PATCHES=( "${FILESDIR}/${P}-build.xml.patch" )
S="${WORKDIR}/src"

java_prepare() {
epatch ${PATCHES}
epatch "${PATCHES[@]}"
rm -R doc/*
find "${WORKDIR}" -iname '*.jar' -delete
find "${WORKDIR}" -iname '*.class' -delete
Expand Down
4 changes: 2 additions & 2 deletions dev-java/jusb/jusb-0.4.4-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ src_unpack() {
# 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#' \
Expand Down
2 changes: 1 addition & 1 deletion dev-lang/ferite/ferite-1.1.17-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ DEPEND="
RDEPEND="${DEPEND}"

src_prepare() {
epatch ${FILESDIR}/ferite-pcre.patch || die
epatch "${FILESDIR}"/ferite-pcre.patch

# use docsdir variable, install to DESTDIR
sed \
Expand Down
8 changes: 4 additions & 4 deletions dev-libs/libmcal/libmcal-0.7-r5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ src_unpack() {
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() {
Expand Down
2 changes: 1 addition & 1 deletion dev-libs/log4sh/log4sh-1.2.5-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RDEPEND="app-shells/bash"
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() {
Expand Down
2 changes: 1 addition & 1 deletion dev-tcltk/tcllib/tcllib-1.15-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ PATCHES=(
src_prepare() {
has_version ">=dev-lang/tcl-8.6" && \
PATCHES+=( "${FILESDIR}"/${P}-test.patch )
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"
}

src_test() {
Expand Down
2 changes: 1 addition & 1 deletion dev-tcltk/tcllib/tcllib-1.16.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ PATCHES=( "${FILESDIR}"/${P}-XSS-vuln.patch )
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' \
Expand Down
2 changes: 1 addition & 1 deletion dev-tcltk/tclpython/tclpython-4.1-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PATCHES=(
)

src_prepare() {
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"
}

src_compile() {
Expand Down
2 changes: 1 addition & 1 deletion dev-tcltk/tclpython/tclpython-4.1-r6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ PATCHES=(
)

src_prepare() {
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"
}

src_compile() {
Expand Down
2 changes: 1 addition & 1 deletion dev-util/dropwatch/dropwatch-1.4-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PATCHES=(
)

src_prepare() {
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"
epatch_user
}

Expand Down
4 changes: 2 additions & 2 deletions eclass/bzr.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -290,13 +290,13 @@ bzr_bootstrap() {

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
Expand Down
4 changes: 2 additions & 2 deletions games-rpg/mana/mana-0.6.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ PATCHES=(
"${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
Expand Down
4 changes: 2 additions & 2 deletions media-libs/emfengine/emfengine-0.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ PATCHES=(
"${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" \
Expand Down
2 changes: 1 addition & 1 deletion media-sound/audicle/audicle-1.0.0.7-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ PATCHES=(
)

src_prepare() {
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"

sed -i \
-e 's@../ftgl_lib/FTGL/include@/usr/include/FTGL@' \
Expand Down
2 changes: 1 addition & 1 deletion net-analyzer/poink/poink-2.03.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ DEPEND=""

src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${PN}-2.03-signed-char-fixup.patch
epatch "${FILESDIR}"/${PN}-2.03-signed-char-fixup.patch
}

src_compile() {
Expand Down
2 changes: 1 addition & 1 deletion net-analyzer/sslsniff/sslsniff-0.8-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ PATCHES=(
)

src_prepare() {
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"
epatch_user

eautoreconf
Expand Down
2 changes: 1 addition & 1 deletion net-fs/samba/samba-4.2.11.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pkg_setup() {
}

src_prepare() {
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"

# install the patches from tarball(s)
EPATCH_SUFFIX="patch" \
Expand Down
2 changes: 1 addition & 1 deletion net-fs/samba/samba-4.2.14.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pkg_setup() {
}

src_prepare() {
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"

# install the patches from tarball(s)
EPATCH_SUFFIX="patch" \
Expand Down
2 changes: 1 addition & 1 deletion net-libs/http-parser/http-parser-2.6.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ PATCHES=(

src_prepare() {
tc-export CC AR
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"
multilib_copy_sources
}

Expand Down
2 changes: 1 addition & 1 deletion net-libs/http-parser/http-parser-2.6.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ PATCHES=(

src_prepare() {
tc-export CC AR
epatch ${PATCHES[@]}
epatch "${PATCHES[@]}"
multilib_copy_sources
}

Expand Down
2 changes: 1 addition & 1 deletion net-mail/qlogtools/qlogtools-3.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RDEPEND="!app-text/multitail"

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() {
Expand Down
2 changes: 1 addition & 1 deletion net-mail/qmhandle/qmhandle-1.2.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ S=${WORKDIR}

src_unpack() {
unpack ${A}
epatch ${FILESDIR}/qmHandle-gentoo-svc.patch
epatch "${FILESDIR}"/qmHandle-gentoo-svc.patch
}

src_install() {
Expand Down
Loading

0 comments on commit 62fa24b

Please sign in to comment.