SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
31
net/ns/patches/patch-conf_configure_in_nse
Normal file
31
net/ns/patches/patch-conf_configure_in_nse
Normal file
|
@ -0,0 +1,31 @@
|
|||
Index: conf/configure.in.nse
|
||||
--- conf/configure.in.nse.orig
|
||||
+++ conf/configure.in.nse
|
||||
@@ -79,13 +79,10 @@ AC_TRY_COMPILE([
|
||||
#include <stdio.h>
|
||||
#include <netinet/tcp.h>
|
||||
], [
|
||||
-int main()
|
||||
-{
|
||||
struct tcphdr *tcp;
|
||||
tcp->source= 1;
|
||||
|
||||
return 0;
|
||||
-}
|
||||
], [
|
||||
V_DEFINE="$V_DEFINE -DLINUX_TCP_HEADER"
|
||||
AC_MSG_RESULT(found)
|
||||
@@ -102,13 +99,10 @@ AC_TRY_COMPILE([
|
||||
#include <stdio.h>
|
||||
#include <netinet/tcp.h>
|
||||
], [
|
||||
-int main()
|
||||
-{
|
||||
struct tcphdr *tcp;
|
||||
tcp->th_sport= 1;
|
||||
|
||||
return 0;
|
||||
-}
|
||||
], [
|
||||
AC_MSG_RESULT(found)
|
||||
tcphdr=yes
|
Loading…
Add table
Add a link
Reference in a new issue