]> git.pld-linux.org Git - packages/binutils.git/commitdiff
- rel 4; make gold ignore -Lfile auto/th/binutils-2_21_52_0_2-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 3 Jul 2011 06:18:39 +0000 (06:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    binutils-git.patch -> 1.1
    binutils.spec -> 1.347

binutils-git.patch [new file with mode: 0644]
binutils.spec

diff --git a/binutils-git.patch b/binutils-git.patch
new file mode 100644 (file)
index 0000000..dd846fb
--- /dev/null
@@ -0,0 +1,22 @@
+commit 561198ab2fa5a09661e1570d1d463d8079814432
+Author: Ian Lance Taylor <ian@airs.com>
+Date:   Sun Jul 3 04:16:13 2011 +0000
+
+       * dirsearch.cc (Dir_cache::read_files): Ignore ENOTDIR errors.
+
+diff --git a/gold/dirsearch.cc b/gold/dirsearch.cc
+index a149db5..1ae2055 100644
+--- a/gold/dirsearch.cc
++++ b/gold/dirsearch.cc
+@@ -66,8 +66,9 @@ Dir_cache::read_files()
+   DIR* d = opendir(this->dirname_);
+   if (d == NULL)
+     {
+-      // We ignore directories which do not exist.
+-      if (errno != ENOENT)
++      // We ignore directories which do not exist or are actually file
++      // names.
++      if (errno != ENOENT && errno != ENOTDIR)
+       gold::gold_error(_("%s: can not read directory: %s"),
+                        this->dirname_, strerror(errno));
+       return;
index d0be750b32eb2b5fba284e48d659c527406d5066..51319eaba930279785f023c1637e5d127f7d6f5a 100644 (file)
@@ -17,7 +17,7 @@ Summary(tr.UTF-8):    GNU geliştirme araçları
 Summary(uk.UTF-8):     Набір інструментів GNU для побудови виконуваних програм
 Name:          binutils
 Version:       2.21.52.0.2
-Release:       3
+Release:       4
 Epoch:         3
 License:       GPL v3+
 Group:         Development/Tools
@@ -34,6 +34,7 @@ Patch6:               %{name}-absolute-gnu_debuglink-path.patch
 Patch7:                %{name}-libtool-m.patch
 Patch8:                %{name}-build-id.patch
 Patch9:                %{name}-tooldir.patch
+Patch10:       %{name}-git.patch
 URL:           http://sources.redhat.com/binutils/
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.11
@@ -154,6 +155,7 @@ niektórych pakietów.
 %patch7 -p1
 %patch8 -p0
 %patch9 -p1
+%patch10 -p1
 
 # file contains hacks for ac 2.59 only
 %{__rm} config/override.m4
This page took 0.049344 seconds and 4 git commands to generate.