summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-24 12:05:05 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-24 12:05:05 +0200
commitc82e831e8fac47a35ae3bda865087e6f8d8a9074 (patch)
tree584e4f5c7b85a7129d62b73f1a42f48fc967c1f9
parent3a68ba3e4962f017f8575ef98fb387d0ca527d40 (diff)
gd: 2.2.2
-rw-r--r--gd-2.2.1-fix-unused-variable-in-tests.patch22
-rw-r--r--gd.spec13
2 files changed, 9 insertions, 26 deletions
diff --git a/gd-2.2.1-fix-unused-variable-in-tests.patch b/gd-2.2.1-fix-unused-variable-in-tests.patch
deleted file mode 100644
index 837bca8..0000000
--- a/gd-2.2.1-fix-unused-variable-in-tests.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 7d0d9d2a4f8e48f19e1603c649d4f15d0b9736de Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= <ondrej@sury.org>
-Date: Fri, 20 May 2016 10:44:33 +0200
-Subject: [PATCH] Fix error: unused variable in tests/
-
----
- tests/gdimagesetpixel/gdeffectoverlay.c | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/tests/gdimagesetpixel/gdeffectoverlay.c b/tests/gdimagesetpixel/gdeffectoverlay.c
-index 5e42547..7f63e17 100644
---- a/tests/gdimagesetpixel/gdeffectoverlay.c
-+++ b/tests/gdimagesetpixel/gdeffectoverlay.c
-@@ -5,8 +5,6 @@ int main()
- {
- gdImagePtr im;
- int x, y, c;
-- FILE *out;
-- char path[1024];
- int r=0;
-
-
diff --git a/gd.spec b/gd.spec
index 50a3225..9490d41 100644
--- a/gd.spec
+++ b/gd.spec
@@ -24,8 +24,8 @@ Name: gd
%else
Name: gd-last
%endif
-Version: 2.2.1
-Release: 2%{?prever}%{?short}%{?dist}
+Version: 2.2.2
+Release: 1%{?prever}%{?short}%{?dist}
Group: System Environment/Libraries
License: MIT
URL: http://libgd.github.io/
@@ -39,7 +39,6 @@ Source0: https://github.com/libgd/libgd/releases/download/gd-%{version}/li
Patch1: gd-2.1.0-multilib.patch
Patch2: gd-2.2.1-initialize-full_filename.patch
-Patch3: gd-2.2.1-fix-unused-variable-in-tests.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: freetype-devel
@@ -121,7 +120,6 @@ files for gd, a graphics library for creating PNG and JPEG graphics.
%setup -q -n libgd-%{version}%{?prever:-%{prever}}
%patch1 -p1 -b .mlib
%patch2 -p1 -b .full_filename
-%patch3 -p1 -b .unused-variable
: $(perl config/getver.pl)
@@ -169,6 +167,10 @@ export XFAIL_TESTS="freetype/bug00132"
%endif
%if 0%{?rhel} > 0 && 0%{?rhel} <= 5
export XFAIL_TESTS="gdimagestringft/gdimagestringft_bbox $XFAIL_TESTS"
+%else
+%ifnarch x86_64
+export XFAIL_TESTS="gdimagerotate/bug00067 $XFAIL_TESTS"
+%endif
%endif
: Upstream test suite
@@ -204,6 +206,9 @@ grep %{version} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdlib.pc
%changelog
+* Fri Jun 24 2016 Remi Collet <remi@fedoraproject.org> - 2.2.2-1
+- Update to 2.2.2
+
* Sat May 28 2016 Remi Collet <remi@fedoraproject.org> - 2.2.1-2
- Update to 2.2.1 (from Fedora)
- remove unneeded sources