]> git.pld-linux.org Git - packages/pkgconfig.git/blob - pkgconfig-strip-loop.patch
- added strip-loop patch (system dirs stripping fix; testcase: pkg-config --libs...
[packages/pkgconfig.git] / pkgconfig-strip-loop.patch
1 From ce1a2416ce0f0bd9a8a8a5caaf7dad20cda4d47d Mon Sep 17 00:00:00 2001
2 From: Andrew Oakley <aoakley@espial.com>
3 Date: Tue, 29 Apr 2014 13:14:35 +0100
4 Subject: Strip system library directories reliably
5
6 This loop was changed from a while loop to a for loop in commit
7 9bf6277b, but the iterator is now advanced twice each time round the
8 loop.
9
10 diff --git a/pkg.c b/pkg.c
11 index 3697fec..c847c95 100644
12 --- a/pkg.c
13 +++ b/pkg.c
14 @@ -917,7 +917,6 @@ verify_package (Package *pkg)
15              }
16            system_dir_iter = system_dir_iter->next;
17          }
18 -      iter = iter->next;
19      }
20    g_list_free (system_directories);
21  
22 -- 
23 cgit v0.10.2
24
This page took 0.079232 seconds and 3 git commands to generate.