perl-Net-Pcap/perl-Net-Pcap-0.17-gcc-4.7.patch

13 lines
404 B
Diff

diff -Nru Net-Pcap-0.17.orig/Makefile.PL Net-Pcap-0.17/Makefile.PL
--- Net-Pcap-0.17.orig/Makefile.PL 2012-11-28 00:06:02.000000000 +0100
+++ Net-Pcap-0.17/Makefile.PL 2013-03-21 11:17:57.896608616 +0100
@@ -22,8 +22,6 @@
cygwin_pcap_headers();
}
else {
- $options{CCFLAGS} = "-Wall -Wwrite-strings"
- if $Config{ccname} eq "gcc" and $] >= 5.006;
$options{LIBS} = '-lpcap';
}