summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gd.spec10
1 files changed, 10 insertions, 0 deletions
diff --git a/gd.spec b/gd.spec
index 0ee4a0c..878a151 100644
--- a/gd.spec
+++ b/gd.spec
@@ -14,6 +14,13 @@
%global with_webp 1
+# requested by https://bugzilla.redhat.com/1468338
+# this break gdimagefile/gdnametest:
+# gdimagefile/gdnametest.c:122: 255 pixels different on /tmp/gdtest.CrpdIb/img.gif
+# gdimagefile/gdnametest.c:122: 255 pixels different on /tmp/gdtest.CrpdIb/img.GIF
+# FAIL gdimagefile/gdnametest (exit status: 2)
+%global with_liq 0
+
Summary: A graphics library for quick creation of PNG or JPEG images
%if 0%{?fedora} >= 20
Name: gd
@@ -44,6 +51,9 @@ BuildRequires: libtiff-devel
%if %{with_webp}
BuildRequires: libwebp-devel
%endif
+%if %{with_liq}
+BuildRequires: libimagequant-devel
+%endif
BuildRequires: libX11-devel
BuildRequires: libXpm-devel
BuildRequires: zlib-devel