sossego
Retired from the forums
Okay.
After editing for spelling.
This is the patch.
This is the patch reject.
October 6, 2013 02:23 EST: http://slexy.org/view/s2Bl9PCAhU
The build is clang based with
It seems that these errors are common with clang and traverso. It had stopped on a
earlier at Tsar.h.
Code:
===> Found saved configuration for traverso-0.49.2
===> traverso-0.49.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by traverso-0.49.2 for building
===> Extracting for traverso-0.49.2
=> SHA256 Checksum OK for traverso-0.49.2.tar.gz.
===> Patching for traverso-0.49.2
===> Applying FreeBSD patches for traverso-0.49.2
1 out of 2 hunks failed--saving rejects to ./src/core/Sheet.cpp.rej
=> Patch patch-src__core__Sheet.cpp failed to apply cleanly.
=> Patch(es) patch-src__3rdparty__slv2__src__plugin.c applied cleanly.
*** [do-patch] Error code 1
Stop in /home/traverso.
*** [build] Error code 1
Stop in /home/traverso.
After editing for spelling.
Code:
--- ./src/engine/AudioDeviceThread.cpp.orig 2009-03-28 13:18:39.000000000 +0430
+++ ./src/engine/AudioDeviceThread.cpp 2013-09-30 10:32:19.000000000 +0330
@@ -34,6 +34,8 @@
#include <sys/time.h>
#include <unistd.h>
#include <signal.h>
+#include <sys/param.h>
+#include <sys/cpuset.h>
// Always put me below _all_ includes, this is needed
// in case we run with memory leak detection enabled!
@@ -148,7 +150,7 @@
#if defined (Q_WS_11)
-typedef int* (*setaffinity_func_type)(pid_t,unsigned int,cpu_set_t *);
+typedef int* (*setaffinity_func_type)(pid_t,unsigned int,cpuset_t *);
#endif
void AudioDeviceThread::run_on_cpu( int cpu )
@@ -157,10 +159,10 @@
void *setaffinity_handle = dlopen(NULL, RTLD_LAZY);// NULL might not be portable to platforms other than linu - tajmorton@gmail.com
setaffinity_func_type setaffinity_func;
- setaffinity_func = (setaffinity_func_type) dlsym(setaffinity_handle, "sched_setaffinity");
+ setaffinity_func = (setaffinity_func_type) dlsym(setaffinity_handle, "cpuset_setaffinity");
if (setaffinity_func != NULL) {
- cpu_set_t mask;
+ cpuset_t mask;
CPU_ZERO(&mask);
CPU_SET(cpu, &mask);
if (setaffinity_func(0, sizeof(mask), &mask)) {
Code:
***************
*** 148,154 ****
#if defined (Q_WS_11)
- typedef int* (*setaffinity_func_type)(pid_t,unsigned int,cpu_set_t *);
#endif
void AudioDeviceThread::run_on_cpu( int cpu )
--- 150,156 ----
#if defined (Q_WS_11)
+ typedef int* (*setaffinity_func_type)(pid_t,unsigned int,cpuset_t *);
#endif
void AudioDeviceThread::run_on_cpu( int cpu )
October 6, 2013 02:23 EST: http://slexy.org/view/s2Bl9PCAhU
The build is clang based with
# make -k
ran to prevent stopping on errors.It seems that these errors are common with clang and traverso. It had stopped on a
Code:
void *[]