ports/172103: [PATCH] fix kdebase3 build with clang (->insert)
Oliver Pinter
oliver.pntr at gmail.com
Wed Sep 26 22:10:06 UTC 2012
>Number: 172103
>Category: ports
>Synopsis: [PATCH] fix kdebase3 build with clang (->insert)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 26 22:10:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Oliver Pinter
>Release: FreeBSD 10-CURRENT
>Organization:
>Environment:
FreeBSD pandora-test 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r+e17c996: Tue Sep 25 20:02:51 CEST 2012 root at pandora-test:/usr/obj/usr/src/sys/OP amd64
>Description:
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
commit 8eee76bce908416a7dbecaa714de7e6a8330390c
Author: Oliver Pinter <oliver.pntr at gmail.com>
Date: Wed Sep 26 01:26:04 2012 +0200
added clang buildfix for kdebase3
Signed-off-by: Oliver Pinter <oliver.pntr at gmail.com>
diff --git a/x11/kdebase3/files/patch-20120526111938-kdebase3-clang.diff b/x11/kdebase3/files/patch-20120526111938-kdebase3-clang.diff
new file mode 100644
index 0000000..38517f5
--- /dev/null
+++ b/x11/kdebase3/files/patch-20120526111938-kdebase3-clang.diff
@@ -0,0 +1,29 @@
+--- ./kicker/applets/launcher/easyvector.h.orig 2012-05-26 11:11:24.000000000 +0200
++++ ./kicker/applets/launcher/easyvector.h 2012-05-26 11:12:38.000000000 +0200
+@@ -87,7 +87,7 @@
+ template < class VALUE, bool CHECKINDEX >
+ void EasyVector< VALUE, CHECKINDEX >::eraseAt(Index index)
+ { _checkIndex(index);
+- erase(this->begin()+index);
++ this->erase(this->begin()+index);
+ }
+
+
+@@ -108,7 +108,7 @@
+ this->push_back(value);
+ return;
+ }
+- insert(this->begin()+index,value);
++ this->insert(this->begin()+index,value);
+ }
+
+
+@@ -116,7 +116,7 @@
+ void EasyVector< VALUE, CHECKINDEX >::insertAt(EasyVector< VALUE, CHECKINDEX >::Index index,const EasyVector< VALUE, CHECKINDEX > &v)
+ { index=_convertInsertIndex(index);
+ _checkInsertIndex(index);
+- insert(this->begin()+index,v.begin(),v.end());
++ this->insert(this->begin()+index,v.begin(),v.end());
+ }
+
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list