File: 06use_tun_bsd.patch

package info (click to toggle)
libdumbnet 1.18.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,768 kB
  • sloc: ansic: 11,563; sh: 4,203; python: 261; makefile: 92
file content (24 lines) | stat: -rw-r--r-- 785 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
Description: The existence of <stropts.h> is no discerning criterion between
  Solaris and BSD. Debian is only concerned with BSD, so choose that.
Author: hesso@pool.math.tu-berlin.de
Origin: vendor
Last-Update: 2022-05-04
Forwarded: not-needed

Index: libdumbnet/configure.ac
===================================================================
--- libdumbnet.orig/configure.ac
+++ libdumbnet/configure.ac
@@ -340,11 +340,7 @@ dnl Check for tun interface.
 if test "$ac_cv_header_linux_if_tun_h" = yes ; then
 	AC_LIBOBJ([tun-linux])
 elif test "$ac_cv_header_net_if_tun_h" = yes ; then
-	if test "$ac_cv_header_stropts_h" = yes ; then
-		AC_LIBOBJ([tun-solaris])
-	else
-		AC_LIBOBJ([tun-bsd])
-	fi
+	AC_LIBOBJ([tun-bsd])
 elif test -c "/dev/tun0" ; then
 	AC_LIBOBJ([tun-bsd])
 else