ports/158182: [PATCH] fix devel/pwlib to build with clang

Niclas Zeising niclas.zeising at gmail.com
Wed Jun 22 22:50:11 UTC 2011


>Number:         158182
>Category:       ports
>Synopsis:       [PATCH] fix devel/pwlib to build with clang
>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 Jun 22 22:50:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Niclas Zeising
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD vincent.daemonic.se 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Wed Apr 20 17:22:47 CEST 2011 root at vincent.daemonic.se:/usr/obj/usr/src/sys/VINCENT amd64


	
>Description:
	devel/pwlib doesn't build with clang.
>How-To-Repeat:
	
>Fix:

	Attached patch makes devel/pwlib build with clang.

--- devel.pwlib.clangfix.patch begins here ---
Index: files/patch-include-ptlib-array.h
===================================================================
RCS file: files/patch-include-ptlib-array.h
diff -N files/patch-include-ptlib-array.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-include-ptlib-array.h	22 Jun 2011 22:44:30 -0000
@@ -0,0 +1,11 @@
+--- include/ptlib/array.h.orig	2011-06-23 00:28:13.000000000 +0200
++++ include/ptlib/array.h	2011-06-23 00:28:34.000000000 +0200
+@@ -644,7 +644,7 @@
+       T t;
+       stream >> t;
+       if (!stream.fail())
+-        SetAt(index, t);
++        this->SetAt(index, t);
+     }
+ };
+ 
--- devel.pwlib.clangfix.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list