Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2021 10:43:07 GMT
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ad03eb1e0a2f - main - graphics/cairo: define _WITH_CPU_SET_T to fix build on -CURRENT
Message-ID:  <202111231043.1ANAh7o4032333@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ad03eb1e0a2f1a5af74070aa47ca837f2ab6ddb9

commit ad03eb1e0a2f1a5af74070aa47ca837f2ab6ddb9
Author:     Trond Endrestøl <Trond.Endrestol@ximalas.info>
AuthorDate: 2021-11-23 10:35:34 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-11-23 10:42:45 +0000

    graphics/cairo: define _WITH_CPU_SET_T to fix build on -CURRENT
    
    Changes in 90fa9705d5cd hide functionality behind _WITH_CPU_SET_T,
    and require consumers to opt-in.
    
    Error:
            --- cairo-perf-micro.o ---
            cairo-perf-micro.c:418:5: error: unknown type name 'cpu_set_t'; did you mean 'cpusetid_t'?
                cpu_set_t affinity;
                ^~~~~~~~~
                cpusetid_t
            /usr/include/sys/types.h:86:22: note: 'cpusetid_t' declared here
            typedef __cpusetid_t    cpusetid_t;
                            ^
    
    PR:             259787
---
 graphics/cairo/files/patch-perf_cairo-perf-micro.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/graphics/cairo/files/patch-perf_cairo-perf-micro.c b/graphics/cairo/files/patch-perf_cairo-perf-micro.c
new file mode 100644
index 000000000000..5d5ba85905df
--- /dev/null
+++ b/graphics/cairo/files/patch-perf_cairo-perf-micro.c
@@ -0,0 +1,10 @@
+--- perf/cairo-perf-micro.c.orig	2020-11-26 23:20:59 UTC
++++ perf/cairo-perf-micro.c
+@@ -43,6 +43,7 @@
+ #endif
+ 
+ #ifdef HAVE_SCHED_H
++#define _WITH_CPU_SET_T
+ #include <sched.h>
+ #endif
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111231043.1ANAh7o4032333>