--- /dev/null
+From ce1a2416ce0f0bd9a8a8a5caaf7dad20cda4d47d Mon Sep 17 00:00:00 2001
+From: Andrew Oakley <aoakley@espial.com>
+Date: Tue, 29 Apr 2014 13:14:35 +0100
+Subject: Strip system library directories reliably
+
+This loop was changed from a while loop to a for loop in commit
+9bf6277b, but the iterator is now advanced twice each time round the
+loop.
+
+diff --git a/pkg.c b/pkg.c
+index 3697fec..c847c95 100644
+--- a/pkg.c
++++ b/pkg.c
+@@ -917,7 +917,6 @@ verify_package (Package *pkg)
+ }
+ system_dir_iter = system_dir_iter->next;
+ }
+- iter = iter->next;
+ }
+ g_list_free (system_directories);
+
+--
+cgit v0.10.2
+
Summary(uk.UTF-8): Інструмент для визначення опцій компіляції
Name: pkgconfig
Version: 0.28
-Release: 1
+Release: 2
Epoch: 1
License: GPL v2+
Group: Development/Tools
Source0: http://pkgconfig.freedesktop.org/releases/pkg-config-%{version}.tar.gz
# Source0-md5: aa3c86e67551adc3ac865160e34a2a0d
+Patch0: %{name}-strip-loop.patch
URL: http://pkgconfig.freedesktop.org/wiki/
BuildRequires: autoconf >= 2.62
BuildRequires: automake >= 1:1.11
%prep
%setup -q -n pkg-config-%{version}
+%patch0 -p1
%build
%{__libtoolize}