Files
ports/biology/star/files/patch-SharedMemory.cpp
T
Jason W. Bacon d3e770598b biology/star: Spliced Transcripts Alignment to a Reference
STAR is an extremely fast RNA-seq aligner, an alternative to tophat2,
hisat2, bowtie, subread, etc.
2019-04-21 20:30:55 +00:00

12 lines
345 B
C++

--- SharedMemory.cpp.orig 2019-04-21 19:57:39 UTC
+++ SharedMemory.cpp
@@ -11,7 +11,7 @@
#include <semaphore.h>
#include <errno.h>
-#ifdef COMPILE_FOR_MAC
+#if defined(COMPILE_FOR_MAC) || defined(__FreeBSD__)
//some Mac's idiosyncrasies: standard SHM libraries are very old and missing some definitions
#define SHM_NORESERVE 0
#endif