pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/attica attica: Fix namespace issue for clang.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8070d17f2d82
branches:  trunk
changeset: 374634:8070d17f2d82
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Jan 26 15:16:29 2018 +0000

description:
attica: Fix namespace issue for clang.

diffstat:

 misc/attica/distinfo                            |   3 ++-
 misc/attica/patches/patch-lib_listjob__inst.cpp |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 70e3b628f632 -r 8070d17f2d82 misc/attica/distinfo
--- a/misc/attica/distinfo      Fri Jan 26 15:01:39 2018 +0000
+++ b/misc/attica/distinfo      Fri Jan 26 15:16:29 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2015/11/03 23:49:31 agc Exp $
+$NetBSD: distinfo,v 1.8 2018/01/26 15:16:29 jperkin Exp $
 
 SHA1 (attica-0.4.2.tar.bz2) = 5ae4adcb99db839902b70afd3d1cc7fd471bacd7
 RMD160 (attica-0.4.2.tar.bz2) = fae94a0a9b9064b3e25a00a759e2ef450bffe7d8
 SHA512 (attica-0.4.2.tar.bz2) = cef5d5c4bf01ed45ed8b59db354a4ac7949de435a45e4f753c847cadc15855e25997dedf1ff20c7bc4a2724d2cdba15139c54f0682df7d8cc8750de5be6f716e
 Size (attica-0.4.2.tar.bz2) = 57093 bytes
+SHA1 (patch-lib_listjob__inst.cpp) = c7c4607f41324cb0beaaf2d83be503a5ddfc634c
diff -r 70e3b628f632 -r 8070d17f2d82 misc/attica/patches/patch-lib_listjob__inst.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/attica/patches/patch-lib_listjob__inst.cpp   Fri Jan 26 15:16:29 2018 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-lib_listjob__inst.cpp,v 1.1 2018/01/26 15:16:29 jperkin Exp $
+
+Fix namespace issue for clang.
+
+--- lib/listjob_inst.cpp.orig  2013-04-30 22:45:43.000000000 +0000
++++ lib/listjob_inst.cpp
+@@ -77,7 +77,7 @@
+ #include "topicparser.h"
+ 
+ 
+-using namespace Attica;
++namespace Attica {
+ 
+ template class ListJob<Achievement>;
+ template class ListJob<Activity>;
+@@ -160,3 +160,4 @@ template class Parser<PublisherField>;
+ template class Parser<RemoteAccount>;
+ template class Parser<Topic>;
+ 
++};



Home | Main Index | Thread Index | Old Index