--- apache-2.eclass.orig 2007-11-29 21:06:05.000000000 +0200 +++ apache-2.eclass 2007-12-15 13:42:19.000000000 +0200 @@ -32,6 +32,11 @@ # This variable needs to be set in the ebuild and contains the name of the # gentoo developer who created the patch tarball +# @ECLASS-VARIABLE: APACHE_PATCH_DROP +# @DESCRIPTION: +# This variable is a space delimited list of patches that will be dropped from +# $GENTOO_PATCHNAME. never to be used from an ebuild, it is ment to be used by the end user + # @ECLASS-VARIABLE: GENTOO_PATCHSTAMP # @DESCRIPTION: # This variable needs to be set in the ebuild and contains the date the patch @@ -366,6 +371,12 @@ "${GENTOO_PATCHDIR}"/{conf/httpd.conf,init/*,patches/config.layout} \ || die "libdir sed failed" + for patch in ${APACHE_PATCH_DROP}; do + ebegin "Excluding patch ${patch}" + rm -f "${GENTOO_PATCHDIR}"/patches/${patch}* 2>/dev/null + eend $? + done + epatch "${GENTOO_PATCHDIR}"/patches/*.patch # setup the filesystem layout config