From ad10c2517d621b9abf2536a9727dd92e69d6c927 Mon Sep 17 00:00:00 2001 From: cage Date: Sun, 3 Jan 2021 19:29:16 +0100 Subject: [PATCH] - removed IDN2_ALABEL_ROUNDTRIP_FAILED from grovel file for libidn2 This value has been added lately to the C library and some system (reportedly: Debian Buster) ships an old version of the library without this enumeration's value. I am commenting out the code, preventing grovel to process it for now. --- src/grovel-idn.lisp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/grovel-idn.lisp b/src/grovel-idn.lisp index fcb5f12..7028ed0 100644 --- a/src/grovel-idn.lisp +++ b/src/grovel-idn.lisp @@ -30,8 +30,11 @@ ((:bidi "IDN2_BIDI")) ((:dot-in-label "IDN2_DOT_IN_LABEL")) ((:invalid-transitional "IDN2_INVALID_TRANSITIONAL")) - ((:invalid-nontransitional "IDN2_INVALID_NONTRANSITIONAL")) - ((:alabel-roundtrip-failed "IDN2_ALABEL_ROUNDTRIP_FAILED"))) + ((:invalid-nontransitional "IDN2_INVALID_NONTRANSITIONAL"))) + +;;; this value does not exists for old version of the library, removing +;;; to allow compilation on old system +;; ((:alabel-roundtrip-failed "IDN2_ALABEL_ROUNDTRIP_FAILED"))) (cenum (flags) ((:nfc-input "IDN2_NFC_INPUT"))