summaryrefslogtreecommitdiff
path: root/package/libnet/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-30 23:00:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-30 23:00:18 +0100
commit5bfdfbcee97c930c3c14dc3745089ac28e76ca41 (patch)
tree723a2310434afd85f68b3437e17917fcc6c5d623 /package/libnet/patches/patch-configure
parent16d7827ef1aec4aab89033ed1d47ca82fa3a3ba7 (diff)
parent58d31896056e604185acf3606b99257cea519dd1 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libnet/patches/patch-configure')
-rw-r--r--package/libnet/patches/patch-configure83
1 files changed, 0 insertions, 83 deletions
diff --git a/package/libnet/patches/patch-configure b/package/libnet/patches/patch-configure
deleted file mode 100644
index dceedf213..000000000
--- a/package/libnet/patches/patch-configure
+++ /dev/null
@@ -1,83 +0,0 @@
---- libnet-1.1.4.orig/configure 2009-06-10 01:13:22.000000000 +0200
-+++ libnet-1.1.4/configure 2009-12-11 11:45:26.000000000 +0100
-@@ -1,4 +1,4 @@
--#! /bin/sh
-+#
- # Guess values for system-dependent variables and create Makefiles.
- # Generated by GNU Autoconf 2.61 for libnet 1.1.4.
- #
-@@ -19678,57 +19678,6 @@ done
- { echo "$as_me:$LINENO: checking machine endianess" >&5
- echo $ECHO_N "checking machine endianess... $ECHO_C" >&6; }
-
-- cat > conftest.c << EOF
--# include <stdio.h>
--# include <stdlib.h>
--
-- int main()
-- {
-- union
-- {
-- short s;
-- char c[sizeof(short)];
-- } un;
--
-- un.s = 0x0102;
-- if (sizeof (short) == 2)
-- {
-- if (un.c [0] == 1 && un.c [1] == 2)
-- {
-- printf("B\n");
-- }
-- else
-- {
-- if (un.c [0] == 2 && un.c [1] == 1)
-- {
-- printf("L\n");
-- }
-- }
-- }
-- else
-- {
-- printf("?\n");
-- }
-- return (EXIT_SUCCESS);
-- }
--EOF
-- ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.c $LIBS > /dev/null 2>&1
-- # Oopz 4.3 BSD doesn't have this. Sorry.
-- if test ! -x conftest ; then
-- ac_cv_libnet_endianess=unknown
-- else
-- ./conftest > conftest.out
-- result=`cat conftest.out`
-- if test $result = "B"; then
-- ac_cv_libnet_endianess=big
-- elif test $result = "L"; then
-- ac_cv_libnet_endianess=lil
-- else
-- ac_cv_libnet_endianess=unknown
-- fi
-- fi
-- rm -f conftest* core core.conftest
--
- { echo "$as_me:$LINENO: result: $ac_cv_libnet_endianess" >&5
- echo "${ECHO_T}$ac_cv_libnet_endianess" >&6; }
-
-@@ -19836,7 +19785,15 @@ _ACEOF
- { echo "$as_me:$LINENO: checking link-layer packet interface type" >&5
- echo $ECHO_N "checking link-layer packet interface type... $ECHO_C" >&6; }
-
--if test -r /dev/bpf0 ; then
-+if test -n "$LL_INT_TYPE"; then
-+ case $LIBOBJS in
-+ "libnet_link_$LL_INT_TYPE.$ac_objext" | \
-+ *" libnet_link_$LL_INT_TYPE.$ac_objext" | \
-+ "libnet_link_$LL_INT_TYPE.$ac_objext "* | \
-+ *" libnet_link_$LL_INT_TYPE.$ac_objext "* ) ;;
-+ *) LIBOBJS="$LIBOBJS libnet_link_$LL_INT_TYPE.$ac_objext" ;;
-+esac
-+elif test -r /dev/bpf0 ; then
- case " $LIBOBJS " in
- *" libnet_link_bpf.$ac_objext "* ) ;;
- *) LIBOBJS="$LIBOBJS libnet_link_bpf.$ac_objext"