From f07042a6cb2c0e7efdc771ce1dd026b6b6bd90ce Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sat, 26 Mar 2011 01:11:33 +0100 Subject: package winpcap: workaround for gcc 4.6 --- src/winpcap.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/src/winpcap.mk b/src/winpcap.mk index 2416a46..5391aec 100644 --- a/src/winpcap.mk +++ b/src/winpcap.mk @@ -36,6 +36,7 @@ define $(PKG)_BUILD $(SED) -i 's,(char\*)tUstr +=,tUstr +=,' '$(1)/wpcap/libpcap/inet.c' $(SED) -i 's,-DHAVE_AIRPCAP_API,,' '$(1)/wpcap/PRJ/GNUmakefile' $(SED) -i 's,/common,/Common,' '$(1)/wpcap/PRJ/GNUmakefile' + $(SED) -i 's,-mno-cygwin,,' '$(1)/wpcap/PRJ/GNUmakefile' echo -e 'libwpcap.a: $${OBJS}' >> '$(1)/wpcap/PRJ/GNUmakefile' echo -e '\t$${AR} rc $$@ $${OBJS}' >> '$(1)/wpcap/PRJ/GNUmakefile' echo -e '\t$${RANLIB} $$@' >> '$(1)/wpcap/PRJ/GNUmakefile' -- cgit v0.12