diff options
Diffstat (limited to 'dev-util/pkgconfig-openbsd/files/pkgconfig-openbsd-20130507-zap-warning.patch')
-rw-r--r-- | dev-util/pkgconfig-openbsd/files/pkgconfig-openbsd-20130507-zap-warning.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-util/pkgconfig-openbsd/files/pkgconfig-openbsd-20130507-zap-warning.patch b/dev-util/pkgconfig-openbsd/files/pkgconfig-openbsd-20130507-zap-warning.patch new file mode 100644 index 000000000000..41784c919e19 --- /dev/null +++ b/dev-util/pkgconfig-openbsd/files/pkgconfig-openbsd-20130507-zap-warning.patch @@ -0,0 +1,19 @@ +Use of $_ produces warnings which can cause build failures in certain consumers. + +Backported from revision 1.4 upstream (http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/pkg-config/OpenBSD/PkgConfig.pm). + +Gentoo-bug: 538012 +Gentoo-bug: 545314 +Gentoo-bug: 545322 +Gentoo-bug: 545962 + +--- a/src/usr.bin/pkg-config/OpenBSD/PkgConfig.pm ++++ b/src/usr.bin/pkg-config/OpenBSD/PkgConfig.pm +@@ -91,7 +91,6 @@ + { + my ($class, $fh, $name) = @_; + my $cfg = $class->new; +- my $_; + + $name = '' if !defined $name; + while (<$fh>) { |