From 62fa24bb8afe5b4e83a853b62649cb5a7ae100f5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 20 Jan 2017 19:52:40 -0600 Subject: fix quoting to a lot of patch calls --- dev-java/freemarker/freemarker-2.3.13-r2.ebuild | 2 +- dev-java/gnu-hylafax/gnu-hylafax-1.0.3-r2.ebuild | 6 ++---- dev-java/jackrabbit-webdav/jackrabbit-webdav-2.10.1.ebuild | 2 +- dev-java/jung/jung-1.7.6.ebuild | 2 +- dev-java/jusb/jusb-0.4.4-r1.ebuild | 4 ++-- 5 files changed, 7 insertions(+), 9 deletions(-) (limited to 'dev-java') diff --git a/dev-java/freemarker/freemarker-2.3.13-r2.ebuild b/dev-java/freemarker/freemarker-2.3.13-r2.ebuild index fe9e4adec64b..b012abf10496 100644 --- a/dev-java/freemarker/freemarker-2.3.13-r2.ebuild +++ b/dev-java/freemarker/freemarker-2.3.13-r2.ebuild @@ -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;' \ diff --git a/dev-java/gnu-hylafax/gnu-hylafax-1.0.3-r2.ebuild b/dev-java/gnu-hylafax/gnu-hylafax-1.0.3-r2.ebuild index 04bfbb815c71..ebfbb6697d6f 100644 --- a/dev-java/gnu-hylafax/gnu-hylafax-1.0.3-r2.ebuild +++ b/dev-java/gnu-hylafax/gnu-hylafax-1.0.3-r2.ebuild @@ -36,9 +36,8 @@ JAVA_GENTOO_CLASSPATH=" S="${WORKDIR}/${P}" -# bug 546502 PATCHES=( - "${FILESDIR}"/"${P}"-ClientPool.patch + "${FILESDIR}"/"${P}"-ClientPool.patch #546502 ) java_prepare() { @@ -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[@]}" } diff --git a/dev-java/jackrabbit-webdav/jackrabbit-webdav-2.10.1.ebuild b/dev-java/jackrabbit-webdav/jackrabbit-webdav-2.10.1.ebuild index a511edf66938..b132b4634872 100644 --- a/dev-java/jackrabbit-webdav/jackrabbit-webdav-2.10.1.ebuild +++ b/dev-java/jackrabbit-webdav/jackrabbit-webdav-2.10.1.ebuild @@ -48,7 +48,7 @@ PATCHES=( java_prepare() { cp "${FILESDIR}"/${P}-build.xml build.xml || die - epatch ${PATCHES[@]} + epatch "${PATCHES[@]}" } EANT_TEST_GENTOO_CLASSPATH=" diff --git a/dev-java/jung/jung-1.7.6.ebuild b/dev-java/jung/jung-1.7.6.ebuild index cde5e76072aa..ec7cf854723f 100644 --- a/dev-java/jung/jung-1.7.6.ebuild +++ b/dev-java/jung/jung-1.7.6.ebuild @@ -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 diff --git a/dev-java/jusb/jusb-0.4.4-r1.ebuild b/dev-java/jusb/jusb-0.4.4-r1.ebuild index 80aca1eac76e..129ff2bcbae2 100644 --- a/dev-java/jusb/jusb-0.4.4-r1.ebuild +++ b/dev-java/jusb/jusb-0.4.4-r1.ebuild @@ -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#' \ -- cgit v1.2.3-65-gdbad