File: fix_ftbfs_debian-kfreebsd.patch

package info (click to toggle)
acpica-unix 20250404-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 39,648 kB
  • sloc: ansic: 139,761; sh: 4,385; yacc: 4,377; lex: 1,345; makefile: 1,337
file content (38 lines) | stat: -rw-r--r-- 851 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Package: acpica-unix
Severity: important
Version: 20060912-2
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small tweak to define uintptr_t, see below.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

                         Petr


---
 source/include/platform/acenv.h |    3 +++
 1 file changed, 3 insertions(+)

Index: acpica-unix-20191213/source/include/platform/acenv.h
===================================================================
--- acpica-unix-20191213.orig/source/include/platform/acenv.h
+++ acpica-unix-20191213/source/include/platform/acenv.h
@@ -178,6 +178,9 @@
 #endif
 
 /*! [Begin] no source code translation */
+#if defined(__GLIBC__)
+#include <stdint.h>
+#endif
 
 /******************************************************************************
  *