File: fix_enomedium_on_kfreebsd.patch

package info (click to toggle)
plptools 1.0.13-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,496 kB
  • sloc: ansic: 17,622; sh: 12,838; cpp: 12,823; makefile: 651; yacc: 291; sed: 16
file content (15 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: plptools-1.0.13/plpfuse/fuse.c
===================================================================
--- plptools-1.0.13.orig/plpfuse/fuse.c
+++ plptools-1.0.13/plpfuse/fuse.c
@@ -32,6 +32,10 @@
 /* Maximum length of a generated psion xattr string */
 #define XATTR_MAXLEN 3
 
+#ifndef ENOMEDIUM
+#define ENOMEDIUM ENODEV
+#endif
+
 int debug;
 
 int