summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-09-29 03:49:59 +0000
committerMike Frysinger <vapier@gentoo.org>2004-09-29 03:49:59 +0000
commit4c382b62093b403697be6e3d907f35a4363cdcb6 (patch)
treef67f86042524eedc04bab2c3b7a3d909e34ece60
parentFixes collision with existing history(3) manpage on ppc-macos. (Manifest reco... (diff)
downloadgentoo-2-4c382b62093b403697be6e3d907f35a4363cdcb6.tar.gz
gentoo-2-4c382b62093b403697be6e3d907f35a4363cdcb6.tar.bz2
gentoo-2-4c382b62093b403697be6e3d907f35a4363cdcb6.zip
dont try to patch ltconfig if size == 0 bytes #65331
-rw-r--r--eclass/libtool.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
index 433667c4a74f..7cf56cf97e15 100644
--- a/eclass/libtool.eclass
+++ b/eclass/libtool.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.34 2004/09/25 19:59:51 rac Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.35 2004/09/29 03:49:59 vapier Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -278,6 +278,7 @@ uclibctoolize() {
einfo "Applying uClibc/libtool patches ..."
for x in ${targets} ; do
+ [ ! -s "${x}" ] && continue
case $(basename "${x}") in
configure)
if grep 'Transform linux' "${x}" >/dev/null ; then