File perl-Net-Pcap-fix_libpcap_detection.patch of Package perl-Net-Pcap
Index: Net-Pcap-0.17/Makefile.PL
===================================================================
--- Net-Pcap-0.17.orig/Makefile.PL
+++ Net-Pcap-0.17/Makefile.PL
@@ -22,8 +22,6 @@ elsif ($^O eq 'cygwin') {
cygwin_pcap_headers();
}
else {
- $options{CCFLAGS} = "-Wall -Wwrite-strings"
- if $Config{ccname} eq "gcc" and $] >= 5.006;
$options{LIBS} = '-lpcap';
}