Re: [MacPorts] #57333: xorg-server-devel @1.20.1 does not build on Mac OS X 10.5.8, Leopard, because of redefinition of typedef ‘CARD32’
MacPorts
noreply at macports.org
Tue Oct 9 22:51:36 UTC 2018
#57333: xorg-server-devel @1.20.1 does not build on Mac OS X 10.5.8, Leopard,
because of redefinition of typedef ‘CARD32’
--------------------------------+----------------------
Reporter: ballapete | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: leopard
Port: xorg-server-devel |
--------------------------------+----------------------
Comment (by ballapete):
`xpr/x-list.h` has:
{{{
31 #ifndef X_LIST_H
32 #define X_LIST_H 1
33
34 /* This is just a cons. */
35
36 typedef struct x_list_struct x_list;
37
38 struct x_list_struct {
39 void *data;
40 x_list *next;
41 };
42
43 #ifndef X_PFX
44 #define X_PFX(x) x_ ## x
45 #endif
46
47 #ifndef X_EXTERN
48 #define X_EXTERN __private_extern__
49 #endif
50
51 X_EXTERN void X_PFX(list_free_1) (x_list * node);
52 X_EXTERN x_list *X_PFX(list_prepend) (x_list * lst, void *data);
53
54 X_EXTERN x_list *X_PFX(list_append) (x_list * lst, void *data);
55 X_EXTERN x_list *X_PFX(list_remove) (x_list * lst, void *data);
56 X_EXTERN void X_PFX(list_free) (x_list * lst);
57 X_EXTERN x_list *X_PFX(list_pop) (x_list * lst, void **data_ret);
58
59 X_EXTERN x_list *X_PFX(list_copy) (x_list * lst);
60 X_EXTERN x_list *X_PFX(list_reverse) (x_list * lst);
61 X_EXTERN x_list *X_PFX(list_find) (x_list * lst, void *data);
62 X_EXTERN x_list *X_PFX(list_nth) (x_list * lst, int n);
63 X_EXTERN x_list *X_PFX(list_filter) (x_list * src,
64 int (*pred)(void *item, void
*data),
65 void *data);
66 X_EXTERN x_list *X_PFX(list_map) (x_list * src,
67 void *(*fun)(void *item, void
*data),
68 void *data);
69
70 X_EXTERN unsigned int X_PFX(list_length) (x_list * lst);
71 X_EXTERN void X_PFX(list_foreach) (x_list * lst, void (*fun)
72 (void *data, void *user_data),
73 void *user_data);
74
75 X_EXTERN x_list *X_PFX(list_sort) (x_list * lst,
76 int (*less)(const void *, const
void *));
77
78 #endif /* X_LIST_H */
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57333#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list