File: build-define-ENODATA.patch

package info (click to toggle)
acl 2.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,272 kB
  • sloc: ansic: 5,898; sh: 5,116; perl: 279; makefile: 51; sed: 16
file content (25 lines) | stat: -rw-r--r-- 596 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
22
23
24
25
Author: Guillem Jover <guillem@debian.org>
Description: On GNU/kFreeBSD ENODATA is not defined.
 We need to define it to ENOATTR instead which is defined. This is a
 regression from the upstream build system modernization.
Origin: vendor
Forwarded: yes
Applied-Upstream: 2.3.1+, commit:79cebdbea8d8c7d8b89ebbd5d259d341139dec01


---
 libacl/libacl.h |    3 +++
 1 file changed, 3 insertions(+)

--- a/libacl/libacl.h
+++ b/libacl/libacl.h
@@ -25,6 +25,9 @@
 #ifndef ENOATTR
 # define ENOATTR ENODATA
 #endif
+#ifndef ENODATA
+# define ENODATA ENOATTR
+#endif
 
 typedef unsigned int permset_t;