diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-07-15 10:42:57 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-07-15 10:43:24 +0100 |
commit | 941ea3724bb21d7c1d56e000876627343a6d0157 (patch) | |
tree | 9394e219066cacd3c8f761d4c24648f895f8fa4b /net-ftp/proftpd/files | |
parent | dev-python/pythondialog: ia64 stable, bug #625064 (diff) | |
download | gentoo-941ea3724bb21d7c1d56e000876627343a6d0157.tar.gz gentoo-941ea3724bb21d7c1d56e000876627343a6d0157.tar.bz2 gentoo-941ea3724bb21d7c1d56e000876627343a6d0157.zip |
net-ftp/proftpd: unconditionally enable USE=trace, disable broken tests, bug #624570
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/624570
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-ftp/proftpd/files')
-rw-r--r-- | net-ftp/proftpd/files/proftpd-1.3.6-use-trace.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-ftp/proftpd/files/proftpd-1.3.6-use-trace.patch b/net-ftp/proftpd/files/proftpd-1.3.6-use-trace.patch new file mode 100644 index 000000000000..c7d918425636 --- /dev/null +++ b/net-ftp/proftpd/files/proftpd-1.3.6-use-trace.patch @@ -0,0 +1,18 @@ +Make --disable-trace a build-time failure instead of link-time one. + +Reported-by: Toralf Förster +Bug: https://bugs.gentoo.org/624570 +diff --git a/include/trace.h b/include/trace.h +index f05dd0e..398e939 100644 +--- a/include/trace.h ++++ b/include/trace.h +@@ -29,2 +29,4 @@ + ++#ifdef PR_USE_TRACE ++ + #define PR_TRACE_DEFAULT_CHANNEL "DEFAULT" +@@ -64,2 +66,4 @@ int pr_trace_vmsg(const char *, int, const char *, va_list); + ++#endif /* PR_USE_TRACE */ ++ + #endif /* PR_TRACE_H */ |