Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/tcpdump/include Re-add LBL_ALIGN define we used...



details:   https://anonhg.NetBSD.org/src/rev/47bd94e51bdf
branches:  trunk
changeset: 761493:47bd94e51bdf
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sat Jan 29 23:19:54 2011 +0000

description:
Re-add LBL_ALIGN define we used to have pre-src/external.
Fixes a tcpdump SIGBUS on ARM.

diffstat:

 external/bsd/tcpdump/include/config.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9bebc4a32e4a -r 47bd94e51bdf external/bsd/tcpdump/include/config.h
--- a/external/bsd/tcpdump/include/config.h     Sat Jan 29 22:58:47 2011 +0000
+++ b/external/bsd/tcpdump/include/config.h     Sat Jan 29 23:19:54 2011 +0000
@@ -257,7 +257,7 @@
 #define HAVE___ATTRIBUTE__ 1
 
 /* if unaligned access fails */
-/* #undef LBL_ALIGN */
+#define LBL_ALIGN 1
 
 /* Define to 1 if netinet/ether.h declares `ether_ntohost' */
 /* #undef NETINET_ETHER_H_DECLARES_ETHER_NTOHOST */



Home | Main Index | Thread Index | Old Index