From 2dc83000f642298a849fe966a180a0c8ee240835 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Wed, 3 Oct 2012 15:01:55 +0000 Subject: - Fix build with clang - Switch to SF mirror - Add USE_DOS2UNIX PR: ports/171859 Approved by: Iouri Ivliev (maintainer) --- .../panomatic/files/patch-zthread-src-posix-ThreadOps.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 graphics/panomatic/files/patch-zthread-src-posix-ThreadOps.cxx (limited to 'graphics/panomatic/files/patch-zthread-src-posix-ThreadOps.cxx') diff --git a/graphics/panomatic/files/patch-zthread-src-posix-ThreadOps.cxx b/graphics/panomatic/files/patch-zthread-src-posix-ThreadOps.cxx new file mode 100644 index 000000000000..78825e983bb1 --- /dev/null +++ b/graphics/panomatic/files/patch-zthread-src-posix-ThreadOps.cxx @@ -0,0 +1,11 @@ +--- zthread/src/posix/ThreadOps.cxx.orig 2008-02-28 22:51:46.000000000 +0000 ++++ zthread/src/posix/ThreadOps.cxx 2012-09-24 12:02:46.539117586 +0000 +@@ -103,7 +103,7 @@ + struct sched_param param; + int policy = SCHED_OTHER; + +- if(result = (pthread_getschedparam(impl->_tid, &policy, ¶m) == 0)) { ++ if((result = (pthread_getschedparam(impl->_tid, &policy, ¶m) == 0))) { + + // Convert to one of the PRIORITY values + if(param.sched_priority < 10) -- cgit v1.2.3