Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233582 - media-libs/libmpd-0.15.0 uses "new" as one of its function parameter
Summary: media-libs/libmpd-0.15.0 uses "new" as one of its function parameter
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 13:14 UTC by Andrzej Rybczak
Modified: 2008-08-21 20:03 UTC (History)
1 user (show)

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


Attachments
patch taken from upstream resolving this issue (libmpd-remove-new-as-parameter.patch,1.66 KB, patch)
2008-08-01 13:15 UTC, Andrzej Rybczak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrzej Rybczak 2008-08-01 13:14:21 UTC
media-libs/libmpd-0.15.0 uses "new" as one of the parameter in its function, which prevents programs written in c++ using libmpd from compilation.

This has been already solved upstream.

Reproducible: Always

Steps to Reproduce:
1. emerge libmpd
2. write program in c++, which includes file libmpd/libmpd.h
3. try to compile this program

Actual Results:  
compilation fails.

Expected Results:  
compilation works.
Comment 1 Andrzej Rybczak 2008-08-01 13:15:01 UTC
Created attachment 161909 [details, diff]
patch taken from upstream resolving this issue
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2008-08-21 20:03:30 UTC
fixed in cvs, thanks