Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 372930 Details for
Bug 504958
dev-perl/Net-Pcap - looking for -lpcap... no
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Makefile patch
0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch (text/plain), 1.02 KB, created by
gentoo
on 2014-03-18 13:41:48 UTC
(
hide
)
Description:
Makefile patch
Filename:
MIME Type:
Creator:
gentoo
Created:
2014-03-18 13:41:48 UTC
Size:
1.02 KB
patch
obsolete
>From 6e66a1d78d825fa24ee369b5a076bf7c18f8abb8 Mon Sep 17 00:00:00 2001 >From: Niko Tyni <ntyni@debian.org> >Date: Sun, 10 Jul 2011 08:11:20 +0300 >Subject: [PATCH] Append CCFLAGS to $Config{ccflags} instead of overriding it > >As discussed in [rt.cpan.org #68613], overriding $Config{ccflags} >breaks XS extensions on Perl 5.14 / x86. This manifests in > >> looking for -lpcap... no > >because the test distribution in .testlink/ fails its test suite. > >Manually append to $Config{ccflags} as a change in EU::MM seems >improbable. >--- > Makefile.PL | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/Makefile.PL b/Makefile.PL >index 26ab13e..37e2ef5 100644 >--- a/Makefile.PL >+++ b/Makefile.PL >@@ -22,7 +22,7 @@ elsif ($^O eq 'cygwin') { > cygwin_pcap_headers(); > } > else { >- $options{CCFLAGS} = '-Wall -Wwrite-strings' if $Config{ccname} eq 'gcc' and $] >= 5.006; >+ $options{CCFLAGS} = $Config{ccflags} . ' -Wall -Wwrite-strings' if $Config{ccname} eq 'gcc' and $] >= 5.006; > $options{LIBS} = '-lpcap'; > } > >-- >1.7.5.4 >
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 504958
: 372930 |
372932