Skip to content

Commit

Permalink
fix missing include of string in binutils older than 2.33
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Dusart <nicolas@freedelity.be>
  • Loading branch information
ndusart committed Jun 17, 2020
1 parent 5659366 commit ab3497e
Show file tree
Hide file tree
Showing 10 changed files with 260 additions and 0 deletions.
@@ -0,0 +1,26 @@
From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Fri, 7 Jun 2019 07:36:52 +0200
Subject: [PATCH] Fix a missing include of <string>

gold/ChangeLog:

2019-06-07 Martin Liska <mliska@suse.cz>

* errors.h: Include string.
---
gold/errors.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/gold/errors.h b/gold/errors.h
index 1e61c8dbb5..805b25fc9c 100644
--- a/gold/errors.h
+++ b/gold/errors.h
@@ -24,6 +24,7 @@
#define GOLD_ERRORS_H

#include <cstdarg>
+#include <string>

#include "gold-threads.h"

26 changes: 26 additions & 0 deletions packages/binutils/2.24/0025-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Fri, 7 Jun 2019 07:36:52 +0200
Subject: [PATCH] Fix a missing include of <string>

gold/ChangeLog:

2019-06-07 Martin Liska <mliska@suse.cz>

* errors.h: Include string.
---
gold/errors.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/gold/errors.h b/gold/errors.h
index 1e61c8dbb5..805b25fc9c 100644
--- a/gold/errors.h
+++ b/gold/errors.h
@@ -24,6 +24,7 @@
#define GOLD_ERRORS_H

#include <cstdarg>
+#include <string>

#include "gold-threads.h"

@@ -0,0 +1,26 @@
From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Fri, 7 Jun 2019 07:36:52 +0200
Subject: [PATCH] Fix a missing include of <string>

gold/ChangeLog:

2019-06-07 Martin Liska <mliska@suse.cz>

* errors.h: Include string.
---
gold/errors.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/gold/errors.h b/gold/errors.h
index 1e61c8dbb5..805b25fc9c 100644
--- a/gold/errors.h
+++ b/gold/errors.h
@@ -24,6 +24,7 @@
#define GOLD_ERRORS_H

#include <cstdarg>
+#include <string>

#include "gold-threads.h"

@@ -0,0 +1,26 @@
From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Fri, 7 Jun 2019 07:36:52 +0200
Subject: [PATCH] Fix a missing include of <string>

gold/ChangeLog:

2019-06-07 Martin Liska <mliska@suse.cz>

* errors.h: Include string.
---
gold/errors.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/gold/errors.h b/gold/errors.h
index 1e61c8dbb5..805b25fc9c 100644
--- a/gold/errors.h
+++ b/gold/errors.h
@@ -24,6 +24,7 @@
#define GOLD_ERRORS_H

#include <cstdarg>
+#include <string>

#include "gold-threads.h"

26 changes: 26 additions & 0 deletions packages/binutils/2.27/0012-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Fri, 7 Jun 2019 07:36:52 +0200
Subject: [PATCH] Fix a missing include of <string>

gold/ChangeLog:

2019-06-07 Martin Liska <mliska@suse.cz>

* errors.h: Include string.
---
gold/errors.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/gold/errors.h b/gold/errors.h
index 1e61c8dbb5..805b25fc9c 100644
--- a/gold/errors.h
+++ b/gold/errors.h
@@ -24,6 +24,7 @@
#define GOLD_ERRORS_H

#include <cstdarg>
+#include <string>

#include "gold-threads.h"

@@ -0,0 +1,26 @@
From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Fri, 7 Jun 2019 07:36:52 +0200
Subject: [PATCH] Fix a missing include of <string>

gold/ChangeLog:

2019-06-07 Martin Liska <mliska@suse.cz>

* errors.h: Include string.
---
gold/errors.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/gold/errors.h b/gold/errors.h
index 1e61c8dbb5..805b25fc9c 100644
--- a/gold/errors.h
+++ b/gold/errors.h
@@ -24,6 +24,7 @@
#define GOLD_ERRORS_H

#include <cstdarg>
+#include <string>

#include "gold-threads.h"

@@ -0,0 +1,26 @@
From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Fri, 7 Jun 2019 07:36:52 +0200
Subject: [PATCH] Fix a missing include of <string>

gold/ChangeLog:

2019-06-07 Martin Liska <mliska@suse.cz>

* errors.h: Include string.
---
gold/errors.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/gold/errors.h b/gold/errors.h
index 1e61c8dbb5..805b25fc9c 100644
--- a/gold/errors.h
+++ b/gold/errors.h
@@ -24,6 +24,7 @@
#define GOLD_ERRORS_H

#include <cstdarg>
+#include <string>

#include "gold-threads.h"

26 changes: 26 additions & 0 deletions packages/binutils/2.30/0009-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Fri, 7 Jun 2019 07:36:52 +0200
Subject: [PATCH] Fix a missing include of <string>

gold/ChangeLog:

2019-06-07 Martin Liska <mliska@suse.cz>

* errors.h: Include string.
---
gold/errors.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/gold/errors.h b/gold/errors.h
index 1e61c8dbb5..805b25fc9c 100644
--- a/gold/errors.h
+++ b/gold/errors.h
@@ -24,6 +24,7 @@
#define GOLD_ERRORS_H

#include <cstdarg>
+#include <string>

#include "gold-threads.h"

@@ -0,0 +1,26 @@
From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Fri, 7 Jun 2019 07:36:52 +0200
Subject: [PATCH] Fix a missing include of <string>

gold/ChangeLog:

2019-06-07 Martin Liska <mliska@suse.cz>

* errors.h: Include string.
---
gold/errors.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/gold/errors.h b/gold/errors.h
index 1e61c8dbb5..805b25fc9c 100644
--- a/gold/errors.h
+++ b/gold/errors.h
@@ -24,6 +24,7 @@
#define GOLD_ERRORS_H

#include <cstdarg>
+#include <string>

#include "gold-threads.h"

26 changes: 26 additions & 0 deletions packages/binutils/2.32/0009-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Fri, 7 Jun 2019 07:36:52 +0200
Subject: [PATCH] Fix a missing include of <string>

gold/ChangeLog:

2019-06-07 Martin Liska <mliska@suse.cz>

* errors.h: Include string.
---
gold/errors.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/gold/errors.h b/gold/errors.h
index 1e61c8dbb5..805b25fc9c 100644
--- a/gold/errors.h
+++ b/gold/errors.h
@@ -24,6 +24,7 @@
#define GOLD_ERRORS_H

#include <cstdarg>
+#include <string>

#include "gold-threads.h"

0 comments on commit ab3497e

Please sign in to comment.