libpcap/libpcap-1.10.1-sw.patch
2023-02-06 03:06:10 +00:00

12 lines
495 B
Diff

diff -Nuar libpcap-1.10.1.org/extract.h libpcap-1.10.1.sw/extract.h
--- libpcap-1.10.1.org/extract.h 2022-02-24 22:28:40.950000000 +0000
+++ libpcap-1.10.1.sw/extract.h 2022-02-24 22:29:55.090000000 +0000
@@ -114,6 +114,7 @@
}
#elif PCAP_IS_AT_LEAST_GNUC_VERSION(2,0) && \
(defined(__alpha) || defined(__alpha__) || \
+ defined(__sw_64) || defined(__sw_64__) || \
defined(__mips) || defined(__mips__))
/*
* This is MIPS or Alpha, which don't natively handle unaligned loads,