Package: rna-star
Version: rna-star_2.4.0i-1
Severity: important
Tags: sid
User: [email protected]
Usertags: mips-patch

Hello,

Package rna-star_2.4.0i-1 FTBFS on mipsel with following message:

Genome.cpp:277:57: error: 'SHM_NORESERVE' was not declared in this scope

Build log:
https://buildd.debian.org/status/fetch.php?pkg=rna-star&arch=mipsel&ver=2.4.0i-1&stamp=1422724557

There is a reported issue on Bugzilla:
https://sourceware.org/bugzilla/show_bug.cgi?id=17930

I am sending a patch which resolves this issue for mipsel, until this issue 
gets fixed in glibc.
With this patch package builds without an issue.
Could you please include this patch?

Thank you!

Regards,
Jurica

--- rna-star-2.4.0i.orig/source/IncludeDefine.h
+++ rna-star-2.4.0i/source/IncludeDefine.h
@@ -33,6 +33,10 @@ using namespace std;
   #define SHM_NORESERVE 0
 #endif
 
+#if defined(__mips__) && !defined(SHM_NORESERVE)
+#define SHM_NORESERVE 010000
+#endif
+
 typedef int8_t int8;
 typedef uint8_t uint8; 
 

Reply via email to