elfutils: bump to 0.169
[openwrt/openwrt.git] / package / libs / elfutils / patches / 003-libint-stub.patch
1 Index: elfutils-0.169/libelf/libelfP.h
2 ===================================================================
3 --- elfutils-0.169.orig/libelf/libelfP.h
4 +++ elfutils-0.169/libelf/libelfP.h
5 @@ -39,6 +39,9 @@
6 #include <stdio.h>
7 #include <string.h>
8
9 +#ifdef _ /* fix libintl-stub */
10 +#undef _
11 +#endif
12 /* gettext helper macros. */
13 #define _(Str) dgettext ("elfutils", Str)
14
15 Index: elfutils-0.169/libdw/libdwP.h
16 ===================================================================
17 --- elfutils-0.169.orig/libdw/libdwP.h
18 +++ elfutils-0.169/libdw/libdwP.h
19 @@ -36,7 +36,9 @@
20 #include <libdw.h>
21 #include <dwarf.h>
22
23 -
24 +#ifdef _ /* fix libintl-stub */
25 +#undef _
26 +#endif
27 /* gettext helper macros. */
28 #define _(Str) dgettext ("elfutils", Str)
29
30 Index: elfutils-0.169/libdwfl/libdwflP.h
31 ===================================================================
32 --- elfutils-0.169.orig/libdwfl/libdwflP.h
33 +++ elfutils-0.169/libdwfl/libdwflP.h
34 @@ -43,6 +43,9 @@
35
36 typedef struct Dwfl_Process Dwfl_Process;
37
38 +#ifdef _ /* fix libintl-stub */
39 +#undef _
40 +#endif
41 /* gettext helper macros. */
42 #define _(Str) dgettext ("elfutils", Str)
43
44 Index: elfutils-0.169/libasm/libasmP.h
45 ===================================================================
46 --- elfutils-0.169.orig/libasm/libasmP.h
47 +++ elfutils-0.169/libasm/libasmP.h
48 @@ -35,6 +35,9 @@
49
50 #include "libdwelf.h"
51
52 +#ifdef _ /* fix libintl-stub */
53 +#undef _
54 +#endif
55 /* gettext helper macros. */
56 #define _(Str) dgettext ("elfutils", Str)
57