Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mpd5: unbreak build for GCC (powerpc64)
Unbreak package build for GCC-based arches adding r2412 and r2414 from upstream. No PORTREVISION bump.
- Loading branch information
Eugene Grosbein
authored and
Eugene Grosbein
committed
Aug 28, 2021
1 parent
d823e06
commit 2daa6c3
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 */ |