summaryrefslogtreecommitdiff
path: root/app-arch/sharutils/files/sharutils-4.15.2-C23.patch
blob: e27ce8ab9b8eec36ac63500a6b13c4d5ce8f7ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
https://bugs.gentoo.org/900248
https://bugs.gentoo.org/894322
missing include for textdomain and bindtextdomain
This is only one place we can put include, else weird
macro dance messes with it or we use gettext before we
mark it for assembly operations.
--- a/src/shar-opts.h
+++ b/src/shar-opts.h
@@ -373,6 +373,8 @@
 #     include <libintl.h>
 #   endif
 
+#include "gettext.h"
+
 # ifndef ATTRIBUTE_FORMAT_ARG
 #   define ATTRIBUTE_FORMAT_ARG(_a)
 # endif
--- a/src/unshar-opts.h
+++ b/src/unshar-opts.h
@@ -210,6 +210,8 @@
 #     include <libintl.h>
 #   endif
 
+#include "gettext.h"
+
 # ifndef ATTRIBUTE_FORMAT_ARG
 #   define ATTRIBUTE_FORMAT_ARG(_a)
 # endif
--- a/src/uudecode-opts.h
+++ b/src/uudecode-opts.h
@@ -188,6 +188,8 @@
 #     include <libintl.h>
 #   endif
 
+#include "gettext.h"
+
 # ifndef ATTRIBUTE_FORMAT_ARG
 #   define ATTRIBUTE_FORMAT_ARG(_a)
 # endif
--- a/src/uuencode-opts.h
+++ b/src/uuencode-opts.h
@@ -184,6 +184,8 @@
 #     include <libintl.h>
 #   endif
 
+#include "gettext.h"
+
 # ifndef ATTRIBUTE_FORMAT_ARG
 #   define ATTRIBUTE_FORMAT_ARG(_a)
 # endif