[OpenIndiana-discuss] A patch for TeXLive

Apostolos Syropoulos asyropoulos at yahoo.com
Tue Jan 4 10:38:14 UTC 2022


Hello,
I am trying to comlile thr TeXLive sourcetree and a certain point compilationstops because the source code definesa struct that is called label_t. Nowthere is a struct definition in machtypes.h:>>
>>             30 #if (!defined(_POSIX_C_SOURCE) &&
>>         !defined(_XOPEN_SOURCE)) || \
>>             31  defined(__EXTENSIONS__)
>>             32
>>             33 typedef  struct  _label_t { long val[2]; } label_t;
>>             34
>>             35 #endif /* !defined(_POSIX_C_SOURCE)...
I proposed the following patch:
 #ifdef __sun
#define _XOPEN_SOURCE#endif

but someone objected that 
> Not a patch we should install. That will have who-knows-what-effect on
> who-knows-how-many systems, not just Apostolos (who runs OpenIndiana,
> which no one else does). As I said, renaming your label_t identifier is
> the way to go, IMHO.

The question is: What do you suggest to do?
Best wishes for the new year
Apostolos

Στάλθηκε από το Ταχυδρομείο Yahoo σε Android


More information about the openindiana-discuss mailing list