SOURCES: pwlib-sparc64.patch (NEW) - fixes build on sparc64

tommat tommat at pld-linux.org
Wed Nov 28 19:17:29 CET 2007


Author: tommat                       Date: Wed Nov 28 18:17:29 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixes build on sparc64

---- Files affected:
SOURCES:
   pwlib-sparc64.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pwlib-sparc64.patch
diff -u /dev/null SOURCES/pwlib-sparc64.patch:1.1
--- /dev/null	Wed Nov 28 19:17:29 2007
+++ SOURCES/pwlib-sparc64.patch	Wed Nov 28 19:17:24 2007
@@ -0,0 +1,14 @@
+--- pwlib-1.10.10/src/ptlib/common/osutils.cxx.orig	2007-11-28 16:50:46.000000000 +0000
++++ pwlib-1.10.10/src/ptlib/common/osutils.cxx	2007-11-28 17:01:24.000000000 +0000
+@@ -2145,9 +2145,9 @@
+ void PThread::SetThreadName(const PString & name)
+ {
+   if (name.IsEmpty())
+-    threadName = psprintf("%s:%08x", GetClass(), (INT)this);
++    threadName = psprintf("%s:%08x", GetClass(), this);
+   else
+-    threadName = psprintf(name, (INT)this);
++    threadName = psprintf(name, this);
+ 
+ #if defined(_DEBUG) && defined(_MSC_VER)
+   if (threadId) {       // make thread name known to debugger
================================================================


More information about the pld-cvs-commit mailing list