From abadde4a38064238668e8a374e6d6014932536ec Mon Sep 17 00:00:00 2001
From: mirabilos <m@mirbsd.org>
Date: Thu, 4 Oct 2018 18:03:20 +0200
Subject: [PATCH] ensure unicodedomino_compat.def is loaded before the others

rationale: in it, we can check for macro existence and load
other macros depending on it, while in the others we replace
upstream-provided or undefined macros sometimes
---
 unicodedomino.sty | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/unicodedomino.sty b/unicodedomino.sty
index 1467868..610bb09 100644
--- a/unicodedomino.sty
+++ b/unicodedomino.sty
@@ -38,6 +38,9 @@
  \PackageError{unicodedomino}{This package requires UTF-8 input encoding}%
 \fi%
 
+% pull compatibility code for users of older base/utf8ienc.dtx
+\input{unicodedomino_compat.def}%
+
 % pull code from other files
 \ifx\UTFviii@check@three\@undefined%
  \input{unicodedomino_kernel_fixup_f4_and_checkseq.def}%
@@ -46,7 +49,6 @@
  \input{unicodedomino_kernel_better_decode.def}%
 \fi%
 \input{unicodedomino_kernel_cosmetics.def}%
-\input{unicodedomino_compat.def}%
 
 % retrieve the last octet
 \def\unicodedomino@last#1{%
-- 
GitLab