File: 0030-kfreebsd.patch

package info (click to toggle)
vsftpd 3.0.3-13
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 2,628 kB
  • sloc: ansic: 16,636; sh: 267; makefile: 51; python: 18
file content (20 lines) | stat: -rw-r--r-- 505 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description:
  Neither FreeBSD nor GNU/kFreeBSD have libpcap.  Avoid confusing
  sys/capability.h kernel header with libpcap's
Author: Steven Chamberlain <steven@pyro.eu.org>
Bug-Debian: http://bugs.debian.org/756794
Forwarded: no

--- a/sysdeputil.c
+++ b/sysdeputil.c
@@ -113,6 +113,10 @@
   #define VSF_SYSDEP_HAVE_SETPROCTITLE
 #endif
 
+#if defined(__FreeBSD_kernel__)
+  #undef VSF_SYSDEP_HAVE_LIBCAP
+#endif
+
 #if defined(__NetBSD__)
   #include <stdlib.h>
   #define VSF_SYSDEP_HAVE_SETPROCTITLE