Project

General

Profile

Support #32425

Improve build compatibility across platforms

Added by Joao Costa 4 months ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Category:
Core
Target version:
-
Start date:
17 Apr 2019
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

Description

The patches attached to this issue are based on the patches available in the pkgsrc system ( https://github.com/NetBSD/pkgsrc/tree/pkgsrc-2019Q1/security/lasso/patches ). They improve the ability to build lasso on different platforms.

In the configure script, "test(1)" is called with a "==". From the test manpage(https://linux.die.net/man/1/test), the standard string comparison operator in test is "=" and not "==", and although "==" works with the most commonly used systems, "=" gives better compatibility.

On lasso/xml/tools.c, _XOPEN_SOURCE is defined. This fails on sun.

patch-lasso_xml_tools.c View - Set _XOPEN_SOURCE correctly. (405 Bytes) Joao Costa, 17 Apr 2019 03:57 PM

patch-configure - Use = instead of == for test(1) portability sake. (275 Bytes) Joao Costa, 17 Apr 2019 04:08 PM

Also available in: Atom PDF