summaryrefslogtreecommitdiff
path: root/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'libnet')
-rw-r--r--libnet/nonworking/libnet/configure.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/libnet/nonworking/libnet/configure.patch b/libnet/nonworking/libnet/configure.patch
index e69de29bb2..876c4292bd 100644
--- a/libnet/nonworking/libnet/configure.patch
+++ b/libnet/nonworking/libnet/configure.patch
@@ -0,0 +1,61 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libnet/acinclude.m4~configure
++++ libnet/acinclude.m4
+@@ -184,7 +184,7 @@
+ AC_CACHE_VAL(ac_cv_lbl_unaligned_fail,
+ [case "$target_cpu" in
+
+- alpha|hp*|mips|sparc)
++ alpha|hp*|mips|sparc|arm)
+ ac_cv_lbl_unaligned_fail=yes
+ ;;
+
+@@ -259,7 +259,8 @@
+ dnl
+
+ AC_DEFUN(AC_LIBNET_ENDIAN_CHECK,
+- [AC_MSG_CHECKING(machine endianess)
++ [AC_CACHE_CHECK([machine_endianness],
++ ac_cv_libnet_endianess, [
+
+ cat > conftest.c << EOF
+ # include <stdio.h>
+@@ -312,8 +313,7 @@
+ fi
+ fi
+ rm -f conftest* core core.conftest
+-
+- AC_MSG_RESULT($ac_cv_libnet_endianess)
++ ])
+
+ if test $ac_cv_libnet_endianess = big ; then
+ AC_DEFINE(LIBNET_BIG_ENDIAN)
+@@ -324,7 +324,7 @@
+ ENDIANESS="LIBNET_LIL_ENDIAN"
+ LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DLIBNET_LIL_ENDIAN"
+ fi
+- ])
++])
+
+ dnl
+ dnl Improved version of AC_CHECK_LIB
+--- libnet/./configure.in~configure
++++ libnet/./configure.in
+@@ -7,10 +7,11 @@
+ dnl Process this file with autoconf to produce a configure script.
+
+
+-AC_INIT(src/libnet_build_ip.c)
++AC_INIT
++AC_CONFIG_SRCDIR([src/libnet_build_ip.c])
+ LIBNET_VERSION=`cat VERSION`
+ AC_MSG_RESULT(beginning autoconfiguration process for libnet-$LIBNET_VERSION...)
+-AC_CANONICAL_SYSTEM
++AC_CANONICAL_TARGET([])
+
+ AM_INIT_AUTOMAKE(libnet, $LIBNET_VERSION)
+ AM_CONFIG_HEADER(include/config.h)