net-analyzer/sslsplit: fix an error in network-sandboxed test
authorPetr Vaněk <arkamar@atlas.cz>
Tue, 20 Mar 2018 21:32:16 +0000 (22:32 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 22 Mar 2018 17:58:28 +0000 (18:58 +0100)
Closes: https://bugs.gentoo.org/650998
Closes: https://github.com/gentoo/gentoo/pull/7528
Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-analyzer/sslsplit/sslsplit-0.5.2.ebuild
net-analyzer/sslsplit/sslsplit-9999.ebuild

index fbeb39924c75705ceffc969237acf52e3ca8b37c..0257c885324a141f84cf6a115e003491e0945b1c 100644 (file)
@@ -35,6 +35,7 @@ src_prepare() {
 
        sed -i 's/-D_FORTIFY_SOURCE=2 //g' GNUmakefile || die
        sed -i 's/\<FEATURES\>/SSLSPLIT_FEATURES/g' GNUmakefile version.c || die
+       sed -i '/opts_suite/d' main.t.c || die
 }
 
 src_install() {
index 537d8ae9c54ec8b9322c2cc487047826d589c342..c501c1e3acd3ebff9944e493c2b123d6d53f4195 100644 (file)
@@ -35,6 +35,7 @@ src_prepare() {
 
        sed -i 's/-D_FORTIFY_SOURCE=2 //g' GNUmakefile || die
        sed -i 's/\<FEATURES\>/SSLSPLIT_FEATURES/g' GNUmakefile build.c || die
+       sed -i '/opts_suite/d' main.t.c || die
 }
 
 src_install() {