rebuild geeqie
[oi-userland.git] / components / image / graphviz / patches / 01-fix-lock_t.patch
blob72ff0fa3da45b7bb1d4463bd019a66fdce9210e3
1 /usr/include/sys/machtypes.h has a conflicting definition of lock_t.
3 --- graphviz-12.2.0/lib/gvpr/actions.c.orig 2024-11-03 20:33:36.000000000 +0100
4 +++ graphviz-12.2.0/lib/gvpr/actions.c 2024-11-06 23:22:20.779498850 +0100
5 @@ -502,7 +502,7 @@
6 if (data->lock.zombie)
7 agclose(g);
8 else
9 - data->lock = (lock_t){0};
10 + data->lock = (gvpr_lock_t){0};
12 return oldv;
14 --- graphviz-12.2.0/lib/gvpr/compile.h.orig 2024-11-03 20:33:36.000000000 +0100
15 +++ graphviz-12.2.0/lib/gvpr/compile.h 2024-11-06 23:29:37.207415511 +0100
16 @@ -38,11 +38,11 @@
17 typedef struct {
18 bool locked: 1; ///< is the lock currently taken?
19 bool zombie: 1; ///< was a deletion request recorded while locked?
20 -} lock_t;
21 +} gvpr_lock_t;
23 typedef struct {
24 Agrec_t h;
25 - lock_t lock;
26 + gvpr_lock_t lock;
27 } gval_t;
29 typedef struct {