Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/arp-sk: Fix build with libnet 1.2+
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- configure.orig 2004-12-07 15:26:51 UTC | ||
+++ configure | ||
@@ -2932,8 +2932,8 @@ echo "${ECHO_T}yes" >&6 | ||
|
||
fi; | ||
|
||
-echo "$as_me:$LINENO: checking for version 1.1.x of libnet" >&5 | ||
-echo $ECHO_N "checking for version 1.1.x of libnet... $ECHO_C" >&6 | ||
+echo "$as_me:$LINENO: checking for version 1.2.x of libnet" >&5 | ||
+echo $ECHO_N "checking for version 1.2.x of libnet... $ECHO_C" >&6 | ||
|
||
if test "$cross_compiling" = yes; then | ||
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
@@ -2953,7 +2953,7 @@ cat >>conftest.$ac_ext <<_ACEOF | ||
#include <string.h> | ||
int main() | ||
{ | ||
- return (strncmp(LIBNET_VERSION, "1.1.", 4)); | ||
+ return (strncmp(LIBNET_VERSION, "1.2", 3)); | ||
} | ||
|
||
_ACEOF |