Projet

Général

Profil

Support #32425

Improve build compatibility across platforms

Ajouté par Joao Costa il y a environ 5 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
Core
Version cible:
Début:
17 avril 2019
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

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.


Fichiers

patch-lasso_xml_tools.c (405 octets) patch-lasso_xml_tools.c Set _XOPEN_SOURCE correctly. Joao Costa, 17 avril 2019 15:57
patch-configure (275 octets) patch-configure Use = instead of == for test(1) portability sake. Joao Costa, 17 avril 2019 16:08

Révisions associées

Révision 84bc5b48 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 4 ans

Improve compatibility with Solaris (#32425)

Révision caecf46b (diff)
Ajouté par Benjamin Dauvergne il y a plus de 4 ans

Improve configure compatibility (#32425)

Historique

#1

Mis à jour par Benjamin Dauvergne il y a plus de 4 ans

  • Assigné à mis à Benjamin Dauvergne
#2

Mis à jour par Benjamin Dauvergne il y a plus de 4 ans

  • Version cible mis à 2.6.1
#3

Mis à jour par Benjamin Dauvergne il y a plus de 4 ans

  • Statut changé de Nouveau à Résolu (à déployer)
commit caecf46be47f712893046a7c6ac1ac9cbbc11779
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Fri Sep 6 14:43:31 2019 +0200

    Improve configure compatibility (#32425)

commit 84bc5b48d3094cd6d69c562eb70e62dd7c81d796
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Fri Sep 6 14:42:44 2019 +0200

    Improve compatibility with Solaris (#32425)
#4

Mis à jour par Benjamin Dauvergne il y a environ 4 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF