Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1485429 Details for
Bug 1612860
perl-Net-Pcap-0.18-9.fc29 FTBFS: stubs.inc:357:8: error: redefinition of 'struct pcap_rmtauth'
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
fix build with libpcap 1.9.0
fix-build.patch (text/plain), 1.52 KB, created by
Thierry Vignaud
on 2018-09-21 08:51:30 UTC
(
hide
)
Description:
fix build with libpcap 1.9.0
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2018-09-21 08:51:30 UTC
Size:
1.52 KB
patch
obsolete
>diff -up ./Makefile.PL.tv ./Makefile.PL >--- ./Makefile.PL.tv 2018-09-21 10:32:09.165570705 +0200 >+++ ./Makefile.PL 2018-09-21 10:45:39.096591301 +0200 >@@ -106,7 +106,7 @@ REASON > # We also store the list of available functions in a file for skipping the > # corresponding tests. > my @funcs = have_functions(find_functions()); >-$options{DEFINE} .= cpp_defines(@funcs); >+$options{DEFINE} .= cpp_defines(@funcs). "-DHAVE_PCAP_SETSAMPLING"; > open(FUNCS, '>funcs.txt') or warn "warning: can't write 'funcs.txt': $!\n"; > print FUNCS join("\n", @funcs), "\n"; > close(FUNCS); >diff -up ./Pcap.xs.tv ./Pcap.xs >diff -up ./stubs.inc.tv ./stubs.inc >--- ./stubs.inc.tv 2018-09-21 10:30:08.653034412 +0200 >+++ ./stubs.inc 2018-09-21 10:46:41.339897943 +0200 >@@ -354,11 +354,6 @@ int pcap_parsesrcstr(const char *source, > #ifdef _MSC_VER > #pragma message( "Warning: the function pcap_open() is not available" ) > #endif >-struct pcap_rmtauth { >- int type; >- char *username; >- char *password; >-}; > > pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err); > pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err) { >@@ -511,6 +511,7 @@ HANDLE pcap_getevent(pcap_t *p) { > #ifdef _MSC_VER > #pragma message( "Warning: the function pcap_setsampling() is not available" ) > #endif >+#if 0 > struct pcap_samp { > int method; > int value; >@@ -522,6 +523,7 @@ struct pcap_samp *pcap_setsampling(pcap_ > return NULL; > } > #endif >+#endif > > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1612860
: 1485429