Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115542 - commoncpp2 patch to add support for ipv6 use flag
Summary: commoncpp2 patch to add support for ipv6 use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 08:32 UTC by Pardsbane
Modified: 2005-12-16 19:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
apply against commoncpp2-1.3.13.ebuild (commoncpp2-ipv6.patch,615 bytes, patch)
2005-12-14 08:33 UTC, Pardsbane
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pardsbane 2005-12-14 08:32:00 UTC
here is a patch to have commoncpp2's ebuild respect the ipv6 use flag.

The patch in for commoncpp2-1.3.13.ebuild, but is the same all the way up to 1.3.22

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
support ipv6 (or to disable it)
Comment 1 Pardsbane 2005-12-14 08:33:52 UTC
Created attachment 74734 [details, diff]
apply against commoncpp2-1.3.13.ebuild

@@ -9,7 +9,7 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc xml2"
+IUSE="doc xml2 ipv6"

 DEPEND="xml2? ( >=dev-libs/libxml2-2.6.19 )"

@@ -18,6 +18,10 @@
		&& myconf="${myconf} --with-xml" \
		|| myconf="${myconf} --without-xml"

+	use ipv6 \
+		&& myconf="${myconf} --with-ipv6" \
+		|| myconf="${myconf} --without-ipv6"
+
	econf ${myconf} || die "./configure failed"

	emake || die
Comment 2 Ciaran McCreesh 2005-12-16 19:05:57 UTC
1.3.20-r1 fixed.