File: non-linux-support.diff

package info (click to toggle)
gluegen2 2.6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,320 kB
  • sloc: java: 55,357; ansic: 3,758; xml: 3,328; sh: 1,565; pascal: 591; asm: 162; makefile: 76
file content (21 lines) | stat: -rw-r--r-- 616 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: treat other Debian kernels as if they were Linux
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
Last-Update: 2023-03-15

--- a/make/gluegen-cpptasks-base.xml
+++ b/make/gluegen-cpptasks-base.xml
@@ -304,7 +304,12 @@
       <os name="Android" />
     </condition>
     <condition property="isLinux">
-      <os name="Linux" />
+      <or>
+        <os name="Linux" />
+        <!-- treat GNU/kFreeBSD or Hurd just as Linux -->
+        <os name="GNU/kFreeBSD" />
+        <os name="GNU" />
+      </or>
     </condition>
     <condition property="isSolaris">
       <os name="SunOS" />