File: debian-kfreebsd.ftbfs.patch

package info (click to toggle)
blockout2 2.5%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 5,236 kB
  • sloc: cpp: 10,786; ansic: 148; makefile: 127
file content (14 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/BlockOut/Http.cpp
+++ b/BlockOut/Http.cpp
@@ -224,9 +224,11 @@
       case ENOMEM:
         sprintf(err_str,"Socket error: Insufficient user memory is available");
         break;
+#ifdef ENOSR
       case ENOSR:
         sprintf(err_str,"Socket error: Insufficient STREAMS resources available");
         break;
+#endif
       case EPROTONOSUPPORT:
         sprintf(err_str,"Socket error: Specified protocol is not supported");
         break;