don't pull standard namespace in public header file.

fixes at least audio/amarok.
discussed with espie@, naddy@ and landry@
"This has to be fixed" espie@
"it makes totally sense" landry@
This commit is contained in:
martynas 2009-05-03 15:13:53 +00:00
parent 9c6f67b2a7
commit 4a65b68203
2 changed files with 16 additions and 1 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.10 2009/04/22 08:58:34 landry Exp $
# $OpenBSD: Makefile,v 1.11 2009/05/03 15:13:53 martynas Exp $
COMMENT= managing meta-data of audio formats
DISTNAME= taglib-1.5
PKGNAME= ${DISTNAME}p0
CATEGORIES= audio devel
MASTER_SITES= http://ktown.kde.org/~wheeler/files/src/
SHARED_LIBS += tag 7.0 # .6.0

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-taglib_toolkit_tmap_h,v 1.1 2009/05/03 15:13:53 martynas Exp $
--- taglib/toolkit/tmap.h.orig Mon Feb 4 17:14:45 2008
+++ taglib/toolkit/tmap.h Fri May 1 15:23:52 2009
@@ -27,7 +27,10 @@
#define TAGLIB_MAP_H
#include <map>
+
+#ifdef WANT_CLASS_INSTANTIATION_OF_MAP
using namespace std;
+#endif
#include "taglib.h"