summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/htmltidy/files/htmltidy-0.99.0-CVE-2015-5522.patch (renamed from app-text/htmltidy/files/11CVE-2015-5522.patch)0
-rw-r--r--app-text/htmltidy/files/htmltidy-0.99.0-strip-O2-flag.patch (renamed from app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch)0
-rw-r--r--app-text/htmltidy/files/htmltidy-0.99.0-tidyrc.patch (renamed from app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch)0
-rw-r--r--app-text/htmltidy/htmltidy-0.99.0.ebuild (renamed from app-text/htmltidy/htmltidy-20090325-r2.ebuild)9
4 files changed, 5 insertions, 4 deletions
diff --git a/app-text/htmltidy/files/11CVE-2015-5522.patch b/app-text/htmltidy/files/htmltidy-0.99.0-CVE-2015-5522.patch
index b4d6158ea04a..b4d6158ea04a 100644
--- a/app-text/htmltidy/files/11CVE-2015-5522.patch
+++ b/app-text/htmltidy/files/htmltidy-0.99.0-CVE-2015-5522.patch
diff --git a/app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch b/app-text/htmltidy/files/htmltidy-0.99.0-strip-O2-flag.patch
index 4c805cf2226f..4c805cf2226f 100644
--- a/app-text/htmltidy/files/htmltidy-5.10.26-strip-O2-flag.patch
+++ b/app-text/htmltidy/files/htmltidy-0.99.0-strip-O2-flag.patch
diff --git a/app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch b/app-text/htmltidy/files/htmltidy-0.99.0-tidyrc.patch
index 942a61e1464c..942a61e1464c 100644
--- a/app-text/htmltidy/files/htmltidy-20090325-tidyrc.patch
+++ b/app-text/htmltidy/files/htmltidy-0.99.0-tidyrc.patch
diff --git a/app-text/htmltidy/htmltidy-20090325-r2.ebuild b/app-text/htmltidy/htmltidy-0.99.0.ebuild
index 84937969eb81..8cacda80a2a1 100644
--- a/app-text/htmltidy/htmltidy-20090325-r2.ebuild
+++ b/app-text/htmltidy/htmltidy-0.99.0.ebuild
@@ -4,7 +4,8 @@
EAPI=5
MY_PN="tidy"
-MY_P="${MY_PN}-${PV}"
+MY_PV="20090325"
+MY_P="${MY_PN}-${MY_PV}"
inherit epatch autotools
@@ -29,13 +30,13 @@ src_prepare() {
cp -R ./build/gnuauto/* . || die "could not prepare autotools environment"
# Stop tidy from appending -O2 to our CFLAGS
- epatch "${FILESDIR}"/htmltidy-5.10.26-strip-O2-flag.patch
+ epatch "${FILESDIR}"/${P}-strip-O2-flag.patch
# Define /etc/tidyrc for system wide config, bug 154834
- epatch "${FILESDIR}"/htmltidy-20090325-tidyrc.patch
+ epatch "${FILESDIR}"/${P}-tidyrc.patch
# Fix security bug 561452
- epatch "${FILESDIR}"/11CVE-2015-5522.patch
+ epatch "${FILESDIR}"/${P}-CVE-2015-5522.patch
eautoreconf
}