blob: 9a2f229ddc2e646dd032d20f966153ef81a1b09f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Description: Define IS_EINVAL_EXTRA for Hurd systems
clisp (1:2.49-10) unstable; urgency=medium
.
* Makes clisp compile under debuild
* Solves https://lists.debian.org/debian-hurd/2012/06/msg00053.html)
Author: Flavio Cruz <flaviocruz@gmail.com>
Last-Update: 2015-09-23
--- clisp.orig/src/stream.d
+++ clisp/src/stream.d
@@ -3501,6 +3501,8 @@
#define IS_EINVAL_EXTRA ((errno==EOPNOTSUPP)||(errno==ENOTSUP)||(errno==ENODEV))
#elif defined(UNIX_SUNOS5)
#define IS_EINVAL_EXTRA ((errno==ENXIO))
+#elif defined(UNIX_HURD)
+ #define IS_EINVAL_EXTRA ((errno==EOPNOTSUPP)||(errno==EMIG_BAD_ID))
#else
#define IS_EINVAL_EXTRA 0
#endif
|