summaryrefslogtreecommitdiffstats
path: root/patches/binutils-2.18/generic/gentoo/07_all_binutils-2.18-windres.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/binutils-2.18/generic/gentoo/07_all_binutils-2.18-windres.patch')
-rw-r--r--patches/binutils-2.18/generic/gentoo/07_all_binutils-2.18-windres.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/patches/binutils-2.18/generic/gentoo/07_all_binutils-2.18-windres.patch b/patches/binutils-2.18/generic/gentoo/07_all_binutils-2.18-windres.patch
deleted file mode 100644
index 476aefd..0000000
--- a/patches/binutils-2.18/generic/gentoo/07_all_binutils-2.18-windres.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-http://sourceware.org/bugzilla/show_bug.cgi?id=4987
-
----
- binutils/resrc.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: binutils-2.18/binutils/resrc.c
-===================================================================
---- binutils-2.18.orig/binutils/resrc.c
-+++ binutils-2.18/binutils/resrc.c
-@@ -437,7 +437,7 @@ read_rc_file (const char *filename, cons
- const char *fnquotes = (filename_need_quotes (filename) ? "\"" : "");
-
- /* Setup the default resource import path taken from input file. */
-- if (strchr (filename, '/') != NULL || strchr (filename, '\\') != NULL)
-+ if (filename != NULL && (strchr (filename, '/') != NULL || strchr (filename, '\\') != NULL))
- {
- char *e, *c;
-