Date: Sat, 28 Aug 2021 19:35:27 GMT From: Eugene Grosbein <eugen@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2daa6c3395df - main - net/mpd5: unbreak build for GCC (powerpc64) Message-ID: <202108281935.17SJZRs3033881@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by eugen: URL: https://cgit.FreeBSD.org/ports/commit/?id=2daa6c3395df7d37a495c22dbe9a802be2dca96e commit 2daa6c3395df7d37a495c22dbe9a802be2dca96e Author: Eugene Grosbein <eugen@FreeBSD.org> AuthorDate: 2021-08-28 19:32:55 +0000 Commit: Eugene Grosbein <eugen@FreeBSD.org> CommitDate: 2021-08-28 19:35:07 +0000 net/mpd5: unbreak build for GCC (powerpc64) Unbreak package build for GCC-based arches adding r2412 and r2414 from upstream. No PORTREVISION bump. --- net/mpd5/files/patch-ppp.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/net/mpd5/files/patch-ppp.h b/net/mpd5/files/patch-ppp.h new file mode 100644 index 000000000000..46dba25791f3 --- /dev/null +++ b/net/mpd5/files/patch-ppp.h @@ -0,0 +1,27 @@ +Index: src/ppp.h +=================================================================== +--- src/ppp.h (revision 2411) ++++ src/ppp.h (working copy) +@@ -69,20 +69,15 @@ + #define assert(e) ((e) ? (void)0 : DoAssert(__FILE__, __LINE__, #e)) + + #ifdef __clang__ +- ++#ifndef NO_THREAD_SAFETY_ANALYSIS + #ifndef THREAD_ANNOTATION_ATTRIBUTE__ + #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) +-#else +- #define THREAD_ANNOTATION_ATTRIBUTE__(x) + #endif +- +-#ifndef NO_THREAD_SAFETY_ANALYSIS + #define NO_THREAD_SAFETY_ANALYSIS \ + THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis) ++#endif + #else + #define NO_THREAD_SAFETY_ANALYSIS +-#endif +- + #endif /* __clang__ */ + + /* Giant Mutex handling */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108281935.17SJZRs3033881>