File: mips_shm_noreserve.patch

package info (click to toggle)
rna-star 2.7.10b%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,568 kB
  • sloc: cpp: 21,686; awk: 827; ansic: 456; makefile: 192; sh: 31
file content (18 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Jurica Stanojkovic <Jurica.Stanojkovic@imgtec.com>
Last-Changed: Fri, 3 Apr 2015 14:04:58 +0000
Bugs-Debian: http://bugs.debian.org/781828
Description: resolves build issue for mipsel, until this issue gets fixed in glibc

--- a/source/IncludeDefine.h
+++ b/source/IncludeDefine.h
@@ -44,6 +44,10 @@
 #define SHM_NORESERVE 010000
 #endif
 
+#if defined(__mips__) && !defined(SHM_NORESERVE)
+#define SHM_NORESERVE 010000
+#endif
+
 typedef int8_t int8;
 typedef uint8_t uint8;