From 51f216c39dfed7fbcb5db34e84cbae61fe8fa242 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha <jeremy.bi...@canonical.com>
Date: Mon, 22 Aug 2022 19:00:13 -0400
Subject: [PATCH] Don't build with LERC on i386

Closes: #1017958
---
 debian/control          | 4 ++--
 debian/libtiff5.symbols | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index bc1ee09..5670383 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Build-Depends: debhelper-compat (= 13),
                libxi-dev,
                zlib1g-dev,
                libdeflate-dev,
-               liblerc-dev [!s390x !hppa !powerpc !ppc64 !sparc64]
+               liblerc-dev [!s390x !hppa !powerpc !ppc64 !sparc64 !i386]
 Standards-Version: 4.5.1
 Homepage: https://libtiff.gitlab.io/libtiff/
 Rules-Requires-Root: no
@@ -53,7 +53,7 @@ Depends: libc6-dev | libc-dev,
          libtiffxx5 (= ${binary:Version}),
          zlib1g-dev,
          libdeflate-dev,
-         liblerc-dev [!s390x !hppa !powerpc !ppc64 !sparc64],
+         liblerc-dev [!s390x !hppa !powerpc !ppc64 !sparc64 !i386],
          ${misc:Depends}
 Replaces: libtiff4-dev (<< 4.0.3-6~),
           libtiff5-alt-dev (<< 4.0.3-6~),
diff --git a/debian/libtiff5.symbols b/debian/libtiff5.symbols
index 872e04f..e3064b9 100644
--- a/debian/libtiff5.symbols
+++ b/debian/libtiff5.symbols
@@ -90,7 +90,7 @@ libtiff.so.5 libtiff5 #MINVER#
  TIFFInitDumpMode@LIBTIFF_4.0 4.0.3
  TIFFInitJBIG@LIBTIFF_4.0 4.0.3
  TIFFInitJPEG@LIBTIFF_4.0 4.0.3
- (arch=!s390x !hppa !powerpc !ppc64 !sparc64)TIFFInitLERC@LIBTIFF_4.0 4.4.0
+ (arch=!s390x !hppa !powerpc !ppc64 !sparc64 !i386)TIFFInitLERC@LIBTIFF_4.0 4.4.0
  TIFFInitLZMA@LIBTIFF_4.0 4.0.3
  TIFFInitLZW@LIBTIFF_4.0 4.0.3
  TIFFInitNeXT@LIBTIFF_4.0 4.0.3
-- 
2.36.1

Reply via email to